issue_shipping_confirmation_token
Issues a single-use token after the user confirms shipping details and options, so order fulfillment can proceed only with verified approval.
Instructions
Issue a single-use token after the user confirms shipping details.
Call this only after showing the normalized contact/shipping address
and selected shipping option to the user, asking whether Kiln should
save the address as a profile, and receiving approval.
``fulfillment_order`` refuses to place an order without this token.
Args:
quote_id: Quote ID from ``fulfillment_quote``.
shipping_option_id: Shipping option ID selected from the quote.
shipping_address: Explicit full shipping address.
shipping_profile_name: Saved profile name to use instead of
passing ``shipping_address``.
save_profile_decision: Required when ``shipping_address`` is
provided directly. Pass ``"save"`` only after the user says
yes; pass ``"do_not_save"`` after the user says no.
save_profile_name: Profile name to save when
``save_profile_decision`` is ``"save"``.
overwrite_saved_profile: Replace an existing profile with the
same name when saving.
set_default_profile: Make the saved profile the default.
ttl_seconds: Token lifetime, default 10 minutes.
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": {
"quote_id": "<quote_id>"
},
"name": "issue_shipping_confirmation_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | Quote ID from ``fulfillment_quote``. | |
| ttl_seconds | No | Token lifetime, default 10 minutes. Default: 600. | |
| shipping_address | No | Explicit full shipping address. | |
| save_profile_name | No | Profile name to save when ``save_profile_decision`` is ``"save"``. Default: "". | |
| shipping_option_id | No | Shipping option ID selected from the quote. Default: "". | |
| set_default_profile | No | Make the saved profile the default. Default: false. | |
| save_profile_decision | No | Required when ``shipping_address`` is provided directly. Pass ``"save"`` only after the user says yes; pass ``"do_not_save"`` after the user says no. Default: "". | |
| shipping_profile_name | No | Saved profile name to use instead of passing ``shipping_address``. Default: "". | |
| overwrite_saved_profile | No | Replace an existing profile with the same name when saving. Default: false. |