expand_tool_output
Retrieve the full, uncompressed output behind a tooltrim reference to access omitted fields like IDs, amounts, or statuses before acting on compressed results.
Instructions
Retrieve the full, uncompressed tool output behind a tooltrim reference (shown in a compressed result's footer as ref=XXXX). A compressed observation may have omitted fields you need — ids, amounts, individual list items, statuses. IMPORTANT: before you answer the user or take an action that depends on a compressed result, if any detail you need is not clearly present in it, call this tool with that ref to read the full output first. Returns a page of characters; use start/length to page through more.
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": {
"ref": "<ref>"
},
"name": "expand_tool_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | the ref id, e.g. a1b2c3d4 | |
| start | No | character offset to start from (default 0) | |
| length | No | max characters to return (default: one page) |