delete_key
Remove a translation key from all or selected locales, and prune empty parent keys in Rails-style YAML/JSON files.
Instructions
Delete a key from locales (default: all); prunes empty parents.
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": {
"key": "<key>"
},
"name": "delete_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Dot-separated key path, e.g. "roles_scope.super_admin" | |
| locales | No | Default: all locales |