write_file
Write content to a file at a given relative path in the target Nuxt 4 codebase, supporting optional module prefixing.
Instructions
Write any content to a file in the target Nuxt 4 codebase.
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": {
"relativePath": "<relativePath>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relativePath | Yes | Relative path in target (e.g., 'composables/useAuth.ts') | |
| module | No | Optional module name to prefix path (e.g., 'deals', 'tickets') | |
| targetPath | No | Optional absolute target path override | |
| content | Yes | File content to write |