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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "get_context"
}
}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) |