post_cart_items_update
Updates cart items in Mouser by part number and quantity, enabling MCP clients to change quantities or packaging choices for existing cart lines.
Instructions
[MouserCart] POST /api/v{version}/cart/items/update Updates the cart items sent in with the request.
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": {
"request": "<request>"
},
"name": "post_cart_items_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | ||
| version | No | API version. Defaults to 1. | 1 |
| countryCode | No | Optional. If not provided, the billing/shipping address associated with the account will be used to determine country code. If provided, country code will be used to determine shipping rules. | |
| currencyCode | No | Optional. If not provided, the default currency code based on the billing/shipping address associated with the account will be used to determine currency code. If provided, currency code will be used to price the cart. |