Responses
stream = true
data: {"content": {"type": "text_chunk", "content": "Hello"}}
data: {"content": {"type": "function_call", "function_call_id": "...", "function_calls": []}}
data: {"content": "[DONE]"}
stream = false
{
"result": {
"response": [
{
"content": "Hello! 👋",
"role": "assistant"
}
],
"thinking": "Greet the user briefly."
}
}