Check Placeholders
check_placeholdersVerifies that a translated string retains all placeholders from the source string, ensuring no placeholders are missing or altered.
Instructions
Verify a translated string preserves all placeholders from the source (no LLM call).
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": {
"source": "<source>",
"translation": "<translation>"
},
"name": "check_placeholders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The source string | |
| translation | Yes | The translated string to check |