checkout_set_shipping
Choose the delivery option (carrier_id from checkout_shipping_options).
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": {
"carrier_id": "<carrier_id>"
},
"name": "checkout_set_shipping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| carrier_id | Yes | ||
| session_id | No | Only if your client does not keep the MCP session (the Mcp-Session-Id header): the session_id that an earlier answer of this server gave you. It keeps the same cart between calls. |