add_item_field
Add or update custom fields on items to store metadata like ISBN or serial numbers, supporting text, number, boolean, and time types.
Instructions
Add or update a custom field on an item. Custom fields can store additional metadata like ISBN, serial numbers, or any other custom data. Supports text, number, boolean, and time field types.
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": {
"itemId": "<itemId>",
"fieldName": "<fieldName>",
"fieldType": "<fieldType>",
"value": "<value>"
},
"name": "add_item_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | The ID (UUID) of the item to add/update the field on | |
| fieldName | Yes | The name of the custom field (e.g., 'ISBN', 'Color', 'Purchase Date') | |
| fieldType | Yes | The type of field: 'text', 'number', 'boolean', or 'time' | |
| value | Yes | The value for the field. Type should match fieldType (string for text/time, number for number, boolean for boolean) |