graphql_generate_resolvers
Generate resolver functions for GraphQL types and fields. Select the operations and datasource (Prisma, TypeORM, Mongoose, Knex, or custom) to scaffold the code.
Instructions
Generate resolver functions for GraphQL schema types and fields
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": {
"type_name": "<type_name>",
"operations": "<operations>"
},
"name": "graphql_generate_resolvers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| type_name | Yes | The GraphQL type to generate resolvers for | |
| datasource | No | Data source ORM/library | prisma |
| operations | Yes | Which resolver types to generate |