Change a bid
Prepares a change to the price, quantity, local_only or auto_transfer of one of the customer's live bids (code from list_my_bids); whatever is omitted stays as it is. A partly matched bid cannot be changed, and a price above the lowest offer is refused - buy the offer instead. The bid runs for 90 days from the change. This only prepares the instruction: it returns a summary and a confirmation_code and changes nothing until confirm_instruction is called with that code, after the customer agrees. Prices are normal amounts in the market currency - 12345.5 is 12,345.50 - and every market states its currency.
bid.update, and changes nothing With a connected app’s token, Cru checks the request against live data and either refuses it with a reason or returns a summary and a confirmation code. Nothing happens until confirm_instruction is called with that code — once, within 15 minutes, after the customer says yes.
A partner key is offered this tool opening “Changes the price” instead of “Prepares a change to the price”. It is carried out at once, with no confirmation step, and takes a required reference as its last argument, so sending the same one again returns the first result. It returns the action’s result as the REST response’s data gives it, with replayed, and is marked destructiveHint. Partner keys over MCP →
Arguments
1 REQUIRED| ARGUMENT | DESCRIPTION |
|---|---|
| codestring · required | The bid's code, from list_my_bids. |
| pricenumber · > 0 | New price per unit, in the market currency, as list_my_bids quotes it. Omit to keep it. |
| quantityinteger · 1–1000 | New quantity. Omit to keep it. |
| local_onlyboolean | Only accept stock already on this Cru site. Omit to keep it. |
| auto_transferboolean | Transfer the wine to the customer's storage on this site when the bid fills. Omit to keep it. |
Any other argument is refused with a tool error that lists what the tool accepts. Numbers may also be sent as strings, and booleans as "true" or 1.
Returns
STRUCTUREDCONTENTOnce confirmed: the bid as it now is.
The same object also comes as JSON text in content, for hosts that read only that. What a staging tool returns →
Errors
A refusal — a wine that is not on Cru, a price out of range — comes back as a result with isError: true and a message worded for the assistant to act on. A connection without bids:write is not offered this tool, and calling it anyway returns 403 with a JSON-RPC error naming the scope. Missing or invalid credentials return 401. Conventions every tool shares →