> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentcard.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# buy_set_gift_recipient

> DoorDash only: send this order as a GIFT — marks the cart as a gift for a recipient identified by their first name + phone (DoorDash texts them).

Connect to `https://mcp.agentcard.sh/mcp` with the **user's connection token** (or a `buy_token` for org-owned accounts).

**Behavior:** idempotent.

<Note>Not in the default `tools/list`. It is still callable by exact name, and appears when the client sends the `x-expert-tools: 1` header.</Note>

## What it does

DoorDash only: send this order as a GIFT — marks the cart as a gift for a recipient identified by their first name + phone (DoorDash texts them). Call AFTER items are in the cart and BEFORE buy\_checkout. BY DEFAULT the RECIPIENT chooses where it's delivered: DoorDash texts them a link to enter their own address, so you do NOT set a delivery address. ONLY when the user explicitly gives a specific destination address should you set it first (buy\_set\_default\_address) and pass recipient\_schedules\_address=false. Then buy\_view\_cart, confirm the total, and buy\_checkout as usual. Confirm the recipient's name + phone with the user before checkout.

## Inputs

| Field | Type | Description |
| - | - | - |
| `merchant` *(required)* | string | Merchant slug — gifting is DoorDash-only today, so 'doordash'. |
| `recipient_first_name` *(required)* | string | Gift recipient's first name. |
| `recipient_phone` *(required)* | string | Recipient mobile number — DoorDash texts them the gift, e.g. +14155550100. |
| `sender_name` *(required)* | string | Required. Who the gift is from, shown on the gift card (DoorDash rejects a gift with no sender). |
| `recipient_last_name` | string | Recipient's last name (optional). |
| `recipient_email` | string | Recipient email for the gift notification (optional). |
| `message` | string | Short personal gift message (optional). |
| `recipient_schedules_address` | boolean | omit/true (DEFAULT) = the recipient gets a link to enter their OWN delivery address. false = deliver to the already-set address and just notify them. |

## Returns

None.

## Example call

```json theme={null}
{
  "tool": "buy_set_gift_recipient",
  "arguments": {
    "merchant": "\u2026",
    "recipient_first_name": "\u2026",
    "recipient_phone": "\u2026",
    "sender_name": "\u2026"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.