Put inventory on a gig
assign_inventoryPut an item on a gig as a line, with a quantity from 1 to 9999 and an optional note. Gear goes on a gig, never to a person. Adding an item already on the gig outside any group raises that one line, whatever the note says. A kit becomes a group named after the kit, holding one item line per content at the content quantity times the kits added; adding the kit again raises the lines in that group. A raise past 9999 is refused. Only a published gig takes inventory: a draft, template, sample or cancelled gig refuses the line with a message that says why. A line that asks for more than is available still saves and shows how many are short and which gigs hold the rest; a shortage never blocks. Returns the gig's inventory in the same shape as list_gig_inventory. Requires gig-operations/CRM-manager access. Runs on the first call; there is no confirmation step.
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": {
"event_id": "<event_id>",
"item_id": "<item_id>",
"quantity": "<quantity>"
},
"name": "assign_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | free-text note saved on this gig inventory line | |
| item_id | Yes | the item or kit to put on the gig, an id from list_inventory | |
| event_id | Yes | the gig (event) id, from list_events, open_gigs or my_agenda | |
| quantity | Yes | how many of the item or kit to put on the gig | |
| 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: { event_id, state, short_count, lines [{ id, kind, item_id, name, category, note, quantity, available, and 5 more fields }] } } | |
| error | No | when ok is false |