wetrack_add_project_file
Register an already-uploaded S3 file to a project by recording its name, size, type, and folder. Use after presigned upload to add the file to WeTrack project files.
Instructions
Register an already-uploaded S3 file in project files. Upload to S3 first using wetrack_get_upload_presign_url, then call this.
Args: project_id: The project UUID. file_name: The file name e.g. 'requirements.pdf'. file_size: File size in bytes. s3_url: The S3 URL returned from the upload. file_type: MIME type e.g. 'application/pdf'. folder_id: UUID of the folder to place the file in.
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>",
"file_name": "<file_name>",
"file_size": "<file_size>",
"s3_url": "<s3_url>"
},
"name": "wetrack_add_project_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| s3_url | Yes | ||
| file_name | Yes | ||
| file_size | Yes | ||
| file_type | No | ||
| folder_id | No | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |