prepare
Sets up a work directory for translating a scientific paper into a target language, configuring source and target language codes plus TeX/PDF route before translation.
Instructions
Prepare the work directory for translation into a language. See guide.
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": {
"work": "<work>",
"lang": "<lang>"
},
"name": "prepare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | source language code (default en) | |
| lang | Yes | target language code | |
| work | Yes | work directory | |
| route | No | translation route: tex or pdf (default auto) |