Stream Chat with Lyzr Agent
lyzr_stream_chatSend a message to a Lyzr agent via a streaming endpoint, getting live progress updates and the full response. Use agent and session IDs to maintain conversation continuity.
Instructions
Send a message to a Lyzr agent over the streaming endpoint; streams progress and returns the full response.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>",
"message": "<message>"
},
"name": "lyzr_stream_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The user message to send | |
| user_id | No | End-user identifier (default: default_user) | |
| agent_id | Yes | The agent_id to chat with | |
| session_id | No | Conversation/session id for continuity |