bluente_get_translation_status
Check the progress of a document translation task by its ID. Use this to monitor status after initiating translation through the bluente-translate server.
Instructions
Query a task status by id. Use this to poll progress after starting translation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Task id returned by upload endpoint. | |
| entry | No |
Implementation Reference
- This is the MCP tool handler definition for `bluente_get_translation_status`. It uses the provided `client` to invoke the `getTranslationStatus` method.
server.tool( TOOL_NAME, "Query a task status by id. Use this to poll progress after starting translation.", getStatusSchema, async ({ id, entry }) => executeTool(TOOL_NAME, async () => client.getTranslationStatus({ id, entry })) ); - src/tools/get-translation-status.tool.js:6-13 (registration)Tool registration function for the `bluente_get_translation_status` tool.
export function registerGetTranslationStatusTool(server, { client }) { server.tool( TOOL_NAME, "Query a task status by id. Use this to poll progress after starting translation.", getStatusSchema, async ({ id, entry }) => executeTool(TOOL_NAME, async () => client.getTranslationStatus({ id, entry })) ); } - The underlying client method that performs the API call to fetch translation status.
async getTranslationStatus({ id, entry }) { return this.requestJson(API_PATHS.GET_TRANSLATION_STATUS, { method: "GET", query: { id, entry } }); }