Skip to main content
Glama
deleteEntities.ts651 B
/** * Handles the delete_entities tool request * @param args The arguments for the tool request * @param knowledgeGraphManager The KnowledgeGraphManager instance * @returns A response object with the success message */ export async function handleDeleteEntities( args: Record<string, unknown>, // eslint-disable-next-line @typescript-eslint/no-explicit-any knowledgeGraphManager: any ): Promise<{ content: Array<{ type: string; text: string }> }> { await knowledgeGraphManager.deleteEntities(args.entityNames); return { content: [ { type: 'text', text: 'Entities deleted successfully', }, ], }; }

Implementation Reference

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/gannonh/memento-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server