Delete an object from your module
delete_objectRemove an object definition from a writable module's XML by module and ref, deleting every matching id definition.
Instructions
Removes an object definition from a writable module's XML (all definitions of that id in the module).
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": {
"module": "<module>",
"ref": "<ref>"
},
"name": "delete_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Object: Item.x, NPCCharacter.x, … or bare id. | |
| module | Yes | Writable module id. |