Try a quote
run_quoteRun a quote against a stored project: a dry run by default, saved only with save: true. Takes project_reference, an optional version_reference (defaults to the latest live version; there is no fallback to drafts, so pass version_reference to run one — it must belong to the project and not be archived, else a tool error), and an input payload that matches the project's input schema. Runs the model and returns the quote envelope — output, result, valid, status, error, the engine's errors log, exec_time_ms, dry_run: true, a null quote_reference, and documents (the indexed project documents for the version that ran $1, [{ document_reference, title, pages }], to answer questions about cover with search_docs) — WITHOUT persisting a quotes row. With save: true the quote is stored like a POST /quotes, under the signed-in user (an engine error is stored as an error quote), and the envelope carries dry_run: false, its quote_reference, created_at and quote_url; it then shows in get_quotes and the dashboard and can be amended with amend_quote. Only save when the user asks for the quote to be kept, not to try inputs. Saving is refused in read-only mode. Call get_project first to inspect input.format and build a valid input.
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": {
"project_reference": "<project_reference>",
"input": "<input>"
},
"name": "run_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Optional, default false (dry run, nothing stored). true stores the quote under the signed-in user and returns its quote_reference. Only when the user asks for the quote to be kept. | |
| input | Yes | Flat quote input object matching the project's input.format schema. Use get_project to discover the required keys. | |
| source | No | Optional engine `source` label passed through to the model. Defaults to "mcp". | |
| journey_reference | No | Optional. Any string unique to one journey (e.g. an application id), saved on the quote (with save: true). A journey is a collection of quote snapshots that build up to a complete sold (bound) journey: send the same journey_reference on every quote in it so get_journey shows how it built up; without one the quote is in no journey. Overrides a journey_reference inside input. | |
| project_reference | Yes | UUID of the project to run against. | |
| version_reference | No | Optional. Specific non-archived version UUID of this project; defaults to the latest live version (no fallback to drafts). |