pi_get_result
Retrieve a delegated Pi agent's final reply once ready, acknowledging it; interrupted sessions return partial output with the error. Before ready, it returns ready:false instead of progress.
Instructions
Read final delivery, without waiting: done returns the last Pi reply, error/interrupted returns the final partial reply and error in the JSON body. Before final delivery exists, returns only {ready:false,reason,next}, never progress or a question body; use pi_poll_agent. Reading final delivery acknowledges its unread event. Results remain readable after release or MCP restart.
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": {
"session_id": "<session_id>"
},
"name": "pi_get_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |