Gift a pack (real money)
gift_packGift a shop pack to another player (any kingdom), paid with this account's store credit, exactly like the shop's gift button with store credit (POST /v1/iap/gift). Find the player with find_players. To pay with real money instead, use buy_pack with gift_to_account_id. The recipient is told at once, with your message, and the pack arrives 3 days after it was paid for (arrives_at_ms; a refund before then cancels it); big gifts are announced in world chat when they arrive. A gift is the pack at its listed price, with a daily cap.
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": {
"sku": "<sku>"
},
"name": "gift_pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | the pack's sku, from shop_packs | |
| token | No | the token your login returned; pass it when a call answered not_logged_in after you logged in | |
| message | No | optional message shown with the gift (max 200 characters) | |
| to_account_id | No | the recipient's account_id, from find_players (preferred: names can repeat) | |
| to_display_name | No | or the recipient's exact display name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||