workspace_read_file
Read UTF-8 text from workspace files, optionally selecting an inclusive one-based line range for targeted content retrieval.
Instructions
Read UTF-8 text, optionally selecting an inclusive range of one-based lines.
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": {
"path": "<path>"
},
"name": "workspace_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| end_line | No | ||
| start_line | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| text | Yes | ||
| resources | No | ||
| start_line | Yes |