aggregate_graph
Retrieve a broad set of knowledge graph nodes for global aggregation and map-reduce tasks. Supports filtering by node type and tags.
Instructions
Retrieve a broad set of nodes bypassing standard semantic limits, optimized for global aggregation and map-reduce tasks. Supports filtering by node_type and tags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional list of tags to require. | |
| as_of | No | ISO-8601 datetime. When provided, return only nodes valid at that point in time (overrides include_invalidated). | |
| query | No | Optional natural-language search query to rank the broad retrieval. | |
| project | No | Optional project or workspace name used to partition memory. | |
| agent_id | No | Optional agent or client identifier used to partition memory. | |
| max_depth | No | Relationship traversal depth around matching nodes. | |
| max_nodes | No | Maximum number of nodes to return (default 100, up to 1000). | |
| node_types | No | Optional list of node types to filter by (e.g., 'fact', 'entity'). | |
| session_id | No | Optional conversation or run identifier used to partition memory. | |
| include_invalidated | No | When true, include nodes whose valid_to has passed. Default false excludes expired nodes. |