acc_upload_file
Upload a local file to an ACC Docs folder. If a file with the same name already exists, a new version is added; otherwise a new document is created. Handles large files via chunked S3 upload.
Instructions
Upload a local file to an ACC Docs folder. If a file with the same name already exists there, a NEW VERSION is added (correct CDE behaviour); otherwise a new document is created. Tip: validate the name against the project naming convention first (acc_validate_names). Uses chunked S3 upload, so large models are fine.
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>",
"folder_id": "<folder_id>",
"local_path": "<local_path>"
},
"name": "acc_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name in ACC (defaults to the local file name) | |
| folder_id | Yes | Destination folder URN | |
| local_path | Yes | Path of the file on this computer, e.g. 'C:/Projects/ABC/model.rvt' | |
| project_id | Yes | Project id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |