Von einer bezahlten Briefbestellung zurücktreten
withdraw_orderUse this when the user wants to withdraw from a paid letter order of this service ("Vertrag widerrufen"). This tool does not write a withdrawal letter to another company. For that, use prepare_letter. Until the post has the letter, the server refunds the full price. The server also stops the letter if it can. After the post has the letter, the right of withdrawal has ended. First call it without confirm. Show the result to the user. Then call it again with confirm true. The user gets an e-mail.
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": "withdraw_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | true only after the user confirmed the withdrawal. false: show what happens. | |
| batch_id | No | The batch_id of a paid batch. Withdraws from every letter of the batch. Then do not give letter_id. | |
| letter_id | No | The letter_id of the paid letter. For every letter of a batch, give batch_id instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | No | ||
| order_id | Yes | ||
| letter_id | No | ||
| withdrawn | Yes |