start_translation
Initiates a PDF translation job and returns a job ID, producing a bilingual PDF with original pages left and translated pages right while preserving formulas and layout.
Instructions
Start a PDF translation; return job_id immediately. The bilingual PDF places original left, translation right.
input_path is an existing local PDF. output_directory receives a new unique task folder; source files are never overwritten. pages accepts 1,3-5; omitted means all pages. The unique deliverable is primary_artifact.path after completion and review. It is null while unfinished or failed. Unselected pages remain untranslated in the output. Selected pages must contain extractable text; scanned/image-only pages require OCR outside this tool. service is a Folio translation provider ID. fields contains provider options. secret_env maps provider credential option names to server environment variable names, never to literal API keys. Default agent requires the calling Agent to fetch pending batches and submit its own translations; no translation API or nested Agent CLI is called. Preserve every item ID and formula/page placeholder. For agent mode omit fields, secret_env and translate_images. Explicit google sends text to Google's service. get_translation_status provides completion, failures and final paths. hover_highlight defaults to true with service=agent: translates individual sentence items, embeds Acrobat hover layers without overlay annotations, and excludes formulas/images. primary_artifact.kind is bilingual_hover_pdf by default, bilingual_pdf only when hover is disabled. primary_artifact.pages records a selected-page translation; null means all pages. artifacts is an internal index retained for compatibility and review, not a delivery list. Keep mono_pdf, plain_dual_pdf and preview PDFs internal unless the user requests an alternate final PDF. Read coverage_report for all source blocks and hover_report for alignment exclusions. Adobe desktop hover and drag-copy require UI testing. Set hover_highlight=false for plain output or external translation services. Review formulas and every source keyword before delivery, including wrapped Keywords/Index terms lists.
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": {
"input_path": "<input_path>",
"output_directory": "<output_directory>"
},
"name": "start_translation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| fields | No | ||
| service | No | agent | |
| input_path | Yes | ||
| secret_env | No | ||
| glossary_file | No | ||
| hover_highlight | No | ||
| source_language | No | en | |
| target_language | No | zh | |
| output_directory | Yes | ||
| translate_images | No |