Assemble context bundle
get_contextAssemble a markdown briefing of the concepts most relevant to a query and/or explicit ids, expanded through the graph and trimmed to a token budget. The briefing is self-contained, so it can be handed to another agent or pasted into a prompt as-is. The final JSON line reports which concept ids were included, whether the bundle was truncated, and its approximate token count. Provide at least one of query or ids.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Explicit seed concept ids (kept first, in order). | |
| depth | No | Graph hops to expand from the seeds (default 1). | |
| query | No | Search query used to pick seed concepts. | |
| product | No | Restrict expansion to concepts of this product. | |
| tokenBudget | No | Approximate token cap for the bundle (chars/4, default 4000). |