Update a Call Rule
update_ruleChanges one of the user's screening rules by ruleId; only the fields passed are changed. Without confirmed:true nothing changes: it returns confirmation_required with the exact 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": {
"ruleId": "<ruleId>"
},
"name": "update_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The rule as the user would say it, e.g. "Put Mom through". | |
| emoji | No | One emoji shown beside the rule, e.g. "📞". | |
| prompt | No | The same rule as an instruction to the call assistant, e.g. "When Mom calls, transfer the call to me." | |
| ruleId | Yes | A ruleId from list_rules. | |
| isActive | No | false turns the rule off without deleting it. | |
| mentions | No | Each person the rule is about, with their full number in international form. | |
| confirmed | No | true means the user has approved the confirmation_required preview returned by an earlier call with the same arguments, and carries it out. Without it nothing changes and that preview is returned. | |
| expiresAt | No | ISO 8601; null makes it permanent. |