fix(box): use generic output descriptions for shared file properties

Rename "Uploaded file ID/name" to "File ID/name" in
UPLOAD_FILE_OUTPUT_PROPERTIES since the constant is shared by both
upload and copy operations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Waleed Latif
2026-03-18 21:22:34 -07:00
parent 6e5cd21ab0
commit 68b2302d98
2 changed files with 7 additions and 6 deletions

View File

@@ -28,6 +28,7 @@ With the Box integration in Sim, you can:
These capabilities allow your Sim agents to automate Box operations directly within your workflows — from organizing documents and distributing content to processing uploaded files and maintaining structured cloud storage as part of your business processes.
{/* MANUAL-CONTENT-END */}
## Usage Instructions
Integrate Box into your workflow to manage files and folders. Upload and download files, get file information, list folder contents, create and delete folders, copy files, search across your Box account, and update file metadata.
@@ -53,8 +54,8 @@ Upload a file to a Box folder
| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `id` | string | Uploaded file ID |
| `name` | string | Uploaded file name |
| `id` | string | File ID |
| `name` | string | File name |
| `size` | number | File size in bytes |
| `sha1` | string | SHA1 hash of file content |
| `createdAt` | string | Creation timestamp |
@@ -204,8 +205,8 @@ Copy a file to another folder in Box
| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `id` | string | Uploaded file ID |
| `name` | string | Uploaded file name |
| `id` | string | File ID |
| `name` | string | File name |
| `size` | number | File size in bytes |
| `sha1` | string | SHA1 hash of file content |
| `createdAt` | string | Creation timestamp |

View File

@@ -240,8 +240,8 @@ export const SEARCH_RESULT_OUTPUT_PROPERTIES = {
} as const satisfies Record<string, OutputProperty>
export const UPLOAD_FILE_OUTPUT_PROPERTIES = {
id: { type: 'string', description: 'Uploaded file ID' },
name: { type: 'string', description: 'Uploaded file name' },
id: { type: 'string', description: 'File ID' },
name: { type: 'string', description: 'File name' },
size: { type: 'number', description: 'File size in bytes' },
sha1: { type: 'string', description: 'SHA1 hash of file content', optional: true },
createdAt: { type: 'string', description: 'Creation timestamp', optional: true },