Update Account Cart Item
update_account_cart_itemApply the approved final quantity to an account's cart item via an explicit host-approved PATCH, enforcing quantity caps and preventing duplicate mutation retries.
Instructions
Trusted backend: PATCH final quantity with this account's approved update plan.
Requires explicit host approval. Increases obey both caps; retries never resend mutations.
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": {
"session_token": "<session_token>",
"plan_id": "<plan_id>"
},
"name": "update_account_cart_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | ||
| session_token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart | No | ||
| state | Yes | ||
| reason | No | ||
| plan_id | Yes | ||
| limits_exceeded | No |