file_read
Read text or code file contents from the workspace root. Access is restricted to allowed directory paths.
Instructions
Read the contents of a text/code file in the workspace.
Access is strictly confined to the workspace root.
Args:
path: Path to the file, relative to workspace root.
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": "file_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |