remove_party_phone_number_by_id
Removes a phone-number entry from a party using its row id. Find the id with get_party; the action is idempotent and reversible via add_party_phone_number.
Instructions
Remove one phone-number entry from a party by its row id. Atomic and reversible — no confirm: true gate (re-add with add_party_phone_number). Discover the id via get_party. Idempotent on retry: response is {removed: true, alreadyRemoved: false, partyId, phoneNumberId, party} on a fresh remove or {removed: true, alreadyRemoved: true, partyId, phoneNumberId} if the row was already gone.
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": {
"partyId": "<partyId>",
"phoneNumberId": "<phoneNumberId>"
},
"name": "remove_party_phone_number_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| partyId | Yes | ||
| phoneNumberId | Yes | Capsule's id for the phone-number row. Read it from get_party (each entry in phoneNumbers carries an id). |