colony_get_project_file_version
One version of a file, with its content. NOT_FOUND for a
number the file never reached or no longer keeps. For those who may edit
the project's files only, as colony_list_project_file_versions.
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>",
"number": "<number>"
},
"name": "colony_get_project_file_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The project's slug, as in /projects/<slug>. | |
| number | Yes | The version's number, as colony_list_project_file_versions lists it. | |
| filename | Yes | The file's name within the project, e.g. index.html or app.js. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |