get_fulfillment_quote_cached
Retrieve the newest cached fulfillment quote for a design file to reuse a recent price without a second provider call. Expired quotes are skipped; fetch a fresh quote instead.
Instructions
Read back the newest quote fulfillment_quote cached for a file.
Quotes are kept for a while after they are fetched, so a decision made
a few minutes later needs no second provider call. An expired quote is
not returned; fetch a fresh one with ``fulfillment_quote``.
Args:
file_path: Path to the design file the quote was fetched for.
provider: Provider name as it appears in a ``fulfillment_quote``
result (e.g. ``"craftcloud"``), used to find the cached quote.
material: Material id the quote was fetched for (from
``fulfillment_materials``).
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": {
"file_path": "<file_path>"
},
"name": "get_fulfillment_quote_cached"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | Material id the quote was fetched for (from ``fulfillment_materials``). | |
| provider | No | Provider name as it appears in a ``fulfillment_quote`` result (e.g. ``"craftcloud"``), used to find the cached quote. | |
| file_path | Yes | Path to the design file the quote was fetched for. |