colony_get_project_file
One file's content and etag. Send the etag back as expected_etag on
colony_write_project_file to be refused if someone changed the file
after you read it.
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_get_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 |