query_graph_global
Answer a corpus-wide question by Map-Reduce over community summaries: every selected community is summarised against the query, then the partial answers are reduced into one response that lists the communities it drew on. Use it for themes, trends and overviews across a whole corpus; for pinpoint lookups or single-document questions use query_graph instead. Returns: the reduced answer with the community summaries and the source evidence behind them. Raises QUERY_CAPACITY when the server is at its active-query limit — retry shortly.
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": "query_graph_global"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The natural-language question about the corpus as a whole (max 4000 characters). | |
| workspace_id | No | Workspace that owns the graph, 1–63 chars of [a-z0-9-]. Use the same id for every operation on one corpus. Defaults to "default". | default |
| community_level | No | Which communities to summarise: "leaf" (default) for all terminal communities, or an integer to use exactly that level of the hierarchy (higher levels are broader and cheaper). |