Call via POST http://127.0.0.1:3000/translate_en2zh (JSON params as the body) or WebSocket.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
words |
raw | – |
{ words }:与输入等长的中文译文字符串数组。
Every response is wrapped in the standard envelope: { "status": "ok", "retcode": 0, "data": ... }. The table below describes data.
| Field | Type | Required | Description |
|---|---|---|---|
words |
string[] | ✓ | 译文数组 |
MCP-capable clients can discover and call this action directly — no hand-written HTTP. See MCP.