Attach inbound Vapi phone
attach_phoneBind an existing Vapi phone number or create/import one using provider-specific configuration, enforcing the client assistant association.
Instructions
Bind an existing Vapi phone-number ID, or create/import a number from a provider-specific Vapi REST body. The client assistantId is always enforced.
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": {
"clientSlug": "<clientSlug>"
},
"name": "attach_phone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientSlug | Yes | Stable local client slug: lowercase letters, digits, and internal hyphens | |
| phoneNumberId | No | ||
| phoneConfiguration | No | Provider-specific POST /phone-number body. Prefer a stored credentialId over embedding telephony credentials. |