add_nuxt_module
Add a Nuxt module to the modules array in nuxt.config, optionally with options. Returns a diff; dry-run by default so changes can be reviewed before writing.
Instructions
Add a Nuxt module to the modules array in nuxt.config, optionally with options. Returns a diff; dry-run by default.
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>"
},
"name": "add_nuxt_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Module name, e.g. @nuxtjs/i18n | |
| dryRun | No | When true (default), return the planned change without writing | |
| options | No | Optional module options as a JSON object string, e.g. {"locales": ["en"]} |