get-case
Retrieve detailed information about a specific eDiscovery case by providing the organization and case IDs, designed for enterprise use within the Miro MCP server.
Instructions
Retrieves information about a specific eDiscovery case (Enterprise only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caseId | Yes | The ID of the case you want to retrieve | |
| orgId | Yes | The ID of the organization for which you want to retrieve the case information |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"caseId": {
"description": "The ID of the case you want to retrieve",
"type": "string"
},
"orgId": {
"description": "The ID of the organization for which you want to retrieve the case information",
"type": "string"
}
},
"required": [
"orgId",
"caseId"
],
"type": "object"
}
Implementation Reference
- src/tools/getCase.ts:13-22 (handler)The handler function that executes the 'get-case' tool. It fetches case information from Miro API using orgId and caseId, returns formatted JSON response or error.fn: async ({ orgId, caseId }) => { try { const response = await MiroClient.getApi().getCase(orgId, caseId); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error retrieving case: ${error}\n`); return ServerResponse.error(error); } }
- src/tools/getCase.ts:9-12 (schema)Zod input schema defining required parameters orgId and caseId for the 'get-case' tool.args: { orgId: z.string().describe("The ID of the organization for which you want to retrieve the case information"), caseId: z.string().describe("The ID of the case you want to retrieve") },
- src/index.ts:203-203 (registration)Registers the getCaseTool ("get-case") in the ToolBootstrapper instance to make it available in the MCP server..register(getCaseTool)