Read who answers a number (number rules)
get_number_rulesRead who answers calls to this phone number, and its outgoing and recording rules (Number rules). incoming.when_called is one of answer_with_skysay_agent (with agent_id), send_to_my_phone_server (with phone_server_id), forward_to_phone_number (with phone_number) or disabled (calls are not answered). A number nothing was set for answers with its attached agent, or not at all. update_number_rules changes it.
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": {
"number_id": "<number_id>"
},
"name": "get_number_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number_id | Yes |