chat-ai
chat_messages
Submit Tool Result
Submit a tool result (e.g. user's ask_user selection) and resume streaming.
This endpoint:
- Validates ownership
- Finds the pending ask_user tool call on the last assistant message
- Marks it completed and records the result
- Constructs a ToolMessage and resumes the LangGraph agent
- Streams the continuation via SSE (same event format as send_message)
post/api/v1/chat-ai/conversations/{conversation_id}/tool-result
Path parameters
conversation_idstring uuid required
Request body
Response
Successful Response
{"stackTrail":"paths:/api/v1/chat-ai/conversations/{conversation_id}/tool-result:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}