Archive Inventory Item
archive_inventory_itemArchive an inventory item to prevent destructive deletion, with optional reason and idempotency support for safe retries.
Instructions
Archive instead of destructive delete. ($0.10; API key required)
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": {
"inventory_id": "<inventory_id>"
},
"name": "archive_inventory_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| request_id | No | Client idempotency key (retries return original result). | |
| inventory_id | Yes | ||
| idempotency_key | No | Alias for request_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | ||
| archived | No | ||
| inventory_id | No |