Save a selected photo to TriFit
upload_trifit_imageWith explicit permission, import the selected personal or clothing image into the connected TriFit account. Resizes automatically, saves it in the website library and selects its photo/product slot. Product images also use the existing cached description preparation. Never import arbitrary URLs or retry an uncertain import automatically.
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": {
"clientImportId": "<clientImportId>",
"role": "<role>",
"permissionConfirmed": "<permissionConfirmed>",
"file": "<file>"
},
"name": "upload_trifit_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| role | Yes | ||
| clientImportId | Yes | New UUID for this user-approved import. Preserve it; never replace it after an uncertain outcome. | |
| permissionConfirmed | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| reused | Yes | ||
| status | Yes | ||
| assetId | Yes | ||
| environment | Yes | ||
| librarySource | Yes |