Submit tool outputs
POST/api/v1/sessions/:session_id/tool-outputs
Submits client tool outputs for a generation that returned requires_action. The agent continues its loop and returns the final or next requires_action result. A generation that did not run in the session's conversation is 404 (GENERATION_NOT_FOUND) and receives no outputs.
Request
Responses
- 200
- 401
- 403
- 404
- 409
Generation result
Authentication required
Insufficient permissions
Not found
The generation is not paused on client tool calls (GENERATION_NOT_AWAITING_TOOL_OUTPUTS): it never paused, or its outputs were already submitted. Each pause accepts outputs once.