merge_items
Merge duplicate inventory items by moving all events from one item into another and deleting the duplicate, preserving history under the surviving name.
Instructions
Fix name drift: fold every event on from_item into into_item and
delete the duplicate. Canonicalisation is the agent's job, so duplicates
("milk" vs "semi-skimmed milk") are a matter of when, not if — without
this the only remedy is hand-editing SQLite.
Merging is irreversible in one step but loses nothing: the events survive under the surviving name, and get_events() still shows them.
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": {
"from_item": "<from_item>",
"into_item": "<into_item>"
},
"name": "merge_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_item | Yes | ||
| into_item | Yes |