Chat with Lyzr Agent
lyzr_chatSend a message to a Lyzr agent and obtain its response, enabling direct interaction with AI agents for query resolution and task automation.
Instructions
Send a message to a Lyzr agent and get its 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_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 across turns |