FileAppendTask
Append content to the end of existing files. Ideal for updating logs, adding exports, or extending configuration files without risking existing code integrity.
Category: File
Side-Effect: Destructive
Model: GPT-4 Preferred
⚙️ ExecutionConfig.json
{
"task_type": "FileAppend",
"file": "CHANGELOG.md",
"append_content": "## [1.0.1] - Fixed login bug",
"related_files": ["src/auth/Login.kt"]
}
→
👁️ Session UI (Proposed Append)
Proposed Append
Proposed Append to app.properties
# Added by FileAppendTask
db.timeout=30000
db.timeout=30000
Test Workspace Browser
Explore the output and state of the FileAppendTask test workspace.
Execution Configuration
| Field | Type | Description |
|---|---|---|
file * |
String |
The relative path to the file to append content to. |
append_content |
String |
The specific content to append or a natural language description of what to add. |
related_files |
List<String> |
Additional files provided to the AI to ensure the appended content matches project style/context. |
💡 Technical Note
Unlike FileModificationTask, the target file is not provided to the AI. Only the related_files are used as context. This makes it highly efficient for large files where you only need to add to the end.