read_file
Read a UTF-8 file from the workspace root, enforcing a 1MB size limit and blocking absolute paths or parent-directory segments for safe access.
Instructions
Read a UTF-8 file relative to the workspace root. Size limit 1MB.
Refuses absolute paths and parent-directory segments.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||