Skip to content

Commit 1b7437a

Browse files
v0.4.21: more internal auth changes, supabase vector search tool
2 parents 9751c9f + 4d7ebd8 commit 1b7437a

File tree

22 files changed

+313
-17
lines changed

22 files changed

+313
-17
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Send a message to a Discord channel
7575
| `channelId` | string | Yes | The Discord channel ID to send the message to |
7676
| `content` | string | No | The text content of the message |
7777
| `serverId` | string | Yes | The Discord server ID \(guild ID\) |
78+
| `files` | file[] | No | Files to attach to the message |
7879

7980
#### Output
8081

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,4 +230,4 @@ curl -X POST https://sim.ai/api/webhooks/trigger/{webhook-path} \
230230
- Category: `triggers`
231231
- Type: `generic_webhook`
232232
- **File Support**: Available via input format configuration
233-
- **Max File Size**: 20MB per file
233+
- **Max File Size**: 20MB per file

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@ Upload a file to Google Drive
8888
| Parameter | Type | Required | Description |
8989
| --------- | ---- | -------- | ----------- |
9090
| `fileName` | string | Yes | The name of the file to upload |
91-
| `content` | string | Yes | The content of the file to upload |
92-
| `mimeType` | string | No | The MIME type of the file to upload |
91+
| `file` | file | No | Binary file to upload \(UserFile object\) |
92+
| `content` | string | No | Text content to upload \(use this OR file, not both\) |
93+
| `mimeType` | string | No | The MIME type of the file to upload \(auto-detected from file if not provided\) |
9394
| `folderSelector` | string | No | Select the folder to upload the file to |
9495
| `folderId` | string | No | The ID of the folder to upload the file to \(internal use\) |
9596

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ Write or update content in a Microsoft Teams chat
138138
| --------- | ---- | -------- | ----------- |
139139
| `chatId` | string | Yes | The ID of the chat to write to |
140140
| `content` | string | Yes | The content to write to the message |
141+
| `files` | file[] | No | Files to attach to the message |
141142

142143
#### Output
143144

@@ -187,6 +188,7 @@ Write or send a message to a Microsoft Teams channel
187188
| `teamId` | string | Yes | The ID of the team to write to |
188189
| `channelId` | string | Yes | The ID of the channel to write to |
189190
| `content` | string | Yes | The content to write to the channel |
191+
| `files` | file[] | No | Files to attach to the message |
190192

191193
#### Output
192194

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ Upload a file to OneDrive
6666
| Parameter | Type | Required | Description |
6767
| --------- | ---- | -------- | ----------- |
6868
| `fileName` | string | Yes | The name of the file to upload |
69-
| `content` | string | Yes | The content of the file to upload |
69+
| `file` | file | No | The file to upload \(binary\) |
70+
| `content` | string | No | The text content to upload \(if no file is provided\) |
7071
| `folderSelector` | string | No | Select the folder to upload the file to |
7172
| `manualFolderId` | string | No | Manually entered folder ID \(advanced mode\) |
7273

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ Send emails using Outlook
161161
| `conversationId` | string | No | Conversation ID for threading |
162162
| `cc` | string | No | CC recipients \(comma-separated\) |
163163
| `bcc` | string | No | BCC recipients \(comma-separated\) |
164+
| `attachments` | file[] | No | Files to attach to the email |
164165

165166
#### Output
166167

@@ -184,6 +185,7 @@ Draft emails using Outlook
184185
| `body` | string | Yes | Email body content |
185186
| `cc` | string | No | CC recipients \(comma-separated\) |
186187
| `bcc` | string | No | BCC recipients \(comma-separated\) |
188+
| `attachments` | file[] | No | Files to attach to the email draft |
187189

188190
#### Output
189191

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,26 @@ Add a new item to a SharePoint list
202202
| --------- | ---- | ----------- |
203203
| `item` | object | Created SharePoint list item |
204204

205+
### `sharepoint_upload_file`
206+
207+
Upload files to a SharePoint document library
208+
209+
#### Input
210+
211+
| Parameter | Type | Required | Description |
212+
| --------- | ---- | -------- | ----------- |
213+
| `siteId` | string | No | The ID of the SharePoint site |
214+
| `driveId` | string | No | The ID of the document library \(drive\). If not provided, uses default drive. |
215+
| `folderPath` | string | No | Optional folder path within the document library \(e.g., /Documents/Subfolder\) |
216+
| `fileName` | string | No | Optional: override the uploaded file name |
217+
| `files` | file[] | No | Files to upload to SharePoint |
218+
219+
#### Output
220+
221+
| Parameter | Type | Description |
222+
| --------- | ---- | ----------- |
223+
| `uploadedFiles` | array | Array of uploaded file objects |
224+
205225

206226

207227
## Notes

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ Send messages to Slack channels or users through the Slack API. Supports Slack m
8282
| `botToken` | string | No | Bot token for Custom Bot |
8383
| `channel` | string | Yes | Target Slack channel \(e.g., #general\) |
8484
| `text` | string | Yes | Message text to send \(supports Slack mrkdwn formatting\) |
85+
| `files` | file[] | No | Files to attach to the message |
8586

8687
#### Output
8788

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,28 @@ Insert or update data in a Supabase table (upsert operation)
205205
| `message` | string | Operation status message |
206206
| `results` | array | Array of upserted records |
207207

208+
### `supabase_vector_search`
209+
210+
Perform similarity search using pgvector in a Supabase table
211+
212+
#### Input
213+
214+
| Parameter | Type | Required | Description |
215+
| --------- | ---- | -------- | ----------- |
216+
| `projectId` | string | Yes | Your Supabase project ID \(e.g., jdrkgepadsdopsntdlom\) |
217+
| `functionName` | string | Yes | The name of the PostgreSQL function that performs vector search \(e.g., match_documents\) |
218+
| `queryEmbedding` | array | Yes | The query vector/embedding to search for similar items |
219+
| `matchThreshold` | number | No | Minimum similarity threshold \(0-1\), typically 0.7-0.9 |
220+
| `matchCount` | number | No | Maximum number of results to return \(default: 10\) |
221+
| `apiKey` | string | Yes | Your Supabase service role secret key |
222+
223+
#### Output
224+
225+
| Parameter | Type | Description |
226+
| --------- | ---- | ----------- |
227+
| `message` | string | Operation status message |
228+
| `results` | array | Array of records with similarity scores from the vector search. Each record includes a similarity field \(0-1\) indicating how similar it is to the query vector. |
229+
208230

209231

210232
## Notes

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,26 @@ Send animations (GIFs) to Telegram channels or users through the Telegram Bot AP
191191
| `message` | string | Success or error message |
192192
| `data` | object | Telegram message data including optional media |
193193

194+
### `telegram_send_document`
195+
196+
Send documents (PDF, ZIP, DOC, etc.) to Telegram channels or users through the Telegram Bot API.
197+
198+
#### Input
199+
200+
| Parameter | Type | Required | Description |
201+
| --------- | ---- | -------- | ----------- |
202+
| `botToken` | string | Yes | Your Telegram Bot API Token |
203+
| `chatId` | string | Yes | Target Telegram chat ID |
204+
| `files` | file[] | No | Document file to send \(PDF, ZIP, DOC, etc.\). Max size: 50MB |
205+
| `caption` | string | No | Document caption \(optional\) |
206+
207+
#### Output
208+
209+
| Parameter | Type | Description |
210+
| --------- | ---- | ----------- |
211+
| `message` | string | Success or error message |
212+
| `data` | object | Telegram message data including document |
213+
194214

195215

196216
## Notes

0 commit comments

Comments
 (0)