Freigegebenen Brief per Post senden
send_letterMails a prepared letter by post. Use it only for a free resend (resend_of, price 0). For every other letter the user orders on the order page: give the user the order_url. Do not call this tool for a letter with an order_url. Call it only after the user approved the preview and the recipient, in a later answer than prepare_letter. Cannot be undone after printing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | No | The batch_id from prepare_letter with recipients. Sends every letter of the batch. Then do not give letter_id. | |
| letter_id | No | The letter_id from prepare_letter, for one letter. For a batch, give batch_id instead. | |
| batch_sha256 | No | For a batch: the batch_sha256 from prepare_letter. | |
| recipient_name | No | The name of the recipient that the user approved, as in prepare_letter. For one letter only. | |
| allow_duplicate | No | Set to true only if the user clearly wants a second copy of a letter that was already sent. | |
| confirmed_count | No | For a batch: the number of letters that the user approved. | |
| recipient_names | No | For a batch: the name of each recipient that the user approved, as in prepare_letter. | |
| confirmed_enclosures | No | The number of enclosures in the preview that the user approved. 0 if the letter has no enclosures. | |
| confirmed_price_cents | Yes | The price in cents that the user approved. It must be the price from prepare_letter (0 for a free resend). For a batch: the total price. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| charge | Yes | ||
| counts | No | ||
| status | Yes | ||
| letters | No | ||
| batch_id | No | ||
| letter_id | No | ||
| status_emails | No | True when the user gets status e-mails for these letters. | |
| transaction_state | Yes |