chat

Submit Agent Session Tool Outputs

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

post/v1/agent_sessions/{session_id}/tool_outputs

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

Changed in 4 of the 74 revisions of this API.14

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

      response-optional-property-added

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

      response-optional-property-added

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

      response-optional-property-added

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new agent_session_tool_approvals_conflict enum value to the response property for the response status

      response-property-enum-value-added

    • endpoint added

      endpoint-added

    This revision also has 16 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog