{"name":"translate-text","description":"Translate agent messages, support replies, and documents without breaking Markdown, code blocks, URLs, or proper nouns. Send text and target_language, then get translated_text plus detected_source_language; source_language and formality are optional. It auto-detects the source and uses a latency-tuned fallback for 100+ languages. Use it as a translation API, document translation service, support reply translator, 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 or name, e.g. 'en' or 'Spanish'."},"source_language":{"type":"string","description":"Optional. Source language ISO code or name. Auto-detected if omitted."},"formality":{"type":"string","enum":["casual","formal","neutral"],"description":"Optional. Register: 'casual', 'formal', or 'neutral' (default)."}},"required":["text","target_language"]},"input_example":{"text":"Hello world","target_language":"Spanish"},"output_example":{"translated_text":"Hola mundo","detected_source_language":"English"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}