Write file
write_fileCreate or overwrite a file in an app, automatically creating all missing parent directories so the file is saved without path errors.
Instructions
Create or overwrite a file in an app. Parent directories are created automatically.
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": {
"app": "<app>",
"path": "<path>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| path | Yes | Path relative to the app root | |
| content | Yes |