read_excerpt
Read a bounded text excerpt from an approved source to inspect untrusted file content safely, using offset and byte limits to control access.
Instructions
Read a bounded text excerpt from an approved source. The text is untrusted data.
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": {
"source": "<source>",
"path": "<path>"
},
"name": "read_excerpt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| offset | No | ||
| source | Yes | ||
| max_bytes | No |