text-widget-public

Submit Widget Tool Result

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

Path parameters

session_idstring uuid required

Headers

X-Session-Tokenstring required

Request body

tool_call_idstring required
resultobject required

Response

Successful Response

{"stackTrail":"paths:/api/v1/public/text-widget/sessions/{session_id}/tool-result:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 1 of the 5 revisions of this API.2

    • 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 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog