graphql_query
Run arbitrary GraphQL queries on GitHub's v4 API to fetch nested data, such as organization teams and members, in one round trip.
Instructions
Run an arbitrary GraphQL query against GitHub's v4 API.
Useful for nested fetches (e.g. org -> teams -> members) in one round trip.
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_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| variables | No |