Set iFood cart payment
ifood_set_payment_methodSet payment methods on an iFood cart after explicit user confirmation, without processing payment. Use to update which payment options apply to an existing order.
Instructions
Gated cart write. Does not charge.
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": {
"cart_id": "<cart_id>",
"payment_method_ids": "<payment_method_ids>"
},
"name": "ifood_set_payment_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | Yes | ||
| response_format | No | markdown | |
| payment_method_ids | Yes | ||
| explicit_user_intent | No | Must be true after the user explicitly asked for this write. |