Skip to main content
Glama

get-legal-hold

Retrieve legal hold information from Miro by providing organization, case, and legal hold IDs for enterprise compliance needs.

Instructions

Retrieves information about a specific legal hold (Enterprise only)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orgIdYesThe ID of the organization for which you want to retrieve the legal hold information
caseIdYesThe ID of the case for which you want to retrieve the legal hold information
legalHoldIdYesThe ID of the legal hold you want to retrieve

Implementation Reference

  • The asynchronous function that implements the core logic of the 'get-legal-hold' tool. It fetches legal hold information via MiroClient API and handles errors.
    fn: async ({ orgId, caseId, legalHoldId }) => { try { const response = await MiroClient.getApi().getLegalHold(orgId, caseId, legalHoldId); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error retrieving legal hold: ${error}\n`); return ServerResponse.error(error); } }
  • Zod schema defining the input parameters for the 'get-legal-hold' tool: orgId, caseId, legalHoldId.
    args: { orgId: z.string().describe("The ID of the organization for which you want to retrieve the legal hold information"), caseId: z.string().describe("The ID of the case for which you want to retrieve the legal hold information"), legalHoldId: z.string().describe("The ID of the legal hold you want to retrieve") },
  • src/index.ts:205-205 (registration)
    The line where the get-legal-hold tool is registered with the ToolBootstrapper.
    .register(getLegalHoldTool)
  • src/index.ts:104-104 (registration)
    Import statement for the get-legal-hold tool module.
    import getLegalHoldTool from './tools/getLegalHold.js';
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