read_skill_file
Retrieve a specific reference or data file from a skill when a step needs it, with paginated content, cursor support, and SHA-256 verification.
Instructions
Return one reference or data file of a skill (e.g. "reference/keyword-pipeline.md", "data/verify_row.py").
A skill keeps long documents and scripts in separate files so they're read only when a step
needs them; get_skill lists them as reference_files and data_files. A long file comes
in pages of up to 40,000 characters as sent (JSON-escaped, so quotes and line breaks count
twice): `truncated` is true and `next_cursor` is set while more follows;
pass it back as `cursor` for the next page. The pages joined in order are the file exactly, and
`sha256` is the hex SHA-256 of the whole file's UTF-8 bytes (the same on every page).
Args:
skill_id: The skill id (a built-in such as "context/context_write_qa", or user/..., project/...
or unilytics/...).
A bare name (the last part of an id, e.g. "keyword_research" or a skill's own name) is
accepted when exactly one skill the user can use has it; the result then carries `resolved`
with its full id. A name several skills share is not_found with their full ids in
`did_you_mean`.
path: The file path within the skill (e.g. "reference/competitor-analysis.md").
`file_path` is accepted as an alias (matches the file tools).
cursor: next_cursor from a previous call, for the next page of the file.
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>"
},
"name": "read_skill_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| cursor | No | ||
| skill_id | Yes | ||
| file_path | No |