gqlclient_generate_hooks
Generate typed GraphQL query and mutation hooks for your project. Point to your project directory, and the tool creates ready-to-use hooks from your GraphQL operations.
Instructions
Generate typed query/mutation hooks (Pro feature)
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": {
"directory": "<directory>"
},
"name": "gqlclient_generate_hooks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| directory | Yes | Project directory |