get_skill_file
Fetch a single file from a skill version's file tree by path.
path must exactly match a row in the skill's file manifest
(use get_skill to see the manifest). SKILL.md returns
the skill body. Text files return the decoded string in
content. Small binary files return base64-encoded bytes in
content_base64. Binary files over the size limit return metadata
and an error field with no inline bytes. Requires view access on
the skill.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"skill_id": "<skill_id>",
"path": "<path>"
},
"name": "get_skill_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path of the file within the bundle's file tree, exactly matching a manifest entry. | |
| version | No | Pin to a specific version number; omit to use the latest version. | |
| skill_id | Yes | The skill to act on, identified by its UUID, slug, or name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||