create_graphql_api
Generate a GraphQL API using Apollo Server or Yoga by defining your schema, queries, mutations, and optional subscriptions, with integrated data sources.
Instructions
Generate a GraphQL API with Apollo Server or Yoga, including subscriptions and data source integration
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": {
"name": "<name>",
"schema": "<schema>"
},
"name": "create_graphql_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the GraphQL API | |
| schema | Yes | ||
| data_source | No | Data source | |
| subscriptions | No | Include WebSocket subscriptions |