KG Query Entity
localnest_kg_queryQuery all relationships for an entity in the knowledge graph, with optional direction filtering (outgoing, incoming, or both).
Instructions
Query all relationships for an entity in the knowledge graph with optional direction filtering (outgoing, incoming, or both).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ||
| direction | No | both | |
| include_invalid | No | ||
| response_format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |