write_project_files
Create, update or delete files in a project (1–100 per call, each up to 1 MB; paths are relative, no ..). Other files are left as they are. Overwrites and deletes are applied to the working files immediately — confirm with the user, and use list_checkpoints/restore_checkpoint to undo. Pass version (from get_project) to refuse the write if anything changed since you read it. The published site does not change until you deploy again.
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": {
"id": "<id>",
"files": "<files>"
},
"name": "write_project_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Project UUID | |
| files | Yes | Files to write | |
| version | No | Optional: the project version you last read |