Quote Repair
quote_repairUse only after diagnose_issue when the caller wants a priced bounded repair. Creates a new non-binding quote for the selected or automatically matched public service. Repeating the call may create a different quoteId, so it is intentionally non-idempotent. It does not accept the quote, create checkout, send payment or start execution. If the quote is accepted by the caller, pass its quoteId and one offered payment rail to prepare_repair.
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": {
"description": "<description>"
},
"name": "quote_repair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Optional attribution label for the calling agent or integration. | |
| productId | No | Optional exact public productId suggested by diagnose_issue or chosen from the catalog. Omit to let NAIF match the closest service. | |
| description | Yes | Sanitized bounded repair need derived from diagnose_issue; describe the failure and desired repair outcome without secrets or PII. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eta | No | Estimated delivery time or service ETA when available. | |
| error | No | Present when the requested service is unavailable or commerce could not create a quote. | |
| phase | No | QUOTE on a successful quote. | |
| price | No | Commercial price returned by the quote service. | |
| state | No | Current quote state returned by commerce. | |
| quoteId | No | Unique non-binding quote identifier to pass to prepare_repair after explicit caller acceptance. | |
| currency | No | Quote currency. | |
| nextTool | No | prepare_repair after explicit caller acceptance. | |
| productId | No | Matched public repair product identifier. | |
| exactAmount | No | Exact settlement amount when the selected payment design requires one; preserve it exactly as returned. | |
| productName | No | Human-readable matched repair service name. | |
| automaticJob | No | False; this tool never starts a repair job. | |
| paymentRails | No | Payment rail descriptors offered for this quote; pass one descriptor id to prepare_repair.rail. | |
| quoteAccepted | No | False; creating a quote does not accept it. | |
| checkoutCreated | No | False; creating a quote does not create checkout. | |
| commercialState | No | Commercial lifecycle state when available. | |
| automaticPayment | No | False; this tool never sends or charges payment. | |
| automaticExecution | No | False; this tool never starts repair execution. |