Widget Stream Chat
lyzr_widget_streamSend a message to a pre-configured widget agent and stream the response without agent IDs or credentials.
Instructions
Send a message to the pre-configured embeddable widget agent and stream back the response. No agent_id or credentials are accepted — the target agent is fixed server-side.
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": {
"message": "<message>",
"session_id": "<session_id>"
},
"name": "lyzr_widget_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Message to send to the widget agent | |
| session_id | Yes | Session id for the conversation |