Nextjs Helpers Generate
nextjs_helpers_generateGenerate Next.js helper functions for Drupal entities to simplify data fetching and integration in headless projects.
Instructions
Generate Next.js helper functions for Drupal entities.
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": {
"entity_types": "<entity_types>"
},
"name": "nextjs_helpers_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | ./nextjs-helpers | |
| entity_types | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||