Skip to main content
Glama

get-legal-hold-content-items

Retrieve content items under legal hold for Miro Enterprise organizations to manage compliance and e-discovery cases.

Instructions

Retrieves the list of content items under legal hold (Enterprise only)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orgIdYesThe ID of the organization for which you want to retrieve the list of content items under hold
caseIdYesThe ID of the case for which you want to retrieve the list of content items under hold
legalHoldIdYesThe ID of the legal hold for which you want to retrieve the list of content items under hold
limitYesThe maximum number of items in the result list
cursorNoCursor for pagination

Implementation Reference

  • The asynchronous handler function that executes the tool logic by calling MiroClient.getApi().getLegalHoldContentItems with the provided parameters and handling the response or error.
    fn: async ({ orgId, caseId, legalHoldId, limit, cursor }) => { try { const query: any = {}; if (cursor) query.cursor = cursor; const response = await MiroClient.getApi().getLegalHoldContentItems( orgId, caseId, legalHoldId, limit, query ); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error retrieving legal hold content items: ${error}\n`); return ServerResponse.error(error); } } };
  • Zod schema defining the input arguments for the tool: orgId, caseId, legalHoldId, limit, and optional cursor.
    args: { orgId: z.string().describe("The ID of the organization for which you want to retrieve the list of content items under hold"), caseId: z.string().describe("The ID of the case for which you want to retrieve the list of content items under hold"), legalHoldId: z.string().describe("The ID of the legal hold for which you want to retrieve the list of content items under hold"), limit: z.number().describe("The maximum number of items in the result list"), cursor: z.string().optional().nullish().describe("Cursor for pagination") },
  • src/index.ts:206-206 (registration)
    Registers the getLegalHoldContentItemsTool with the ToolBootstrapper instance.
    .register(getLegalHoldContentItemsTool)
  • src/index.ts:105-105 (registration)
    Imports the tool definition for registration.
    import getLegalHoldContentItemsTool from './tools/getLegalHoldContentItems.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