Attach sip connection number
attach_sip_connection_numberBring your own SIP trunk: create, read or change a carrier SIP connection and its numbers through the same service as /v1/sip-connections. Passwords are write-only and never returned. Attaching a number for incoming calls, and check_sip_connection_number_ownership, place one Skysay verification call to that number (rate limited per number and per workspace); outbound with the number is refused until its ownership is confirmed. start_sip_connection_test_call places one billed call (calls:write) from the number to the given phone; check_sip_connection_reachability sends one SIP OPTIONS to the carrier server. No carrier settings change.
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": {
"e164": "<e164>",
"connection_id": "<connection_id>"
},
"name": "attach_sip_connection_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| e164 | Yes | The number in E.164 form. Premium-rate, shared-cost and unknown number types are refused. | |
| inbound | No | Defaults to whether the connection carries inbound calls. | |
| agent_id | No | A published agent that answers incoming calls. | |
| outbound | No | Defaults to whether the connection carries outbound calls. | |
| project_id | No | ||
| connection_id | Yes |