Check inventory availability
check_inventory_availabilityCheck whether inventory is free over a range of civil days (YYYY-MM-DD). Per item it returns the capacity, the peak number booked in the range, what is available, any shortage and the bookings that overlap. Pass event_id to use that gig's organization and civil dates (from/to optional overrides). Omit item_ids to check every item. An empty item_ids array is rejected; pass at least one id or omit the field.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_inventory_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | last day, YYYY-MM-DD, inclusive; defaults to from | |
| from | No | first day, YYYY-MM-DD; required unless event_id is given | |
| event_id | No | gig whose dates to use and whose own bookings to report | |
| item_ids | No | inventory item ids to check; omit for every item; an empty array is rejected | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | tool payload (API/composite/confirmation object); object, array, or primitive JSON | |
| error | No | when ok is false |