read_file
Retrieve and display the complete text content of a file located at a given absolute or relative path within an authorized root.
Instructions
Read the full text contents of a file inside a granted 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": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a text file inside a granted root (or a path relative to a root). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |