POST
/v1/tools/open_skillfreeOpen a skill
A skill's instructions, by its name, free: its SKILL.md, and the files beside it by path. Follow the instructions; when they point to a file (references/checks.md), open it by giving its path as file.
Fields
| Field | Type | Default | What it is |
|---|---|---|---|
name | string | Required | The skill's name, as list_skills gives it |
file | string | None | A file of the skill by its path, references/checks.md; its SKILL.md if left out |
Call it
Request
curl -X POST https://app.scrub.app/v1/tools/open_skill \
-H "Authorization: Bearer $SCRUB_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"…"}'Answer
{
"ok": true,
"result": {
"…": "…"
}
}What result holds is said above.
Every call can also answer an error: what comes back. Try it with your key from Account.