read_file
Retrieve a file's contents from the configured root for indexing or analysis; paths are validated and escaping symlinks refused.
Instructions
Read a file's contents from the configured root. The path is validated against the root; symlinks that escape are refused.
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": {
"rel_path": "<rel_path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rel_path | Yes | ||
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||