Set default unit for new items
set_item_unitSets the default weight unit used when adding new items in LighterPack's web interface. This controls the pre-selected unit in the UI only; items added via API calls use explicit units.
Instructions
Sets the unit LighterPack's own UI pre-fills when a person adds a new item there. Items you add through this MCP server always take an explicit weight_unit per call, so this only affects lighterpack.com's own editing UI.
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": {
"unit": "<unit>"
},
"name": "set_item_unit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes |