Create part
create_partCreate a new part/inventory item. Requires parts:write scope.
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": {
"name": "<name>"
},
"name": "create_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | Unit cost | |
| name | Yes | Part name (required) | |
| site_id | No | Site ID - resolve via list_sites | |
| category | No | Category label | |
| quantity | No | Current stock quantity | |
| supplier | No | DEPRECATED - legacy free-text supplier name. Use supplier_id instead. | |
| building_id | No | Building ID - resolve via list_buildings | |
| location_id | No | Location ID - resolve via list_locations | |
| part_number | No | Part number / SKU | |
| supplier_id | No | Vendor ID (resolve via list_vendors) | |
| desired_quantity | No | Target / reorder quantity | |
| specific_location | No | Storage location description |