Skip to main content
Glama

create-board-export-job

Export Miro boards to PDF or CSV format by creating a batch export job for enterprise organizations. Specify board IDs and format to generate downloadable exports.

Instructions

Creates an export job for one or more boards (Enterprise only)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orgIdYesUnique identifier of the organization
requestIdYesUnique identifier of the board export job
boardIdsYesArray of board IDs to export
formatNoExport format (default: pdf)

Implementation Reference

  • The asynchronous handler function that creates an export job for specified boards using the Miro Enterprise API.
    fn: async ({ orgId, requestId, boardIds, format }) => { try { const createBoardExportRequest = { boardIds: boardIds, ...(format && { format: format }) }; const response = await MiroClient.getApi().enterpriseCreateBoardExport( orgId, requestId, createBoardExportRequest ); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error creating board export job: ${error}\n`); return ServerResponse.error(error); } }
  • Zod schema defining the input arguments for the create-board-export-job tool.
    args: { orgId: z.string().describe("Unique identifier of the organization"), requestId: z.string().describe("Unique identifier of the board export job"), boardIds: z.array(z.string()).describe("Array of board IDs to export"), format: z.enum(["pdf", "csv"]).optional().nullish().describe("Export format (default: pdf)") },
  • src/index.ts:192-192 (registration)
    Registers the createBoardExportJobTool with the ToolBootstrapper in the main index file.
    .register(createBoardExportJobTool)
Install Server

Other Tools

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/k-jarzyna/mcp-miro'

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