---
title: "Update transfer_to_phone tool configuration"
method: PATCH
path: "/agents/{agent_id}/tools/transfer-to-phone"
tags: ["Agent Tools"]
---

# Update transfer_to_phone tool configuration

`PATCH /agents/{agent_id}/tools/transfer-to-phone`

Update configuration for the transfer_to_phone tool.

    Allows you to configure:
    - Enable/disable the tool
    - Phone destinations (list of phone numbers with names and availability)
    - Transfer message

    Phone destinations structure:
    ```json
    {
      "phone_number": "+393471234567",  // E.164 format
      "name": "Reception",
      "description": "Main reception desk",
      "available_hours": {  // Optional schedule
        "monday": ["09:00 - 18:00"],
        ...
      }
    }
    ```

    Important:
    - phone_destinations is REQUIRED when enabling the tool (is_enabled=true)
    - Phone numbers must be in E.164 format
    - Phone numbers must be unique within destinations
    - This tool is mutually exclusive with transfer_to_mobile_operator

    Authentication:
    - API key with READ_WRITE permission

## Path parameters

- `agent_id` string, uuid, required

## Request body

- object — Schema for updating transfer_to_phone tool configuration.
  - `is_enabled` boolean, nullable — Enable or disable the tool
  - `phone_destinations` object[], nullable — List of phone destinations (REQUIRED when enabling the tool)
    - `phone_number` string, required — Phone number in E.164 format (e.g., +393471234567)
    - `name` string, required — Destination name
    - `description` string, nullable — Destination description
    - `available_hours` object, nullable — Availability hours for this destination (schedule format: {monday: ['09:00 - 18:00'], ...})
  - `transfer_message` string, nullable — Message said before transferring the call

## Response `200`

Successfully updated configuration

- object
  - `ok` boolean
  - `data` object
    - `name` string
    - `display_name` string
    - `description` string
    - `category` string
    - `category_display_name` string
    - `scope` string
    - `enabled` boolean
    - `is_configured` boolean
    - `can_disable` boolean
    - `icon_url` string
    - `version` string
    - `config_fields` object[]

## Other responses

- `400` — Invalid configuration or mutual exclusivity violation
- `401` — Invalid or missing API key
- `403` — Insufficient permissions
- `404` — Resource not found

---

[API](https://skmtc.net/yourang/apis/yourang-ai-external-api-v1.md) · [All operations](https://skmtc.net/yourang/apis/yourang-ai-external-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yourang/yourang-ai-external-api-v1/revisions/49680ee64400/schema)
