register_relationship
Define and store relationships between code entities, such as calls, inherits, or imports, to maintain structured connections and metadata within a codebase.
Instructions
Register a relationship between entities.
Args: from_entity: Name of the source entity to_entity: Name of the target entity relationship_type: Type of relationship (calls, inherits, imports, etc.) metadata: Additional metadata as key-value pairs
Input Schema
Name | Required | Description | Default |
---|---|---|---|
from_entity | Yes | ||
metadata | No | ||
relationship_type | Yes | ||
to_entity | Yes |