@devries-cameron20 / composio Mirror · read-only / commits / 796a54134
Fork 0

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 21, 12:15 UTC

docs: auto-generate TypeScript SDK reference

jkomyno committed Sep 17, 2026 at 13:21 UTC 796a541343048e1794de2d39ee4eb560dc625cdb
2 files changed +6 -7
docs/content/reference/sdk-reference/typescript/tools.mdx
+1 -1
@@ -197,7 +197,7 @@ async getInput(slug: string, body: ToolGetInputParams, requestOptions?: Composio
197
198 | Name | Type | Description |
199 |------|------|-------------|
200 -| `slug` | `string` | The human-friendly ID of the tool to generate arguments for |
200 +| `slug` | `string` | The slug of the tool to generate arguments for |
201 | `body` | `ToolGetInputParams` | The generation request |
202 | `requestOptions?` | `ComposioRequestOptions` | |
203
docs/content/reference/sdk-reference/typescript/triggers.mdx
+5 -6
@@ -311,11 +311,7 @@ await composio.triggers.setWebhookSubscription({
311 Subscribe to all the triggers
312
313 ```typescript
314 -async subscribe(
315 - fn: (_data: IncomingTriggerPayload) => void,
316 - filters?: TriggerSubscribeParams,
317 - onSubscriptionError?: (data: Record<string, unknown>) => void
318 -): Promise<void>
314 +async subscribe(fn: (_data: IncomingTriggerPayload) => void, filters: TriggerSubscribeParams, onSubscriptionError?: (data: Record<string, unknown>) => void): Promise<void>
315 ```
316
317 **Parameters**
@@ -324,7 +320,10 @@ async subscribe(
320 |------|------|-------------|
321 | `fn` | `(_data: IncomingTriggerPayload) => void` | The function to call when a trigger is received |
322 | `filters` | `TriggerSubscribeParams` | The filters to apply to the triggers |
327 -| `onSubscriptionError` | `(data: Record<string, unknown>) => void` | Optional callback invoked with the raw Pusher payload when the subscription fails (for example on auth or permission rejection). The promise still resolves; this is the only programmatic signal of the failure |
323 +| `onSubscriptionError?` | `(data: Record<string, unknown>) => void` | Optional callback invoked with the raw Pusher payload when
324 +the underlying subscription fails (for example on auth or permission rejection). The
325 +subscribe promise still resolves; this is the only programmatic signal of the failure.
326 +Errors thrown from — or promises rejected by — the callback are contained and logged. |
327
328 **Returns**
329