Add To Cart
add_to_cartAdds a seller offer to your cart using an approved plan, refreshing cart, price, inventory, and limits, then reads back to verify.
Instructions
POST one new seller offer using an approved add plan. Never call without user approval.
Refreshes cart, price, inventory and both limits before writing, then reads back. Retry only this same plan_id to inspect an uncertain outcome; it never resends the write.
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": {
"plan_id": "<plan_id>"
},
"name": "add_to_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart | No | ||
| state | Yes | ||
| reason | No | ||
| plan_id | Yes | ||
| limits_exceeded | No |