Update Assistant
update_assistantUse this when the user wants a different assistant to answer their calls, or the same one in another language. Takes ringgAgentId, language ('en' English, 'hi' Hindi, 'es' Spanish) or both; whatever is left out stays as it is. Without confirmed:true nothing changes: it returns confirmation_required with the change, from and to, each with ringgAgentId, name and language. With confirmed:true it returns ok with current, the ringgAgentId and language now in use; when the save fails, as when that assistant does not speak the language, it returns refused with the reason. Neither field, or an assistant get_assistant does not list for this user, returns refused with a message and changes nothing; an unknown account returns not_found. Names, the greeting and the voice are changed in the OsmO app.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_assistant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | 'en' English, 'hi' Hindi or 'es' Spanish, one the chosen assistant speaks (get_assistant lists each assistant's languages); omit to keep the current language. | |
| confirmed | No | true means the user has approved the confirmation_required preview returned by an earlier call with the same arguments, and carries it out. Without it nothing changes and that preview is returned. | |
| ringgAgentId | No | A ringgId from get_assistant; omit to keep the current assistant. |