get-board-export-job-results
Retrieve exported board data from Miro by providing organization and job IDs for enterprise users.
Instructions
Retrieves the results of a board export job (Enterprise only)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | Yes | Unique identifier of the organization | |
| jobId | Yes | Unique identifier of the job |
Implementation Reference
- The handler function that retrieves board export job results using MiroClient API, formats the response as JSON, and handles errors.fn: async ({ orgId, jobId }) => { try { const response = await MiroClient.getApi().enterpriseBoardExportJobResults(orgId, jobId); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error retrieving board export job results: ${error}\n`); return ServerResponse.error(error); } }
- Tool schema definition including name, description, and Zod input schema for orgId and jobId.const getBoardExportJobResultsTool: ToolSchema = { name: "get-board-export-job-results", description: "Retrieves the results of a board export job (Enterprise only)", args: { orgId: z.string().describe("Unique identifier of the organization"), jobId: z.string().describe("Unique identifier of the job") },
- src/index.ts:194-194 (registration)Registers the getBoardExportJobResultsTool with the ToolBootstrapper instance..register(getBoardExportJobResultsTool)