Skip to main content

get_entity_relations

Retrieves outgoing and incoming edges (fact connections) for a given entity. Supports optional semantic filtering, which is useful when an entity has many connections and you need to find specific facts.

Parameters

Read-only

Yes. This tool only reads from your memory.

Example usage

This returns only Alice’s work-related connections, filtering out unrelated facts.
Returns up to 20 connections for the “my-api” project.
Use the query parameter to narrow results for highly-connected entities. For example, filtering a person entity with query="employment" returns only work-related facts, while query="preferences" returns their stated preferences.

When to use

  • Exploring how an entity connects to others in the graph
  • Finding specific facts about an entity (use the query filter)
  • Building a comprehensive picture after reading an entity’s dossier with get_entity

Typical workflow