tool_list_translations
List all translation languages in a Ren'Py project by scanning game/tl, reporting file counts, dialogue blocks, string entries, GUI files, and source language.
Instructions
List all translation languages in a Ren'Py project.
Scans game/tl/ for language folders and reports, for each language: file count, dialogue block-translation count, string-translation entry count, and which GUI files (common/screens/options) are present. Also reports the project's source language (config.language).
Use this first to see what translations exist before checking them.
Args: project_path: Absolute path to the Ren'Py project root directory.
Returns: dict with {ok, source_language, tl_dir, languages: [{code, files, dialogue_blocks, string_entries, has_common, has_screens, has_options}]}.
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_path": "<project_path>"
},
"name": "tool_list_translations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes |