Update an AI agent
update_agentChange what an AI agent says and how it sounds: its name, first line (greeting), instructions, voice, language, or whether it is on. The next call uses the change. Send only what should change, and show the user new greeting or instruction text before saving it. Ask the user to confirm before calling this tool.
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": "update_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name shown in RevDesk | |
| enabled | No | Turn the agent on or off | |
| agent_id | Yes | Agent id from list_agents | |
| greeting | No | First thing the agent says; null resets it | |
| language | No | Language code, for example "en" or "es" | |
| voice_id | No | Voice id | |
| workspace_id | No | Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace. | |
| system_prompt | No | The agent's instructions; null resets them |