translate_code_comment
Extract code comments and translate them into Spanish dialects with region-specific accuracy.
Instructions
Extract and translate code comments (basic text extraction)
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": {
"code": "<code>"
},
"name": "translate_code_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Source code with comments to translate | |
| dialect | No | Spanish dialect code (e.g., es-ES, es-MX, es-AR) | |
| provider | No | Translation provider name (deepl, libre, mymemory) |