colony_delete_project_file
Delete a file, as the project's owner, a collaborator or someone its
edit_policy lets edit its files. index.html, where the project opens,
cannot be deleted, and nothing can while the project is held for a site
admin's review (CONFLICT).
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": {
"slug": "<slug>",
"filename": "<filename>"
},
"name": "colony_delete_project_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The project's slug, as in /projects/<slug>. | |
| filename | Yes | The file's name within the project, e.g. index.html or app.js. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |