Add or edit an item or kit
save_inventoryAdd or change an item or a kit in the organization's inventory. An item has a name and a quantity (0 or more). A kit has a name and its contents: items, each with a quantity; a kit cannot contain a kit. A category is optional for both. Without item_id this adds one: name is required, and contents makes it a kit. With item_id it changes that item or kit: only the fields you pass change, and category null clears the category. contents makes it a kit and replaces its contents; gigs the kit was already added to keep the item lines they got. Requires gig-operations/CRM-manager access. Runs on the first call; there is no confirmation step.
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": "save_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | item or kit name (required when adding) | |
| item_id | No | change this item or kit; omit to add one | |
| category | No | e.g. Audio, Lighting, Backline; null clears it on a change | |
| contents | No | makes this a kit and replaces its contents; gigs the kit was already added to keep the lines they got | |
| quantity | No | an item's count; a new item saved with 0 or no quantity starts at 1, so set 0 with a change; a kit's own quantity is not used | |
| 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 | the API response { status (HTTP status), data: { assigned_quantity, assignments, available_quantity, committed_quantity, upcoming_quantity, stock_status, out_quantity, peak_booked_quantity, next_booked_on, short_gigs [{ event_id, event_title, starts_on, quantity }], category, components [{ child_item_id, child_name, quantity, role }], id, image_url, kit_type, kind, capacity, and 8 more fields } } | |
| error | No | when ok is false |