Get an address to upload files for a change request
upload_task_filesAn upload address for the files a change request will carry, in one project: a design's own files (HTML, CSS, scripts, fonts, pictures) as ONE .zip of the folder, which CodeGene checks (files that hold passwords or keys, source maps and anything not part of a design are left out, with the reason) and its Builder unpacks beside its work; or a picture, PDF or recording. PUT each file to uploadUrl before expiresAt (the curl field; add ?name= to name it). Each upload answers attachment.id (att_...): pass the ids as request_change attachments, for the same project. Treat uploadUrl like a password until it expires.
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": {
"project_id": "<project_id>"
},
"name": "upload_task_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project the change is for (list_projects gives ids). | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |