graphql_knowledge_query
Query the GraphQL Knowledge Hub to discover structured knowledge, traverse project graphs, explore pipelines, and analyze cross-project relationships.
Instructions
Query the GraphQL Knowledge Hub API for structured knowledge discovery, project graph traversal, pipeline exploration, and cross-project relationship analysis. Requires the GraphQL server to be running (node graphql/server.cjs).
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": "graphql_knowledge_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | GraphQL query string (e.g., "{ projects { name relatedProjects } }" or "{ projectGraph(name: \"cursor-cortex\", maxDepth: 2) { project { name description } depth via } }") | |
| endpoint | No | GraphQL endpoint URL (defaults to http://localhost:4000/graphql) | |
| variables | No | Optional GraphQL variables as JSON object |