Prepare an unpaid letter for review
tlp_prepare_letterPrepare one domestic US Letter mailing with the customer's approved recipient, return address and finished letter. Provide exact finished text or a customer-selected PDF attachment and a unique UUID request_id. Reuse the request ID only to retry the same mailing. The customer opens the private link to review and authorize any payment and mailing on The Letter Pilot. Keep payment credentials on the website.
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": {
"service": "<service>",
"request_id": "<request_id>",
"recipient": "<recipient>",
"return_address": "<return_address>"
},
"name": "tlp_prepare_letter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | One PDF transferred by the supported ChatGPT file attachment flow. Supply exactly one of letter_text or file. | |
| service | Yes | ||
| recipient | Yes | ||
| request_id | Yes | Use a new random UUID for each distinct letter. Reuse the same UUID only when retrying identical inputs. | |
| letter_text | No | The finished, customer-approved letter text. Supply exactly one of letter_text or file. | |
| return_address | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | Yes | ||
| service | Yes | ||
| currency | Yes | ||
| estimate | Yes | ||
| expires_at | Yes | ||
| page_count | Yes | ||
| review_url | Yes | ||
| amount_cents | Yes | ||
| status_reference | Yes |