openspec_read_file
Read any OpenSpec artifact file (proposal, design, tasks, config) for a change or spec. Retrieve file contents directly when you need them.
Instructions
Read any OpenSpec artifact directly. Much faster than show — use this when you need file contents.
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": {
"name": "<name>",
"fileType": "<fileType>"
},
"name": "openspec_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Change or spec name (e.g. "add-dark-mode") | |
| type | No | Item type to disambiguate if a change and spec share the same name. If omitted, prefers changes. | |
| fileType | Yes | File to read |