get-case
Retrieve eDiscovery case details from Miro for enterprise organizations by providing organization and case IDs.
Instructions
Retrieves information about a specific eDiscovery case (Enterprise only)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orgId": "<orgId>",
"caseId": "<caseId>"
},
"name": "get-case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | Yes | The ID of the organization for which you want to retrieve the case information | |
| caseId | Yes | The ID of the case you want to retrieve |
Implementation Reference
- src/tools/getCase.ts:13-22 (handler)The handler function for the 'get-case' tool that executes the logic to retrieve eDiscovery case information via MiroClient API.
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:6-12 (schema)Tool schema definition including name, description, and Zod input schema for orgId and caseId parameters.
const getCaseTool: ToolSchema = { name: "get-case", description: "Retrieves information about a specific eDiscovery case (Enterprise only)", 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)Registration of the getCaseTool with the ToolBootstrapper instance.
.register(getCaseTool)