Cambiar estado de un agente
pbx_set_agent_statusSet an agent's status to login, logout, or pause by providing the agent ID and the new status code.
Instructions
Cambia el estado de un agente (login/logout/pausa…). 'newStatus' es el código de estado de la plataforma.
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": {
"id": "<id>",
"newStatus": "<newStatus>"
},
"name": "pbx_set_agent_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | id del agente | |
| newStatus | Yes | Nuevo estado |