Your Cru account
Shows which Cru World Wine account this connection acts as (organisation), the app it came through (label), the market and currency its prices are quoted in, the permissions the customer granted (scopes) and when this access expires. Call it first when unsure what you can do for the customer: without bids:write you cannot stage bids.
Marked readOnlyHint, so an assistant may call it without asking the customer first.
Arguments
Takes no arguments.
Returns
STRUCTUREDCONTENTclient: environment, key_prefix, organisation, label, market, currency, scopes, expires_at — the same block /ping returns.
The same object also comes as JSON text in content, for hosts that read only that.
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 meta:read 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 →