read_skill_file
Read supporting files (scripts, configs) from a skill's directory by supplying the skill name and file path, enabling agents to obtain the resources needed for skill execution.
Instructions
Read a supporting file from a skill's directory.
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_name": "<skill_name>",
"file_path": "<file_path>"
},
"name": "read_skill_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the file relative to the skill directory (e.g. "scripts/extract.py"). | |
| skill_name | Yes | The name of the skill that owns the file. | |
| project_roots | No | Optional list of project root directories to scan. Same behavior as in list_skills. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |