get_context
Get intelligent context from the knowledge graph. Pass a query describing what you need — the system will automatically route to the right data sources (tasks, sessions, documents, teams, blocks) based on intent analysis + graph traversal + semantic similarity. Optionally narrow scope with project name or session ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The user's question or intent — used for intelligent context routing. Describe what context is needed. | |
| max_tokens | No | Maximum tokens for the response (default 500) | |
| project_id | No | Project ID (optional — if omitted, returns across all projects) | |
| session_id | No | Session ID (optional — if omitted, returns user-level context) | |
| project_name | No | Project name (optional, alternative to project_id) |