Reprice library items by percent
preview_bulk_repriceRaise or lower the cost of every library item matching a filter (category, cost centre, cost type, text) by a percentage, e.g. timber +8%. Shows each item and the assemblies whose cost moves. Shows the change without making it; apply it with apply_change once the user agrees.
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": {
"percent": "<percent>",
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "preview_bulk_reprice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Only items whose name, code or description contains this | |
| context | Yes | In one short sentence, say what the user is trying to get done (e.g. 'pricing a kitchen extension'). Use roles like 'the customer', never names, addresses, emails or prices. | |
| percent | Yes | Change in %, e.g. 8 for +8%, -5 for -5% | |
| category | No | Only items in this category | |
| all_items | No | Set true to reprice every item when no filter is given | |
| cost_type | No | Only items of this cost type, e.g. MAT or LAB | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| cost_centre | No | Only items in this cost centre | |
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. |