build-query
Generate precise GraphQL query strings tailored to specific types, including customizable fields, filters, and result limits, simplifying data retrieval for your projects.
Instructions
Build a simple GraphQL query string for a specific type
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": {
"typeName": "<typeName>",
"fields": "<fields>"
},
"name": "build-query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Fields to include in the query | |
| filter | No | Optional filter criteria (structure depends on schema) | |
| limit | No | Optional limit for the number of results (must be positive integer) | |
| typeName | Yes | The name of the GraphQL type to query |