Update a string
wti_update_stringUpdate a string's key, developer comment, labels, or status (current, hidden, or obsolete), and add or remove labels without replacing existing ones.
Instructions
Change a string's key, developer comment, labels or status (current / hidden / obsolete). Use add_labels / remove_labels to change labels without replacing them. Translations are changed with wti_set_translations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wti_update_string"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Exact key of the string, e.g. `booking_confirm_title`. Pass this or `string_id`. | |
| labels | No | Replace all labels with this list ([] removes them all). | |
| plural | No | ||
| status | No | current, hidden (not shown to translators) or obsolete. | |
| file_id | No | Master file id (see wti_get_project). Only needed when the same key exists in several files. | |
| new_key | No | Rename the key. | |
| string_id | No | Numeric id of the string. Pass this or `key`. | |
| add_labels | No | Labels to add, keeping the existing ones. | |
| dev_comment | No | New developer comment. An empty string clears it. | |
| remove_labels | No | Labels to remove. |