set_fields
Update or create custom fields on an existing inventory item by its identifier. Specify field values; existing fields are preserved while new or changed ones are written.
Instructions
Create or update custom fields on an existing item (assetId / alias field / exact name).
fields maps custom-field name -> value; each value's JSON type picks the
field type (string -> text, number -> number [integer-coerced — the API
500s on float number values], true/false -> boolean). Upsert semantics:
named fields are created or overwritten; other fields are preserved.
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": {
"identifier": "<identifier>",
"fields": "<fields>"
},
"name": "set_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| identifier | Yes |