Skip to main content
Fetches the full content of a single brain node. Use it to read the complete source behind a query_brain result (pass the node id it returned) or an entry from get_brain_tree.

Input

ParameterTypeRequiredDescription
brainIdstringYesThe brain the node belongs to.
nodeIdstringYesThe node to fetch, e.g. a node id from a query_brain result.

Example

Prompt:
“Show me the full source for that RLS result.”
Tool call:
{
  "brainId": "fa8d5392-fc77-4eb4-8a4c-64e0005c56b6",
  "nodeId": "ab699e6d-0a57-4383-a191-8fbed2832f9f"
}
Response:
- Type: chunk_part
- ID: ab699e6d-0a57-4383-a191-8fbed2832f9f
- Path: row-level-security > enabling-row-level-security > 1/1
- Content:
You can enable RLS for any table using the `enable row level security` clause:

    alter table "table_name" enable row level security;

Once you have enabled RLS, no data will be accessible via the API when using a
publishable key, until you create policies.
The Path is the node’s breadcrumb within the brain, which helps the agent place the content in context.

When to use it

  • A query_brain result is truncated and you want the full passage.
  • You found a relevant node in get_brain_tree and want to read it.
  • The agent needs the complete, verbatim source rather than a ranked excerpt.

See also