read_file
Read file contents from the filesystem using relative or absolute paths. Use it to retrieve file data for inspection or processing.
Instructions
Reads file contents from the filesystem. Supports relative and absolute paths.
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 | Path to the file to read (e.g., "data/example.txt") |