register_relationship
Register a relationship between two code entities, specifying type and metadata, to document connections like calls or imports.
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 | ||
| to_entity | Yes | ||
| relationship_type | Yes | ||
| metadata | No |