translate_markdown
Translate a markdown file into Spanish dialects while preserving code blocks, links, and structure. Supports formal/informal tones and multiple providers.
Instructions
Translate a markdown file while preserving structure (code blocks, links, etc.)
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": {
"filePath": "<filePath>"
},
"name": "translate_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formal | No | Use formal tone (for languages that distinguish formal/informal) | |
| dialect | No | Spanish dialect code (e.g., es-ES, es-MX, es-AR) | |
| filePath | Yes | Path to the markdown file to translate | |
| informal | No | Use informal tone (for languages that distinguish formal/informal) | |
| provider | No | Translation provider name (deepl, libre, mymemory) |