Brief vor dem Druck stornieren
cancel_letterUse this when the user wants to stop a letter of this service. A prepared letter is cancelled at once; nothing was sent or charged. If this tool cancels a paid letter, we refund the full price. A sent letter is cancelled only if the print partner has not started to print it; otherwise the result is TOO_LATE. This tool does not cancel a contract. To cancel a contract (Kündigung), prepare a letter with prepare_letter. Also a greeting card. For a whole batch or card batch, give batch_id: every item not printed yet is cancelled. One item of a prepared batch leaves it: the batch needs a new approval.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cancel_letter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | No | The batch_id from prepare_letter with recipients. Cancels every letter of the batch that is not printed yet. Then do not give letter_id. | |
| letter_id | No | The letter_id from prepare_letter, for one letter. For a whole batch, give batch_id instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| letters | No | ||
| outcome | No | ||
| batch_id | No | ||
| letter_id | No | ||
| transaction_state | Yes |