Skip to content

Brain

brain_knowledge_graph

Export the product knowledge graph (entities + typed relations) as nodes and edges; truncation keeps the highest-degree nodes, so a small limit returns the hub concepts

Tool

brain_knowledge_graph

Export the product knowledge graph (entities + typed relations) as nodes and edges; truncation keeps the highest-degree nodes, so a small limit returns the hub concepts

Export the product knowledge graph (entities + typed relations) as nodes and edges; truncation keeps the highest-degree nodes, so a small limit returns the hub concepts

Behavior

HTTP
GET /brain/knowledge/graph

Arguments

NameTypeRequiredDescription
limitintegerMax nodes (default 5000). When the cap applies the HIGHEST-DEGREE nodes are kept, so a small limit (e.g. 100) returns the hub concepts — that is usually what you want
scopestringRead scope; 'both' (default) unions shared + your private

Response

FieldTypeAlwaysDescription
edgesarray
nodesarray
totalsobject
truncatedboolean
elapsed_msnumber
request_idstring

Try it

Export the product knowledge graph (entities + typed relations) as nodes and edges; truncation keeps the highest-degree nodes, so a small limit returns the hub concepts.

When to use

Export the product knowledge graph (entities + typed relations) as nodes and edges; truncation keeps the highest-degree nodes, so a small limit returns the hub concepts

Example

Ask your agent something like this:

Export the product knowledge graph (entities + typed relations) as nodes and edges; truncation keeps the highest-degree nodes, so a small limit returns the hub concepts.

The agent will invoke brain_knowledge_graph with these arguments:

{}

Esc

Start typing to search the docs.

navigateselect