remove_cargo_item
Permanently delete a pantry line. Destructive — pass confirm:true. Prefer update_cargo_item or adjust_cargo_item to quantity 0 when the user still wants a restock reminder. Use itemId from list_inventory or search_ingredients.
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": {
"itemId": "<itemId>",
"confirm": "<confirm>"
},
"name": "remove_cargo_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | ||
| confirm | Yes | Set true to confirm permanent removal. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| meta | No | ||
| tool | Yes | ||
| error | No | ||
| outcome | No | ||
| warnings | No | ||
| requestId | No | ||
| retryable | No | ||
| operationId | No | ||
| retryAfterMs | No |