Skip to main content
Glama

bluente_download_file

Download translated documents in PDF, DOCX, or XLSX format after translation is complete. Retrieve files with original formatting preserved from the Bluente Translate service.

Instructions

Download the translated file once the task status is READY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
to_typeNodocx
output_pathNo

Implementation Reference

  • Handler function and tool registration for 'bluente_download_file'. It uses the provided client to perform the download.
    export function registerDownloadFileTool(server, { client }) {
      server.tool(
        TOOL_NAME,
        "Download the translated file once the task status is READY.",
        downloadFileSchema,
        async ({ id, to_type: toType, output_path: outputPath }) =>
          executeTool(TOOL_NAME, async () => client.downloadFile({ id, toType, outputPath }))
      );
  • Input schema validation for 'bluente_download_file' tool.
    export const downloadFileSchema = {
      id: z.string().min(1),
      to_type: z.enum(["pdf", "docx", "xlsx"]).default("docx"),
      output_path: z.string().optional()
    };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Bluente/bluente-translate'

If you have feedback or need assistance with the MCP directory API, please join our Discord server