Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
101 changes: 101 additions & 0 deletions apps/docs/components/icons.tsx

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion apps/docs/components/ui/icon-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ import {
ExtendIcon,
EyeIcon,
FathomIcon,
FindymailIcon,
FirecrawlIcon,
FirefliesIcon,
GammaIcon,
Expand Down Expand Up @@ -143,6 +144,7 @@ import {
PostgresIcon,
PosthogIcon,
ProfoundIcon,
ProspeoIcon,
PulseIcon,
QdrantIcon,
QuiverIcon,
Expand Down Expand Up @@ -261,7 +263,8 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
extend_v2: ExtendIcon,
fathom: FathomIcon,
file: DocumentIcon,
file_v3: DocumentIcon,
file_v4: DocumentIcon,
findymail: FindymailIcon,
firecrawl: FirecrawlIcon,
fireflies: FirefliesIcon,
fireflies_v2: FirefliesIcon,
Expand Down Expand Up @@ -360,6 +363,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
postgresql: PostgresIcon,
posthog: PosthogIcon,
profound: ProfoundIcon,
prospeo: ProspeoIcon,
pulse: PulseIcon,
pulse_v2: PulseIcon,
qdrant: QdrantIcon,
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/de/tools/file.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Mehrere Dateien lesen und parsen
import { BlockInfoCard } from "@/components/ui/block-info-card"

<BlockInfoCard
type="file_v3"
type="file_v4"
color="#40916C"
/>

Expand Down
48 changes: 48 additions & 0 deletions apps/docs/content/docs/en/tools/cloudwatch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -257,4 +257,52 @@ List and filter CloudWatch alarms
| ↳ `threshold` | number | Threshold value \(MetricAlarm only\) |
| ↳ `stateUpdatedTimestamp` | number | Epoch ms when state last changed |

### `cloudwatch_mute_alarm`

Create a CloudWatch alarm mute rule that suppresses alarms for a fixed duration

#### Input

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `awsRegion` | string | Yes | AWS region \(e.g., us-east-1\) |
| `awsAccessKeyId` | string | Yes | AWS access key ID |
| `awsSecretAccessKey` | string | Yes | AWS secret access key |
| `muteRuleName` | string | Yes | Unique name for the mute rule \(used later to unmute\) |
| `alarmNames` | array | Yes | Names of the CloudWatch alarms this mute rule targets |
| `durationValue` | number | Yes | How long the mute lasts \(paired with durationUnit\) |
| `durationUnit` | string | Yes | Unit for durationValue: minutes, hours, or days |
| `description` | string | No | Optional description of why the alarms are being muted |
| `startDate` | number | No | When the mute window begins as Unix epoch seconds. Defaults to now \(mute starts immediately\). |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `success` | boolean | Whether the mute rule was created successfully |
| `muteRuleName` | string | Name of the mute rule that was created |
| `alarmNames` | array | Names of the alarms this rule mutes |
| `expression` | string | Schedule expression used by the mute rule |
| `duration` | string | ISO 8601 duration of the mute window |

### `cloudwatch_unmute_alarm`

Delete a CloudWatch alarm mute rule, restoring alarm notifications

#### Input

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `awsRegion` | string | Yes | AWS region \(e.g., us-east-1\) |
| `awsAccessKeyId` | string | Yes | AWS access key ID |
| `awsSecretAccessKey` | string | Yes | AWS secret access key |
| `muteRuleName` | string | Yes | Name of the mute rule to delete |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `success` | boolean | Whether the mute rule was deleted successfully |
| `muteRuleName` | string | Name of the mute rule that was deleted |


39 changes: 29 additions & 10 deletions apps/docs/content/docs/en/tools/file.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: File
description: Read and write workspace files
description: Read, fetch, write, and append files
---

import { BlockInfoCard } from "@/components/ui/block-info-card"

<BlockInfoCard
type="file_v3"
type="file_v4"
color="#40916C"
/>

Expand All @@ -27,30 +27,49 @@ The File Parser tool is particularly useful for scenarios where your agents need

## Usage Instructions

Read and parse files from uploads or URLs, write new workspace files, or append content to existing files.
Read workspace files by picker or canonical ID, fetch and parse files from URLs with optional headers, write new workspace files, or append content to existing files.



## Tools

### `file_parser`
### `file_fetch`

Parse one or more uploaded files or files from URLs (text, PDF, CSV, images, etc.)
#### Input

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `file` | file | First workspace file object \(read\) |
| `files` | file[] | Workspace file objects \(read\) or fetched file objects \(fetch\) |
| `combinedContent` | string | All fetched file contents merged into a single text string \(fetch\) |
| `id` | string | File ID \(write\) |
| `name` | string | File name \(write\) |
| `size` | number | File size in bytes \(write\) |
| `url` | string | URL to access the file \(write\) |

### `file_read`

#### Input

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `filePath` | string | No | Path to the file\(s\). Can be a single path, URL, or an array of paths. |
| `file` | file | No | Uploaded file\(s\) to parse |
| `fileType` | string | No | Type of file to parse \(auto-detected if not specified\) |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `files` | file[] | Parsed files as UserFile objects |
| `combinedContent` | string | Combined content of all parsed files |
| `file` | file | First workspace file object \(read\) |
| `files` | file[] | Workspace file objects \(read\) or fetched file objects \(fetch\) |
| `combinedContent` | string | All fetched file contents merged into a single text string \(fetch\) |
| `id` | string | File ID \(write\) |
| `name` | string | File name \(write\) |
| `size` | number | File size in bytes \(write\) |
| `url` | string | URL to access the file \(write\) |

### `file_write`

Expand Down
Loading
Loading