Cancel document
cancel_documentCancel a document that is out for signature. Participants can no longer sign it and part-way progress is lost; it has to be re-sent as a new request. Confirm with the user before calling this. A draft cannot be cancelled.
Example: cancel_document({ id: "12:document:sd_2", reason: "Superseded" }) → { "cancelled": true, … }
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": {
"id": "<id>"
},
"name": "cancel_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The document id. | |
| reason | No | Optional note recorded with the cancellation. Participants may see it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| record | No | ||
| cancelled | No |