get_cart
Fetches a Mouser cart by cart key, letting clients review line items, quantities, and pricing before checkout or order placement.
Instructions
[MouserCart] GET /api/v{version}/cart Returns the cart
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": {
"cartKey": "<cartKey>"
},
"name": "get_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cartKey | 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. |