Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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>
  • Loading branch information
waleedlatif1 and claude committed Mar 19, 2026
commit 68b2302d98b9eaa9c264289fe11de0b092b7880f
9 changes: 5 additions & 4 deletions apps/docs/content/docs/en/tools/box.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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 |
Expand Down Expand Up @@ -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 |
Expand Down
4 changes: 2 additions & 2 deletions apps/sim/tools/box/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down