Write project files
write_filesTrial version, not for production, online for a limited time. Without a key, this first call creates the trial. A commit on the project's branch at while, without a terminal: each named file is replaced by its full content, those in delete are removed; deploy_app then deploys this commit. 2 MiB and 200 files per call.
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": {
"files": "<files>"
},
"name": "write_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Path → full text content of the file (it replaces the old one). | |
| trial | No | The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call. | |
| delete | No | The files or folders to delete. | |
| message | No | The commit message, in one sentence. | |
| project | No | The project. | |
| language | No | Trial creation: your human's language. while's texts for them are in that language, to_say included. Without this parameter, your session's language, then English. |