PBX Close Promise
pbx_promises_closeMark an open promise kept or broken with an optional privacy-safe note — makes the sales demo writable, not read-only. ≤60/hour/key → 429.
POST /v1/pbx/promises/close {promise_id, status:kept|broken, note?}. Phones/emails in note are scrubbed. Scoped by x-temsor-pbx-key when set. Idle $0 — no LLM/PSTN.
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": {
"promise_id": "<promise_id>",
"status": "<status>"
},
"name": "pbx_promises_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional short operator note. Phones/emails stripped (privacy-safe). | |
| status | Yes | Close outcome: kept (honoured) or broken (not kept). | |
| promise_id | Yes | Promise id (prm_*). Sales demo marks open promises kept|broken. |