read_tmp
Read or download a file from an agent's forwarded /tmp, with line- and byte-range controls for targeted text or base64 binary retrieval.
Instructions
Read or download a file from an agent's forwarded /tmp. Line mode uses lines_from/lines_to (0-based, end exclusive), max_lines, and max_bytes; byte mode uses bytes_from/bytes_to and is mutually exclusive with line ranges. Long lines over 10k chars are truncated with a marker, warning, and byte offsets. Text is utf-8; binary data is base64.
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": {
"agent_id": "<agent_id>",
"path": "<path>"
},
"name": "read_tmp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| agent_id | Yes | ||
| bytes_to | No | ||
| lines_to | No | ||
| max_bytes | No | ||
| max_lines | No | ||
| bytes_from | No | ||
| lines_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||