You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8a1b0ce
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/docs/content/docs/integrations/file.mdx
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ In Sim, the File block allows your agents to search, read, and extract text from
28
28
29
29
## Usage Instructions
30
30
31
-
Read workspace file objects, search indexed text across the workspace or selected folder scopes, extract the text content of files, fetch and parse files from URLs with optional headers, write new workspace files, append content to existing files, compress files into a .zip archive, extract a .zip archive into the workspace, or manage the public share link for a file.
31
+
Read workspace file objects, search indexed text across the workspace or selected folder scopes, extract the text content of files, fetch and parse files from URLs with optional headers, write new workspace files, append content to existing files, compress files into a .zip archive, extract a .zip archive into the workspace, or manage the public share link for a file or folder.
32
32
33
33
34
34
@@ -278,6 +278,30 @@ Enable or disable the public share link for a workspace file, and set its access
278
278
|`hasPassword`| boolean | Whether the share is password-protected |
279
279
|`allowedEmails`| array | Allowed emails/domains for email or SSO access |
280
280
281
+
### Manage Folder Sharing
282
+
283
+
Enable or disable the public share link for a workspace file folder and its current descendants. Set public, password, email, or SSO access. The link stays stable across changes.
284
+
285
+
#### Input
286
+
287
+
| Parameter | Type | Required | Description |
288
+
| --------- | ---- | -------- | ----------- |
289
+
|`path`| string | Yes | Canonical percent-encoded folder path, e.g. "/Reports/Q3%20Results". The workspace root cannot be shared. |
290
+
|`isActive`| boolean | Yes | Whether the public folder link is enabled. Set false to disable access. |
291
+
|`authType`| string | No | Access mode: "public", "password", "email", or "sso". Defaults to "public". |
292
+
|`password`| string | No | Password to protect the link. Required when authType is "password". |
293
+
|`allowedEmails`| array | No | Allowed emails or "@domain" patterns for email or SSO access. |
294
+
295
+
#### Output
296
+
297
+
| Parameter | Type | Description |
298
+
| --------- | ---- | ----------- |
299
+
|`url`| string | Public folder URL; empty when the link is disabled |
300
+
|`isActive`| boolean | Whether the public folder link is enabled |
|`hasPassword`| boolean | Whether the link is password-protected |
303
+
|`allowedEmails`| array | Allowed emails/domains for email or SSO access |
304
+
281
305
### List Files and Folders
282
306
283
307
List what is inside a workspace folder: its subfolders and its files together. Lists direct children by default; set Recursive to walk the whole subtree.
0 commit comments