pi_continue_agent
Continue a registered Pi agent by session ID, retaining conversation and tool context. Pass an answer for needs_input or the next assignment; returns status immediately.
Instructions
Continue a registered agent by explicit ID, retaining its Pi conversation/tool context. For needs_input, pass the answer as task; otherwise pass the next assignment. Returns identity/status immediately. Do independent work or use pi_wait_agent when idle; pi_poll_agent inspects progress/questions and pi_get_result reads final delivery. Restores released sessions after MCP restart, rejects running agents, never imports arbitrary Pi CLI sessions. Omit model to follow current Pi settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| model | No | Optional explicit override; omitted uses current Pi default. | |
| session_id | Yes |