Get collection context
aalto_get_collection_contextReturns a collection's budget roll-up (spent is quantity × price across all statuses, in the budget's currency only; when the project shows tax it is the ex or inc tax total and tax_basis says which; unconverted_items counts products left out because they have no price or are in another currency, which is never converted), product status counts (products only, not inspiration), sections, the workspace tax setup, and a page of its items. Call before suggesting products for a room so spend, sections and what is already saved are known, and before exporting a schedule with tax. Use the cursor to page through large collections.
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": {
"collection_id": "<collection_id>"
},
"name": "aalto_get_collection_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| format | No | concise | |
| collection_id | Yes |