generate_nuxt_routing
Generate Nuxt 3 file-based routing with middleware, layouts, definePageMeta, and composables
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": {
"appName": "<appName>",
"routes": "<routes>"
},
"name": "generate_nuxt_routing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routes | Yes | Comma-separated route paths (e.g. index,dashboard,users/[id]) | |
| appName | Yes | Application name | |
| withI18n | No | Include @nuxtjs/i18n setup | |
| withLayouts | No | Include layout files | |
| withServerRoutes | No | Include server/api routes | |
| withAuthMiddleware | No | Include auth middleware |