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
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 |
Input Schema (JSON Schema)
{
"properties": {
"fields": {
"description": "Fields to include in the query",
"items": {
"type": "string"
},
"type": "array"
},
"filter": {
"description": "Optional filter criteria (structure depends on schema)",
"type": "object"
},
"limit": {
"description": "Optional limit for the number of results (must be positive integer)",
"type": "number"
},
"typeName": {
"description": "The name of the GraphQL type to query",
"type": "string"
}
},
"required": [
"typeName",
"fields"
],
"type": "object"
}