Error message
When this error occurs
POST /agents/conversations/{id}/runs with payload.kind = tool_outputs resumes the run that
wrote the conversation’s latest assistant turn. That run must have stopped at requires_action
with a non-empty pending_tool_calls list. This error means it didn’t:
- The run finished with
final_text, so the model isn’t waiting on anything. - Every call on that turn went to an MCP server or a harness tool, and the platform already ran them.
How to fix
If you meant to send the user’s next message, change the payload to{"kind": "user_message", "text": "..."}.
If you meant to resume a paused run, check which run you’re answering.
GET /agents/conversations/{id}/messages returns each message’s run_id. Take the run_id of
the latest assistant message, and GET /agents/runs/{run_id}. You can post tool_outputs only
when that run’s status is requires_action, with one output for each entry in its
pending_tool_calls.
