{"name":"translate","description":"Translate agent messages, support replies, and documentation into a target language without breaking Markdown, code blocks, URLs, or proper nouns. Send text and target_language, optionally supply source_language and casual, formal, or neutral formality, then get translated_text and detected_source_language. The latency-tuned route auto-detects the source and falls back across 100+ languages. Use it as a translation API, support reply translator, document translation service, or localization API for recurring agent workflows.","price":"$0.002","method":"POST","input_schema":{"properties":{"text":{"type":"string","description":"Text to translate. Max 12k chars."},"target_language":{"type":"string","description":"Target language as an ISO code ('es') or name ('Spanish')."},"source_language":{"type":"string","description":"Source language as an ISO code or name. Optional, auto-detected if omitted."},"formality":{"type":"string","description":"Register of the translation: casual, formal, or neutral. Optional, default neutral."}},"required":["text","target_language"]},"input_example":{"text":"Hello world","target_language":"Spanish"},"output_example":{"translated_text":"Hola mundo"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}