Skip to main content
Glama

add_knowledge_relationships

Bulk create relationships between existing entities in a knowledge graph to map connections like AUTHORED or REFERENCES.

Instructions

Bulk create relationships between entities in the knowledge graph. Each relationship needs from_id, to_id (matching existing entity_ids), rel_type (matching schema — e.g., 'AUTHORED', 'COVERS', 'REFERENCES'), and optional properties.

Use get_knowledge_schema first to see available relationship types.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_codeYesProject code (e.g., 'abc12345') — from list_knowledge_projects
relationshipsYesArray of relationships to create
environmentNoTarget environmentstaging

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/velosovictor/graforest-mcp'

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