Put a label on something
attach_labelAssign an existing Ferret QR label or external code to an item, box, or location so scanning it opens that record.
Instructions
Puts a label the household already has on an item, a box or a place, so scanning it opens that: one of their blank Ferret QR labels (its 6-character code, e.g. K7QM2X) or — on items and boxes — any other code, like an asset tag or a sticker from elsewhere. Use it when the person says "I stuck label K7QM2X on the camping bin". Give itemId or locationId, not both. Refused if the label is already on something, or the thing already has a Ferret label.
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": {
"code": "<code>"
},
"name": "attach_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The label's code as printed or scanned | |
| itemId | No | The item or box, from search_inventory | |
| locationId | No | The place, from list_locations |