save_quote
Saves a product quote by recomputing the price from the same inputs used for quoting, so caller-supplied prices are never stored; an idempotency key makes retries safe.
Instructions
Save a quote for the product. Needs the quotes:write scope.
Takes the same product inputs as quote_product and recomputes the price here;
it never stores a price supplied by the caller.
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": {
"product_name": "<product_name>",
"price_usd": "<price_usd>",
"idempotency_key": "<idempotency_key>"
},
"name": "save_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | No | As in quote_product. | |
| category | No | As in quote_product. | |
| price_usd | Yes | US list price, in USD. | |
| weight_lb | No | As in quote_product. | |
| product_url | No | Product page. | |
| product_name | Yes | Product name, as shown. | |
| idempotency_key | Yes | A fresh random value (e.g. a UUID) for each distinct save. Reuse it only to retry the same save: a retry with the same key returns the original result and writes nothing new. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | Yes | The quote as computed by this server at save time. Prices supplied by the caller are never stored; the server recomputes from the product inputs. | |
| quote_id | Yes | Identifier of the stored quote. | |
| created_at | Yes | When it was first saved (ISO-8601, UTC). | |
| product_url | No | ||
| product_name | Yes |