Read a skill file
read_skill_fileReads one supporting file of a skill by its skill:// URI (from get_skill's files list). Images come back base64-encoded.
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": {
"uri": "<uri>"
},
"name": "read_skill_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | The file's skill:// URI, as listed by get_skill. | |
| version | No | A version from list_skill_versions; omitted = the latest (or the one the drama pins) | |
| drama_id | No | Read the version this drama pins (get_drama_context lists its skills) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | ||
| mime | Yes | ||
| content | Yes | ||
| version | Yes | ||
| encoding | Yes |