write_integration_file
Writes or updates a Studio project file, validating XML well-formedness before saving and creating a .bak backup by default to protect existing content.
Instructions
Write or update a file in a Studio project. Validates XML well-formedness before writing. Creates a .bak backup 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": {
"project_name": "<project_name>",
"file_path": "<file_path>",
"content": "<content>"
},
"name": "write_integration_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The file content to write | |
| file_path | Yes | Path to the file relative to the project root | |
| project_name | Yes | The Studio project name | |
| create_backup | No | Create a .bak backup of the existing file before overwriting. Defaults to the server config setting. |