Machine-translate missing entries
verbaly_translateFill missing translations using the configured provider and save each new translation as a draft for human review; use dryRun to list what would be translated without calling the provider.
Instructions
Fill missing translations with the configured provider (what verbaly translate does). The default provider is Claude, which needs @anthropic-ai/sdk and ANTHROPIC_API_KEY. Every new translation is saved as a draft awaiting human review (verbaly review), which no tool here can approve. Each language is saved as soon as its last batch lands, so a run that is cut keeps the languages it finished. A batch the provider never answers, or a language whose file cannot be saved, is reported in failed and everything else stays written, so a retry only asks for what is left. dryRun lists what would be translated without calling the provider. A locale the project does not have is an error that lists the ones it has, never an empty result. To see what is missing first, use verbaly_missing; to save translations you wrote yourself, verbaly_write_drafts.
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": "verbaly_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Project root holding verbaly.config (defaults to the server working directory) | |
| dryRun | No | List missing entries per locale, call no provider | |
| locales | No | Target locales (default: all) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kept | Yes | Written on disk by someone else while the provider worked, so left as they were | |
| lock | No | This run created verbaly.lock, moved an older state file (from) into it, or rewrote it whole after a merge conflict (merged): it belongs in git with the catalogs, so tell the user to commit it | |
| dryRun | Yes | ||
| failed | Yes | Batches the provider never answered and languages that could not be saved, safe to retry | |
| invalid | Yes | Rejected: params or tags were not preserved | |
| pending | Yes | dryRun only: what would be translated | |
| translated | Yes | Saved as drafts, a human still has to approve them |