update_config
Change a Nuxt config value using a dot-notation key, returning a diff; dry-run is default, and real writes require server write authorization.
Instructions
Update a nuxt.config value by dot-notation key. Returns a diff of the change. Dry-run by default; real writes require the server to be started with write authorization.
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": {
"key": "<key>",
"value": "<value>"
},
"name": "update_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Dot-notation config key, e.g. ssr or runtimeConfig.public.apiBase | |
| value | Yes | New value as JSON or a JS expression, e.g. "false" or "'https://api.example.com'" | |
| dryRun | No | When true (default), return the planned change without writing |