chat

Submit Agent Session Tool Outputs

Changed on

Persist resolved client tool outputs for the session's open turn.

post/v1/agent_sessions/{session_id}/tool_outputs

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

session_idstring required

Request body

lastMessageIdstring required

The trailing assistant message's id. On mismatch the submission is rejected with HTTP 409 and code agent_session_messages_stale.

Response

Successful Response

Changes

    • info

      added to the // response property anyOf list for the response status

    • info

      removed from the // response property anyOf list for the response status

    • info

      added the optional property //// to the response with the status