Get item creation requirements
get_item_requirementsGet what creating an inventory item needs. Without arguments: the organization's category tree plus the required fields that apply to ALL items. With categoryId: that category's full field list (required and optional, with types and select options); the fieldDefIds are the keys of customFields in create_item and preview_item_create. A category is required for every item except a draft (isDraft: true). The server checks that a category exists, not that it fits the item: an item filed under an unfitting category shows there for everyone. create_category adds a new category.
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": "get_item_requirements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categoryId | No | Category id (from the no-argument call) to get that category's full field list |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Note on category fit: the server checks that a category exists, not that it fits | |
| fields | No | All applicable fields, required and optional — categoryId mode | |
| builtIn | No | Built-in create_item facts (name, category, homeLocation, quantity) | |
| category | No | The resolved category — categoryId mode | |
| categories | No | The whole category tree — only in the no-argument mode | |
| orgWideFields | No | Required fields EVERY item needs — no-argument mode |