Skip to content

Commit a7943c3

Browse files
waleedlatif1claude
andcommitted
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>
1 parent c6ef3fd commit a7943c3

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

apps/docs/content/docs/en/tools/box.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ With the Box integration in Sim, you can:
2828
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.
2929
{/* MANUAL-CONTENT-END */}
3030

31+
3132
## Usage Instructions
3233

3334
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
5354

5455
| Parameter | Type | Description |
5556
| --------- | ---- | ----------- |
56-
| `id` | string | Uploaded file ID |
57-
| `name` | string | Uploaded file name |
57+
| `id` | string | File ID |
58+
| `name` | string | File name |
5859
| `size` | number | File size in bytes |
5960
| `sha1` | string | SHA1 hash of file content |
6061
| `createdAt` | string | Creation timestamp |
@@ -204,8 +205,8 @@ Copy a file to another folder in Box
204205

205206
| Parameter | Type | Description |
206207
| --------- | ---- | ----------- |
207-
| `id` | string | Uploaded file ID |
208-
| `name` | string | Uploaded file name |
208+
| `id` | string | File ID |
209+
| `name` | string | File name |
209210
| `size` | number | File size in bytes |
210211
| `sha1` | string | SHA1 hash of file content |
211212
| `createdAt` | string | Creation timestamp |

apps/sim/tools/box/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ export const SEARCH_RESULT_OUTPUT_PROPERTIES = {
240240
} as const satisfies Record<string, OutputProperty>
241241

242242
export const UPLOAD_FILE_OUTPUT_PROPERTIES = {
243-
id: { type: 'string', description: 'Uploaded file ID' },
244-
name: { type: 'string', description: 'Uploaded file name' },
243+
id: { type: 'string', description: 'File ID' },
244+
name: { type: 'string', description: 'File name' },
245245
size: { type: 'number', description: 'File size in bytes' },
246246
sha1: { type: 'string', description: 'SHA1 hash of file content', optional: true },
247247
createdAt: { type: 'string', description: 'Creation timestamp', optional: true },

0 commit comments

Comments
 (0)