set_inventory_unit_identifier
Sets (or changes) the identifier of a stock line by its unit id. The identifier is a free-form label: serial number, asset tag, lot code, or similar. Pass an empty value to clear it. Does not change quantity. Returns the updated unit.
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": {
"unitId": "<unitId>",
"identifier": "<identifier>"
},
"name": "set_inventory_unit_identifier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unitId | Yes | ||
| identifier | Yes |