gitee_translate
Translate Chinese text to English for repo descriptions, issues, and commit messages. Detects Chinese content or checks translation provider status.
Instructions
Translate Chinese text to English - repo descriptions, issues, commit messages.
[RATIONALE] The core value of a Gitee bridge for non-Chinese speakers is reading the ecosystem; translation belongs next to discovery in the tool surface.
Return Format
{"success": bool, "operation": str, "translated": bool, "translation": str, "note": str | null}
Examples
gitee_translate(operation="zh_to_en", text="企业级微服务快速开发框架") gitee_translate(operation="detect", text="hello world") gitee_translate(operation="status")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to translate or detect (max 1200 chars). | |
| operation | Yes | Operation: 'zh_to_en' translates Chinese text to English via the local LLM (honest fallback: dictionary gloss + untranslated flag when no provider is reachable); 'detect' reports whether text is Chinese; 'status' shows LLM provider health. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||