text-widget-public

Submit Widget Tool Result

Changed on

Submit a tool result (e.g. user's ask_user selection) and resume streaming.

SSE events: same format as send_widget_message (status, token, tool_start, tool_end, tool_pending, done, error, heartbeat).

post/api/v1/public/text-widget/sessions/{session_id}/tool-result

Request

  • Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.getanana.com/api/v1/public/text-widget/sessions/{session_id}/tool-result
  • Auth: none declared. Required headers: X-Session-Token

Path parameters

session_idstring uuid required

Headers

X-Session-Tokenstring required

Request body

tool_call_idstring required
resultobject required

Response

Successful Response

unknown required

Changes

    • info

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

    • info

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