v2

latestOpenAPI 3.1.02026-08-07750280.6 KB
Agent Tools

Update transfer_to_mobile_operator tool configuration

Update configuration for the transfer_to_mobile_operator tool.

Allows you to configure:
- Enable/disable the tool
- Operator availability hours
- Enabled departments (which departments can receive transfers)

Schedule format for available_hours:
```json
{
  "monday": ["09:00 - 18:00"],
  "tuesday": ["09:00 - 18:00"],
  ...
}
```

Note: This tool is mutually exclusive with transfer_to_phone.
Attempting to enable this while transfer_to_phone is enabled will fail.

Authentication:
- API key with READ_WRITE permission
patch/agents/{agent_id}/tools/transfer-to-operator

Path parameters

agent_idstring uuid required

Request body

is_enabledboolean nullable

Enable or disable the tool

available_hoursobject nullable

Operator availability hours (schedule format: {monday: ['09:00 - 18:00'], ...})

enabled_departmentsstring[] nullable

List of enabled department UUIDs (empty list = all departments available)

Response

Successfully updated configuration

okboolean