remove_items_from_container
Remove items from a placeable container's inventory by resref (all matches) or by 0-based index.
Instructions
Remove items from a placeable container's inventory by resref (all matching) or by index.
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": {
"area": "<area>",
"containerTag": "<containerTag>"
},
"name": "remove_items_from_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | Yes | Area resref | |
| index | No | Remove a specific item by 0-based index | |
| itemResref | No | Remove all items matching this resref | |
| containerTag | Yes | Tag of the placeable container |