Get result
get_resultRead a paid purchase with its purchase_id and result_token: the summary (every item in every environment at the lots asked, the cheapest environment per lot) and the receipt; view=full for one cell or component in full, a page at a time. Answers: status running or settling with progress (call again), then status paid; a purchase that still owes an amount answers the payment requirement with pay_url for exactly that. Read-only and free.
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": {
"purchase_id": "<purchase_id>",
"result_token": "<result_token>"
},
"name": "get_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | No | One item, from 1. | |
| view | No | `summary` (default): items, cells and lots. `full`: a cell (or with `component`, a component) as `GET /calculations/{id}` states it. `cost_sheet`: the itemised sheet of a part or a component at `lot_size`. | |
| cursor | No | The next page. | |
| component | No | One component, by its key in `components`. | |
| lot_sizes | No | Lots to state, comma separated: a part is restated at any lot, free; an assembly states the lots it was priced at. | |
| environment | No | One environment, by id. | |
| purchase_id | Yes | The purchase's id (a UUID). | |
| result_token | Yes | The result_token the paid answer carried (30 days). |