Update project file
projects_files_updateStage a full replacement of an existing text file. It stays uncommitted until projects_changes_commit.
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_id": "<project_id>",
"path": "<path>",
"content": "<content>"
},
"name": "projects_files_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the existing text file to replace. | |
| content | Yes | Complete replacement UTF-8 text content for the file. | |
| project_id | Yes | UUID of a Bunstation project owned by the authenticated user. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| action | Yes | ||
| committed | Yes | ||
| project_id | Yes |