Read Skill File
skill-resourceRead files referenced by skill instructions, such as scripts, snippets, and templates. Pass a directory path to read all files at once; binary files return as base64 resources.
Instructions
Read files referenced by skill instructions (scripts, snippets, templates). Use when skill instructions mention specific files to read or copy. Pass a directory path (e.g., 'templates') to read all files in that directory at once. Text files are returned as text; a binary file is returned as an embedded base64 resource.
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": "<skill>",
"path": "<path>"
},
"name": "skill-resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path to file or directory. Examples: 'snippets/tool.ts' (single file), 'templates' (all files in directory), '' (list available files). | |
| skill | Yes | Skill name |