sg_upload
Upload a local file to any entity field in ShotGrid, such as setting an image as a thumbnail or attaching a movie to 'sg_uploaded_movie'. Specify the entity type, ID, and file path to attach files directly to production tracking records.
Instructions
Upload a file to any entity field in ShotGrid.
Use field_name='image' for thumbnails, 'sg_uploaded_movie' for movies, or any file/url field.
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": {
"params": "<params>"
},
"name": "sg_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |