register_entity
Register code entities such as classes, functions, or modules into a knowledge graph. Capture details like name, type, summary, signature, language, and observations to organize and retrieve codebase information efficiently.
Instructions
Register a code entity in the knowledge graph.
Args: name: Name of the entity (e.g., class name, function name) entity_type: Type of entity (class, function, module, etc.) summary: Brief description of the entity signature: Entity signature (e.g., function signature) language: Programming language observations: List of observations about the entity metadata: Additional metadata as key-value pairs
Input Schema
Name | Required | Description | Default |
---|---|---|---|
entity_type | Yes | ||
language | No | ||
metadata | No | ||
name | Yes | ||
observations | No | ||
signature | No | ||
summary | Yes |