register_entity
Register a code entity (class, function, module) into the knowledge graph to store its summary, signature, and metadata.
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 |
|---|---|---|---|
| name | Yes | ||
| entity_type | Yes | ||
| summary | Yes | ||
| signature | No | ||
| language | No | ||
| observations | No | ||
| metadata | No |