add_checkout_lines
Add product lines to an active checkout. Optionally replace all existing lines to set a new set of items.
Instructions
Add product lines to the active checkout. Set replace=true to replace all existing lines.
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": {
"lines": "<lines>"
},
"name": "add_checkout_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Lines to add | |
| replace | No | Replace all existing lines (default: false) |