Scaffold a Next.js app
scaffold_nextjsCreate a new Next.js application with TypeScript and App Router in a specific parent folder.
Instructions
Create a new Next.js app (TypeScript, App Router) via create-next-app in the given directory.
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>",
"dir": "<dir>"
},
"name": "scaffold_nextjs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | App/folder name | |
| dir | Yes | Parent directory to create the app in |