update_key
Rename a localization key in a Tolgee project. Provide project ID, key ID, and new name.
Instructions
Update a localization key's name.
Args:
project_id: The numeric ID of the project.
key_id: The numeric ID of the key to update.
name: The new name for the key.
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": {
"project_id": "<project_id>",
"key_id": "<key_id>",
"name": "<name>"
},
"name": "update_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| key_id | Yes | ||
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |