Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 22, 03:15 UTC
revert: restore auto-generated usage sections as-is
No special handling for auto-generated SDK docs. The wrong access paths are a generator issue to fix separately, not a per-file override. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sushmitha Mallesh committed
Mar 11, 2026 at 00:29 UTC
4656020bc06c6e1e5f8491c08ec0d0c2f2b64b6d
3 files changed
+6
-15
docs/content/reference/sdk-reference/typescript/remote-file.mdx
+2
-5
@@ -5,14 +5,11 @@ description: Represents a file stored in a tool router session's file mount. Pro
5
6
## Usage
7
8
-`RemoteFile` is returned by session file operations such as `session.files.download()` and `session.files.upload()`:
8
+Access this class through the `composio.remoteFile` property:
9
10
```typescript
11
const composio = new Composio({ apiKey: 'your-api-key' });
12
-const session = await composio.toolRouter.use('session_123');
13
-const file = await session.files.download('/output/report.pdf');
14
-// file is a RemoteFile instance
15
-const content = await file.text();
12
+const result = await composio.remoteFile.list();
13
```
14
15
## Properties
docs/content/reference/sdk-reference/typescript/tool-router-session-files-mount.mdx
+2
-3
@@ -5,12 +5,11 @@ description: ToolRouterSessionFilesMount class reference
5
6
## Usage
7
8
-Access via the `files` property on a session:
8
+Access this class through the `composio.toolRouterSessionFilesMount` property:
9
10
```typescript
11
const composio = new Composio({ apiKey: 'your-api-key' });
12
-const session = await composio.toolRouter.use('session_123');
13
-const { items } = await session.files.list({ path: '/' });
12
+const result = await composio.toolRouterSessionFilesMount.list();
13
```
14
15
## Methods
docs/content/reference/sdk-reference/typescript/tool-router-session.mdx
+2
-7
@@ -5,16 +5,11 @@ description: ToolRouterSession class reference
5
6
## Usage
7
8
-Obtain a session via `composio.toolRouter`:
8
+Access this class through the `composio.toolRouterSession` property:
9
10
```typescript
11
const composio = new Composio({ apiKey: 'your-api-key' });
12
-
13
-// Use an existing session
14
-const session = await composio.toolRouter.use('session_123');
15
-
16
-// Or create a new session
17
-const session = await composio.toolRouter.create('user_123', { toolkits: ['github'] });
12
+const result = await composio.toolRouterSession.list();
13
```
14
15
## Properties