atelierb_write_file
Write or update B source files, C code, or Makefiles in the workspace, automatically creating backups before overwriting.
Instructions
Write or update the content of a B source file (.mch, .ref, .imp, etc.), C code (.c, .h), or Makefile in the workspace. Creates a backup by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The new content to write to the file | |
| file_path | Yes | Relative path from workspace root to the file | |
| create_backup | No | If true (default), creates a .bak backup before overwriting |