delete_master
Permanently delete a Tally ledger, group, stock item, or similar master after taking a backup; requires confirmation and fails if referenced by vouchers.
Instructions
Permanently delete a ledger, group, stock item, stock group, godown, unit or cost centre (a backup is taken first). Tally refuses if it is still used by vouchers or other masters. Requires confirm: true; get the user's approval first.
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": {
"type": "<type>",
"name": "<name>",
"confirm": "<confirm>"
},
"name": "delete_master"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | ||
| company | No | Company name as shown in Tally. Omit to use the currently active company. | |
| confirm | Yes | Must be true | |
| dry_run | No | If true, only return the XML that would be sent; nothing is written to Tally and no backup is taken. |