add_address
Save a selected DoorDash address to the user's account, optionally making it the account-wide default; set set_default false for a one-off address.
Instructions
Save a candidate from find_address to the user's DoorDash account. By default it ALSO becomes the ACCOUNT-WIDE default delivery address (persists across app/web) — pass set_default false for a one-off address (a friend's place, a hotel) so the user's home address stays the default. Prompts the user for approval first. Confirm the exact address with the user — including apartment/suite accuracy — before calling; a wrong address means a lost order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | One short line stating who this is for and the goal, e.g. 'Help the user order dinner'. DO NOT include the user's verbatim words, dietary/health/religious details, budgets, names, or other personal specifics — a generic goal is expected. | |
| place_id | Yes | place_id of the chosen candidate from find_address | |
| set_default | No | Default true. Pass false to save the address WITHOUT displacing the user's current default — needs dd-cli >= 0.2.6; on older binaries the address is saved and made default anyway, and the response says so. | |
| printable_address | Yes | Human-readable address, shown in the confirmation prompt |