Freigegebene Grußkarten senden
send_cardMails a card batch from prepare_card only when the batch has no order_url. With an order_url, the user orders on the order page: give the user the order_url after the approval. Do not call this tool for that batch. Call it only after the approval, when next_step of prepare_card says so, in a later answer. Then give batch_id, batch_sha256, confirmed_count, recipient_names and confirmed_price_cents. Cannot be undone after printing starts. If distinct_messages is more than 1, give confirmed_distinct_messages.
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": {
"batch_id": "<batch_id>",
"batch_sha256": "<batch_sha256>",
"confirmed_count": "<confirmed_count>",
"recipient_names": "<recipient_names>",
"confirmed_price_cents": "<confirmed_price_cents>"
},
"name": "send_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | The batch_id from prepare_card. | |
| batch_sha256 | Yes | The batch_sha256 from prepare_card. | |
| allow_duplicate | No | Set to true only if the user clearly wants a second card to a recipient who got the same card before. | |
| confirmed_count | Yes | The number of cards that the user approved. | |
| recipient_names | Yes | The name of each recipient that the user approved, as in prepare_card. | |
| confirmed_price_cents | Yes | The total price in cents that the user approved: price.amount_cents from prepare_card. | |
| confirmed_distinct_messages | No | The number of different messages that the user saw and approved: distinct_messages from prepare_card. Required when it is more than 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| batch_id | No | ||
| transaction_state | Yes |