get_focus
Extract a focused subgraph context for a specific query. Use to narrow down broad chat sessions to relevant technical details.
Instructions
Return a query-scoped subgraph context XML.
Finds the nodes most relevant to query and their graph neighborhood. Use this for targeted technical questions where full session context is too broad.
Args: query: Natural language question or topic (e.g. "CORS headers configuration")
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_focus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |