Process a user message and return the agent’s response. This endpoint accepts a message from a user and processes it through the agent. It will stream the steps of the response always, and stream the tokens if ‘stream_tokens’ is set to True.
The messages to be sent to the agent.
Whether the server should parse specific tool call arguments (default send_message
) as AssistantMessage
objects.
The name of the designated message tool.
The name of the message argument in the designated message tool.
Flag to determine if individual tokens should be streamed. Set to True for token streaming (requires stream_steps = True).
Successful response