Update Lyzr Agent
lyzr_update_agentUpdate existing Lyzr agents by modifying their name, role, goal, instructions, temperature, or description.
Instructions
Update fields (name/role/goal/instructions/temperature/description) on an existing Lyzr agent.
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>"
},
"name": "lyzr_update_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | New goal | |
| name | No | New agent name | |
| role | No | New role/persona | |
| agent_id | Yes | The agent_id to update | |
| description | No | New description | |
| temperature | No | New sampling temperature (0-2) | |
| instructions | No | New system instructions |