diff --git a/apps/docs/components/icons.tsx b/apps/docs/components/icons.tsx index 867a81af5c2..165cd584113 100644 --- a/apps/docs/components/icons.tsx +++ b/apps/docs/components/icons.tsx @@ -2326,6 +2326,17 @@ export function AtlassianIcon(props: SVGProps) { ) } +export function CodaIcon(props: SVGProps) { + return ( + + + + ) +} + export function ConfluenceIcon(props: SVGProps) { const id = useId() const topGradientId = `confluence_top_${id}` diff --git a/apps/docs/components/ui/icon-mapping.ts b/apps/docs/components/ui/icon-mapping.ts index 6178ca24e12..b01ec77b994 100644 --- a/apps/docs/components/ui/icon-mapping.ts +++ b/apps/docs/components/ui/icon-mapping.ts @@ -61,6 +61,7 @@ import { CloudflareIcon, CloudTrailIcon, CloudWatchIcon, + CodaIcon, CodeIcon, CodePipelineIcon, ConditionalIcon, @@ -358,6 +359,7 @@ export const blockTypeToIconMap: Record = { cloudformation: CloudFormationIcon, cloudtrail: CloudTrailIcon, cloudwatch: CloudWatchIcon, + coda: CodaIcon, codepipeline: CodePipelineIcon, condition: ConditionalIcon, confluence: ConfluenceIcon, diff --git a/apps/docs/content/docs/cli/reference.mdx b/apps/docs/content/docs/cli/reference.mdx index d793c3cae88..0a92390a38c 100644 --- a/apps/docs/content/docs/cli/reference.mdx +++ b/apps/docs/content/docs/cli/reference.mdx @@ -3052,7 +3052,7 @@ sim selectors get [options] | Option | Required | Description | | --- | --- | --- | -| `--selector-key ` | Yes | Registered selector key for discovering this field’s destination options. Accepted values: `airtable.bases`, `airtable.tables`, `asana.workspaces`, `attio.lists`, `attio.objects`, `bigquery.datasets`, `bigquery.tables`, `bitbucket.workspaces`, `bitbucket.repositories`, `calcom.eventTypes`, `calcom.schedules`, `clickup.workspaces`, `clickup.spaces`, `clickup.folders`, `clickup.lists`, `confluence.spaces`, `confluence.spacesById`, `confluence.pages`, `google.tasks.lists`, `gmail.labels`, `google.calendar`, `google.drive`, `google.sheets`, `harmonic.savedSearches`, `hubspot.lists`, `hubspot.owners`, `hubspot.pipelines`, `hubspot.pipelineStages`, `hubspot.properties`, `jsm.requestTypes`, `jsm.serviceDesks`, `microsoft.planner.plans`, `notion.databases`, `notion.pages`, `netsuite.recordTypes`, `netsuite.asyncTasks`, `pipedrive.pipelines`, `sharepoint.lists`, `trello.boards`, `zoho_desk.organizations`, `zoho_desk.departments`, `zoho_desk.agents`, `zoom.meetings`, `slack.channels`, `snowflake.databases`, `snowflake.schemas`, `snowflake.tables`, `snowflake.warehouses`, `snowflake.roles`, `snowflake.fileFormats`, `snowflake.procedures`, `slack.users`, `outlook.folders`, `outlook.calendars`, `microsoft.teams`, `microsoft.chats`, `microsoft.channels`, `microsoft.planner`, `onedrive.files`, `onedrive.folders`, `sharepoint.sites`, `microsoft.excel`, `microsoft.excel.drives`, `microsoft.excel.sheets`, `microsoft.word`, `wealthbox.contacts`, `jira.issues`, `jira.projects`, `jira.projectKeys`, `linear.projects`, `linear.teams`, `monday.boards`, `monday.groups`, `webflow.sites`, `webflow.collections`, `webflow.items`, `cloudwatch.logGroups`, `cloudwatch.logStreams`, `imap.mailboxes`, `mcp.tools`, `managedAgent.agents`, `managedAgent.environments`, `managedAgent.vaults`, `managedAgent.memoryStores`, `knowledge.documents`, `sim.workflows`, `table.columns`, `table.outputColumns`, `workspace.secretNames`, `workspace.sandboxes`, `providers.ollamaEmbeddingModels`, `providers.openrouterEmbeddingModels`. | +| `--selector-key ` | Yes | Registered selector key for discovering this field’s destination options. Accepted values: `airtable.bases`, `airtable.tables`, `asana.workspaces`, `attio.lists`, `attio.objects`, `bigquery.datasets`, `bigquery.tables`, `bitbucket.workspaces`, `bitbucket.repositories`, `calcom.eventTypes`, `calcom.schedules`, `clickup.workspaces`, `clickup.spaces`, `clickup.folders`, `clickup.lists`, `coda.docs`, `coda.pages`, `coda.tables`, `coda.columns`, `coda.rows`, `coda.formulas`, `coda.controls`, `coda.folders`, `coda.permissions`, `confluence.spaces`, `confluence.spacesById`, `confluence.pages`, `google.tasks.lists`, `gmail.labels`, `google.calendar`, `google.drive`, `google.sheets`, `harmonic.savedSearches`, `hubspot.lists`, `hubspot.owners`, `hubspot.pipelines`, `hubspot.pipelineStages`, `hubspot.properties`, `jsm.requestTypes`, `jsm.serviceDesks`, `microsoft.planner.plans`, `notion.databases`, `notion.pages`, `netsuite.recordTypes`, `netsuite.asyncTasks`, `pipedrive.pipelines`, `sharepoint.lists`, `trello.boards`, `zoho_desk.organizations`, `zoho_desk.departments`, `zoho_desk.agents`, `zoom.meetings`, `slack.channels`, `snowflake.databases`, `snowflake.schemas`, `snowflake.tables`, `snowflake.warehouses`, `snowflake.roles`, `snowflake.fileFormats`, `snowflake.procedures`, `slack.users`, `outlook.folders`, `outlook.calendars`, `microsoft.teams`, `microsoft.chats`, `microsoft.channels`, `microsoft.planner`, `onedrive.files`, `onedrive.folders`, `sharepoint.sites`, `microsoft.excel`, `microsoft.excel.drives`, `microsoft.excel.sheets`, `microsoft.word`, `wealthbox.contacts`, `jira.issues`, `jira.projects`, `jira.projectKeys`, `linear.projects`, `linear.teams`, `monday.boards`, `monday.groups`, `webflow.sites`, `webflow.collections`, `webflow.items`, `cloudwatch.logGroups`, `cloudwatch.logStreams`, `imap.mailboxes`, `mcp.tools`, `managedAgent.agents`, `managedAgent.environments`, `managedAgent.vaults`, `managedAgent.memoryStores`, `knowledge.documents`, `sim.workflows`, `table.columns`, `table.outputColumns`, `workspace.secretNames`, `workspace.sandboxes`, `providers.ollamaEmbeddingModels`, `providers.openrouterEmbeddingModels`. | | `--context ` | No | Only the dependencies declared by the selector, such as oauthCredential and channelId. Missing OAuth connections require human authorization. (JSON, or @path / @- to read a file or stdin). | | `--id ` | Yes | Resource identifier. | @@ -3072,7 +3072,7 @@ sim selectors list [options] | Option | Required | Description | | --- | --- | --- | -| `--selector-key ` | Yes | Registered selector key for discovering this field’s destination options. Accepted values: `airtable.bases`, `airtable.tables`, `asana.workspaces`, `attio.lists`, `attio.objects`, `bigquery.datasets`, `bigquery.tables`, `bitbucket.workspaces`, `bitbucket.repositories`, `calcom.eventTypes`, `calcom.schedules`, `clickup.workspaces`, `clickup.spaces`, `clickup.folders`, `clickup.lists`, `confluence.spaces`, `confluence.spacesById`, `confluence.pages`, `google.tasks.lists`, `gmail.labels`, `google.calendar`, `google.drive`, `google.sheets`, `harmonic.savedSearches`, `hubspot.lists`, `hubspot.owners`, `hubspot.pipelines`, `hubspot.pipelineStages`, `hubspot.properties`, `jsm.requestTypes`, `jsm.serviceDesks`, `microsoft.planner.plans`, `notion.databases`, `notion.pages`, `netsuite.recordTypes`, `netsuite.asyncTasks`, `pipedrive.pipelines`, `sharepoint.lists`, `trello.boards`, `zoho_desk.organizations`, `zoho_desk.departments`, `zoho_desk.agents`, `zoom.meetings`, `slack.channels`, `snowflake.databases`, `snowflake.schemas`, `snowflake.tables`, `snowflake.warehouses`, `snowflake.roles`, `snowflake.fileFormats`, `snowflake.procedures`, `slack.users`, `outlook.folders`, `outlook.calendars`, `microsoft.teams`, `microsoft.chats`, `microsoft.channels`, `microsoft.planner`, `onedrive.files`, `onedrive.folders`, `sharepoint.sites`, `microsoft.excel`, `microsoft.excel.drives`, `microsoft.excel.sheets`, `microsoft.word`, `wealthbox.contacts`, `jira.issues`, `jira.projects`, `jira.projectKeys`, `linear.projects`, `linear.teams`, `monday.boards`, `monday.groups`, `webflow.sites`, `webflow.collections`, `webflow.items`, `cloudwatch.logGroups`, `cloudwatch.logStreams`, `imap.mailboxes`, `mcp.tools`, `managedAgent.agents`, `managedAgent.environments`, `managedAgent.vaults`, `managedAgent.memoryStores`, `knowledge.documents`, `sim.workflows`, `table.columns`, `table.outputColumns`, `workspace.secretNames`, `workspace.sandboxes`, `providers.ollamaEmbeddingModels`, `providers.openrouterEmbeddingModels`. | +| `--selector-key ` | Yes | Registered selector key for discovering this field’s destination options. Accepted values: `airtable.bases`, `airtable.tables`, `asana.workspaces`, `attio.lists`, `attio.objects`, `bigquery.datasets`, `bigquery.tables`, `bitbucket.workspaces`, `bitbucket.repositories`, `calcom.eventTypes`, `calcom.schedules`, `clickup.workspaces`, `clickup.spaces`, `clickup.folders`, `clickup.lists`, `coda.docs`, `coda.pages`, `coda.tables`, `coda.columns`, `coda.rows`, `coda.formulas`, `coda.controls`, `coda.folders`, `coda.permissions`, `confluence.spaces`, `confluence.spacesById`, `confluence.pages`, `google.tasks.lists`, `gmail.labels`, `google.calendar`, `google.drive`, `google.sheets`, `harmonic.savedSearches`, `hubspot.lists`, `hubspot.owners`, `hubspot.pipelines`, `hubspot.pipelineStages`, `hubspot.properties`, `jsm.requestTypes`, `jsm.serviceDesks`, `microsoft.planner.plans`, `notion.databases`, `notion.pages`, `netsuite.recordTypes`, `netsuite.asyncTasks`, `pipedrive.pipelines`, `sharepoint.lists`, `trello.boards`, `zoho_desk.organizations`, `zoho_desk.departments`, `zoho_desk.agents`, `zoom.meetings`, `slack.channels`, `snowflake.databases`, `snowflake.schemas`, `snowflake.tables`, `snowflake.warehouses`, `snowflake.roles`, `snowflake.fileFormats`, `snowflake.procedures`, `slack.users`, `outlook.folders`, `outlook.calendars`, `microsoft.teams`, `microsoft.chats`, `microsoft.channels`, `microsoft.planner`, `onedrive.files`, `onedrive.folders`, `sharepoint.sites`, `microsoft.excel`, `microsoft.excel.drives`, `microsoft.excel.sheets`, `microsoft.word`, `wealthbox.contacts`, `jira.issues`, `jira.projects`, `jira.projectKeys`, `linear.projects`, `linear.teams`, `monday.boards`, `monday.groups`, `webflow.sites`, `webflow.collections`, `webflow.items`, `cloudwatch.logGroups`, `cloudwatch.logStreams`, `imap.mailboxes`, `mcp.tools`, `managedAgent.agents`, `managedAgent.environments`, `managedAgent.vaults`, `managedAgent.memoryStores`, `knowledge.documents`, `sim.workflows`, `table.columns`, `table.outputColumns`, `workspace.secretNames`, `workspace.sandboxes`, `providers.ollamaEmbeddingModels`, `providers.openrouterEmbeddingModels`. | | `--context ` | No | Only the dependencies declared by the selector, such as oauthCredential and channelId. Missing OAuth connections require human authorization. (JSON, or @path / @- to read a file or stdin). | | `--search ` | No | Provider option search text. | | `--cursor ` | No | Continue from nextCursor returned by a previous result. | diff --git a/apps/docs/content/docs/cli/selectors.mdx b/apps/docs/content/docs/cli/selectors.mdx index e728cb93a0e..4ff6c71849b 100644 --- a/apps/docs/content/docs/cli/selectors.mdx +++ b/apps/docs/content/docs/cli/selectors.mdx @@ -21,7 +21,7 @@ Get Selector Option (OAuth login or personal API key required) | Option | Required | Description | | --- | --- | --- | -| `--selector-key ` | Yes | Registered selector key for discovering this field’s destination options. Accepted values: `airtable.bases`, `airtable.tables`, `asana.workspaces`, `attio.lists`, `attio.objects`, `bigquery.datasets`, `bigquery.tables`, `bitbucket.workspaces`, `bitbucket.repositories`, `calcom.eventTypes`, `calcom.schedules`, `clickup.workspaces`, `clickup.spaces`, `clickup.folders`, `clickup.lists`, `confluence.spaces`, `confluence.spacesById`, `confluence.pages`, `google.tasks.lists`, `gmail.labels`, `google.calendar`, `google.drive`, `google.sheets`, `harmonic.savedSearches`, `hubspot.lists`, `hubspot.owners`, `hubspot.pipelines`, `hubspot.pipelineStages`, `hubspot.properties`, `jsm.requestTypes`, `jsm.serviceDesks`, `microsoft.planner.plans`, `notion.databases`, `notion.pages`, `netsuite.recordTypes`, `netsuite.asyncTasks`, `pipedrive.pipelines`, `sharepoint.lists`, `trello.boards`, `zoho_desk.organizations`, `zoho_desk.departments`, `zoho_desk.agents`, `zoom.meetings`, `slack.channels`, `snowflake.databases`, `snowflake.schemas`, `snowflake.tables`, `snowflake.warehouses`, `snowflake.roles`, `snowflake.fileFormats`, `snowflake.procedures`, `slack.users`, `outlook.folders`, `outlook.calendars`, `microsoft.teams`, `microsoft.chats`, `microsoft.channels`, `microsoft.planner`, `onedrive.files`, `onedrive.folders`, `sharepoint.sites`, `microsoft.excel`, `microsoft.excel.drives`, `microsoft.excel.sheets`, `microsoft.word`, `wealthbox.contacts`, `jira.issues`, `jira.projects`, `jira.projectKeys`, `linear.projects`, `linear.teams`, `monday.boards`, `monday.groups`, `webflow.sites`, `webflow.collections`, `webflow.items`, `cloudwatch.logGroups`, `cloudwatch.logStreams`, `imap.mailboxes`, `mcp.tools`, `managedAgent.agents`, `managedAgent.environments`, `managedAgent.vaults`, `managedAgent.memoryStores`, `knowledge.documents`, `sim.workflows`, `table.columns`, `table.outputColumns`, `workspace.secretNames`, `workspace.sandboxes`, `providers.ollamaEmbeddingModels`, `providers.openrouterEmbeddingModels`. | +| `--selector-key ` | Yes | Registered selector key for discovering this field’s destination options. Accepted values: `airtable.bases`, `airtable.tables`, `asana.workspaces`, `attio.lists`, `attio.objects`, `bigquery.datasets`, `bigquery.tables`, `bitbucket.workspaces`, `bitbucket.repositories`, `calcom.eventTypes`, `calcom.schedules`, `clickup.workspaces`, `clickup.spaces`, `clickup.folders`, `clickup.lists`, `coda.docs`, `coda.pages`, `coda.tables`, `coda.columns`, `coda.rows`, `coda.formulas`, `coda.controls`, `coda.folders`, `coda.permissions`, `confluence.spaces`, `confluence.spacesById`, `confluence.pages`, `google.tasks.lists`, `gmail.labels`, `google.calendar`, `google.drive`, `google.sheets`, `harmonic.savedSearches`, `hubspot.lists`, `hubspot.owners`, `hubspot.pipelines`, `hubspot.pipelineStages`, `hubspot.properties`, `jsm.requestTypes`, `jsm.serviceDesks`, `microsoft.planner.plans`, `notion.databases`, `notion.pages`, `netsuite.recordTypes`, `netsuite.asyncTasks`, `pipedrive.pipelines`, `sharepoint.lists`, `trello.boards`, `zoho_desk.organizations`, `zoho_desk.departments`, `zoho_desk.agents`, `zoom.meetings`, `slack.channels`, `snowflake.databases`, `snowflake.schemas`, `snowflake.tables`, `snowflake.warehouses`, `snowflake.roles`, `snowflake.fileFormats`, `snowflake.procedures`, `slack.users`, `outlook.folders`, `outlook.calendars`, `microsoft.teams`, `microsoft.chats`, `microsoft.channels`, `microsoft.planner`, `onedrive.files`, `onedrive.folders`, `sharepoint.sites`, `microsoft.excel`, `microsoft.excel.drives`, `microsoft.excel.sheets`, `microsoft.word`, `wealthbox.contacts`, `jira.issues`, `jira.projects`, `jira.projectKeys`, `linear.projects`, `linear.teams`, `monday.boards`, `monday.groups`, `webflow.sites`, `webflow.collections`, `webflow.items`, `cloudwatch.logGroups`, `cloudwatch.logStreams`, `imap.mailboxes`, `mcp.tools`, `managedAgent.agents`, `managedAgent.environments`, `managedAgent.vaults`, `managedAgent.memoryStores`, `knowledge.documents`, `sim.workflows`, `table.columns`, `table.outputColumns`, `workspace.secretNames`, `workspace.sandboxes`, `providers.ollamaEmbeddingModels`, `providers.openrouterEmbeddingModels`. | | `--context ` | No | Only the dependencies declared by the selector, such as oauthCredential and channelId. Missing OAuth connections require human authorization. (JSON, or @path / @- to read a file or stdin). | | `--id ` | Yes | Resource identifier. | @@ -41,7 +41,7 @@ List Selector Options (OAuth login or personal API key required) | Option | Required | Description | | --- | --- | --- | -| `--selector-key ` | Yes | Registered selector key for discovering this field’s destination options. Accepted values: `airtable.bases`, `airtable.tables`, `asana.workspaces`, `attio.lists`, `attio.objects`, `bigquery.datasets`, `bigquery.tables`, `bitbucket.workspaces`, `bitbucket.repositories`, `calcom.eventTypes`, `calcom.schedules`, `clickup.workspaces`, `clickup.spaces`, `clickup.folders`, `clickup.lists`, `confluence.spaces`, `confluence.spacesById`, `confluence.pages`, `google.tasks.lists`, `gmail.labels`, `google.calendar`, `google.drive`, `google.sheets`, `harmonic.savedSearches`, `hubspot.lists`, `hubspot.owners`, `hubspot.pipelines`, `hubspot.pipelineStages`, `hubspot.properties`, `jsm.requestTypes`, `jsm.serviceDesks`, `microsoft.planner.plans`, `notion.databases`, `notion.pages`, `netsuite.recordTypes`, `netsuite.asyncTasks`, `pipedrive.pipelines`, `sharepoint.lists`, `trello.boards`, `zoho_desk.organizations`, `zoho_desk.departments`, `zoho_desk.agents`, `zoom.meetings`, `slack.channels`, `snowflake.databases`, `snowflake.schemas`, `snowflake.tables`, `snowflake.warehouses`, `snowflake.roles`, `snowflake.fileFormats`, `snowflake.procedures`, `slack.users`, `outlook.folders`, `outlook.calendars`, `microsoft.teams`, `microsoft.chats`, `microsoft.channels`, `microsoft.planner`, `onedrive.files`, `onedrive.folders`, `sharepoint.sites`, `microsoft.excel`, `microsoft.excel.drives`, `microsoft.excel.sheets`, `microsoft.word`, `wealthbox.contacts`, `jira.issues`, `jira.projects`, `jira.projectKeys`, `linear.projects`, `linear.teams`, `monday.boards`, `monday.groups`, `webflow.sites`, `webflow.collections`, `webflow.items`, `cloudwatch.logGroups`, `cloudwatch.logStreams`, `imap.mailboxes`, `mcp.tools`, `managedAgent.agents`, `managedAgent.environments`, `managedAgent.vaults`, `managedAgent.memoryStores`, `knowledge.documents`, `sim.workflows`, `table.columns`, `table.outputColumns`, `workspace.secretNames`, `workspace.sandboxes`, `providers.ollamaEmbeddingModels`, `providers.openrouterEmbeddingModels`. | +| `--selector-key ` | Yes | Registered selector key for discovering this field’s destination options. Accepted values: `airtable.bases`, `airtable.tables`, `asana.workspaces`, `attio.lists`, `attio.objects`, `bigquery.datasets`, `bigquery.tables`, `bitbucket.workspaces`, `bitbucket.repositories`, `calcom.eventTypes`, `calcom.schedules`, `clickup.workspaces`, `clickup.spaces`, `clickup.folders`, `clickup.lists`, `coda.docs`, `coda.pages`, `coda.tables`, `coda.columns`, `coda.rows`, `coda.formulas`, `coda.controls`, `coda.folders`, `coda.permissions`, `confluence.spaces`, `confluence.spacesById`, `confluence.pages`, `google.tasks.lists`, `gmail.labels`, `google.calendar`, `google.drive`, `google.sheets`, `harmonic.savedSearches`, `hubspot.lists`, `hubspot.owners`, `hubspot.pipelines`, `hubspot.pipelineStages`, `hubspot.properties`, `jsm.requestTypes`, `jsm.serviceDesks`, `microsoft.planner.plans`, `notion.databases`, `notion.pages`, `netsuite.recordTypes`, `netsuite.asyncTasks`, `pipedrive.pipelines`, `sharepoint.lists`, `trello.boards`, `zoho_desk.organizations`, `zoho_desk.departments`, `zoho_desk.agents`, `zoom.meetings`, `slack.channels`, `snowflake.databases`, `snowflake.schemas`, `snowflake.tables`, `snowflake.warehouses`, `snowflake.roles`, `snowflake.fileFormats`, `snowflake.procedures`, `slack.users`, `outlook.folders`, `outlook.calendars`, `microsoft.teams`, `microsoft.chats`, `microsoft.channels`, `microsoft.planner`, `onedrive.files`, `onedrive.folders`, `sharepoint.sites`, `microsoft.excel`, `microsoft.excel.drives`, `microsoft.excel.sheets`, `microsoft.word`, `wealthbox.contacts`, `jira.issues`, `jira.projects`, `jira.projectKeys`, `linear.projects`, `linear.teams`, `monday.boards`, `monday.groups`, `webflow.sites`, `webflow.collections`, `webflow.items`, `cloudwatch.logGroups`, `cloudwatch.logStreams`, `imap.mailboxes`, `mcp.tools`, `managedAgent.agents`, `managedAgent.environments`, `managedAgent.vaults`, `managedAgent.memoryStores`, `knowledge.documents`, `sim.workflows`, `table.columns`, `table.outputColumns`, `workspace.secretNames`, `workspace.sandboxes`, `providers.ollamaEmbeddingModels`, `providers.openrouterEmbeddingModels`. | | `--context ` | No | Only the dependencies declared by the selector, such as oauthCredential and channelId. Missing OAuth connections require human authorization. (JSON, or @path / @- to read a file or stdin). | | `--search ` | No | Provider option search text. | | `--cursor ` | No | Continue from nextCursor returned by a previous result. | diff --git a/apps/docs/content/docs/integrations/coda.mdx b/apps/docs/content/docs/integrations/coda.mdx new file mode 100644 index 00000000000..74ca3e30686 --- /dev/null +++ b/apps/docs/content/docs/integrations/coda.mdx @@ -0,0 +1,1534 @@ +--- +title: Coda +description: Read and write Coda docs, pages, tables, and rows +--- + +import { BlockInfoCard } from "@/components/ui/block-info-card" + + + +{/* MANUAL-CONTENT-START:intro */} +[Coda](https://coda.io/) (now Superhuman Docs) combines documents, tables, and automations in one doc. The Coda block lets your agents read and write that doc: create and publish docs, write pages in Markdown or HTML, read and update table rows, push row buttons, read formulas and controls, trigger automations, and manage sharing, folders, and analytics. + +## Authentication + +This integration uses a reusable Coda **API token** connection, not OAuth. In Coda, open **Account settings → API settings** and generate a token. A token can be unrestricted, or limited to specific docs or tables with read or read-and-write access; a restricted token can only reach what it was granted. Create a Coda connection from the block's **Coda Account** field. Sim checks the token once against Coda, stores it encrypted, and reuses the same connection across Coda blocks. You can replace or revoke it from credential settings. + +## Working with Coda data + +- **Pickers:** After you pick an account, the **Doc**, **Page**, **Table**, **Row**, **Column**, **Formula**, **Control**, **Folder**, and **Permission** fields list what that token can reach. Switch a field to advanced mode to enter an ID, or pass one from an earlier block. IDs are safer than names, because users can rename things in the doc. +- **Links to IDs:** **Resolve Browser Link** turns a Coda URL someone pasted into the resource type and ID the other operations need. +- **Changes apply in the background:** Row, page, publishing, and automation writes return a `requestId` right away and are applied a few seconds later. Check that a change finished with **Get Mutation Status**. Data you read can also lag a few seconds behind edits made in the browser. +- **Rows:** Pass rows as objects that map column IDs or names to values, for example `[{"Name": "Apple", "Price": 1.25}]`. Set **Upsert Key Columns** to update matching rows instead of adding duplicates. Inserts only work on base tables, not views. Turn on **Use Column Names** when reading rows to get values keyed by column name. +- **Incremental reads:** **List Rows** returns a `nextSyncToken`. Pass it back later as **Sync Token** to get only rows that changed since then. +- **Pagination:** List operations return a `nextPageToken`. Pass it as **Page Token** to get the next page. When a Page Token is set, the original filters and limit are reused automatically. Coda can change page sizes at any time, so keep paging until no token comes back. +- **Page content:** **Get Page Content** reads a page as plain-text lines, with element IDs you can target in **Update Page** or **Delete Page Content**. To delete content, enter element IDs, or turn on **Delete All Page Content** to clear the whole page. For the full page as Markdown or HTML, run **Export Page**, then call **Get Page Export Status** until `downloadLink` is present. The link expires shortly after it is issued. +- **Permissions and plans:** Creating docs and pages or renaming a doc requires Doc Maker access in the workspace. Publishing needs a Coda maker profile. Hiding pages and custom domains need a paid Coda plan. Workspace members, role activity, and role changes need a workspace that belongs to an organization, and role changes need Admin access. Page analytics are only available for docs in Enterprise workspaces. +- **Rate limits:** Coda limits requests per user, with tighter limits on writes and on listing docs. Sim automatically retries reads, updates, and deletes when Coda returns HTTP 429 or a transient server error. Inserts and creates are not retried, so space out bulk writes. +{/* MANUAL-CONTENT-END */} + + +## Usage Instructions + +Integrate Coda (Superhuman Docs) into your workflow with a reusable API-token credential. Create, copy, publish, and share docs; create, update, read, export, and clear pages; read table schemas; list, insert, upsert, update, and delete rows and push row buttons; read formulas and controls; trigger webhook automations; manage folders, custom domains, and workspace roles; and read doc and page analytics. Pick docs, pages, tables, rows, and more from dropdowns populated by your account. + + + +## Actions + +### Coda Add Custom Domain + +Connect a custom domain to a published Coda doc. Requires a Coda plan with custom domains. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `customDocDomain` | string | Yes | The custom domain \(e.g., "docs.example.com"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `docId` | string | ID of the doc | +| `customDocDomain` | string | The custom domain that was added | + +### Coda Share Doc + +Share a Coda doc with a user, group, domain, workspace, or anyone with the link. Sharing with an email sends a notification unless suppressed. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `access` | string | Yes | Access level to grant: "readonly", "comment", or "write" | +| `principalType` | string | Yes | Who to share with: "email", "group", "domain", "workspace", or "anyone" | +| `principal` | string | No | Email address, group ID, domain, or workspace ID matching principalType. Not used for "anyone". | +| `suppressEmail` | boolean | No | Do not send a sharing notification email | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `docId` | string | ID of the shared doc | +| `access` | string | Access level granted | +| `principalType` | string | Type of principal the doc was shared with | + +### Coda Change User Role + +Change the workspace role of a Coda user. Requires Admin access in a workspace that belongs to an organization. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `workspaceId` | string | Yes | ID of the workspace \(e.g., "ws-1Ab234"\) | +| `email` | string | Yes | Email address of the workspace member | +| `newRole` | string | Yes | New role: "Admin", "DocMaker", or "Editor" | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `email` | string | Email address of the member | +| `newRole` | string | Role assigned | +| `roleChangedAt` | string | When the role change took effect | + +### Coda Create Doc + +Create a Coda doc, optionally copying an existing doc and setting up its first page with Markdown, HTML, an embed, or a sync page. Requires Doc Maker access in the workspace. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `title` | string | No | Title of the new doc \(defaults to "Untitled"\) | +| `sourceDoc` | string | No | ID of an existing doc to copy | +| `timezone` | string | No | Timezone for the new doc \(e.g., "America/Los_Angeles"\) | +| `folderId` | string | No | ID of the folder to create the doc in \(defaults to "My docs"\) | +| `pageName` | string | No | Name of the initial page | +| `pageSubtitle` | string | No | Subtitle of the initial page | +| `iconName` | string | No | Icon name for the initial page \(e.g., "rocket"\) | +| `imageUrl` | string | No | Cover image URL for the initial page | +| `pageType` | string | No | Initial page content type: "canvas" \(default\), "embed", or "syncPage" | +| `contentFormat` | string | No | Canvas content format: "markdown" \(default\) or "html" | +| `content` | string | No | Canvas content for the initial page in the chosen format | +| `embedUrl` | string | No | URL to embed as a full page \(pageType "embed"\) | +| `renderMethod` | string | No | Embed render method: "standard" or "compatibility" | +| `sourceDocId` | string | No | Doc to sync from \(pageType "syncPage"\) | +| `sourcePageId` | string | No | Page to sync \(pageType "syncPage" with syncMode "page"\) | +| `syncMode` | string | No | Sync page mode: "page" \(default\) or "document" | +| `includeSubpages` | boolean | No | Include subpages in a single-page sync page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `doc` | object | The created doc | +| `requestId` | string | Coda request ID for the doc creation | + +### Coda Create Folder + +Create a folder in a Coda workspace + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `name` | string | Yes | Name of the folder | +| `workspaceId` | string | Yes | ID of the workspace \(e.g., "ws-1Ab234"\) | +| `description` | string | No | Description of the folder | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `folder` | object | The created folder | + +### Coda Create Page + +Create a page in a Coda doc, optionally as a subpage, with Markdown or HTML content, a full-page embed, or a sync page from another doc. The page is created asynchronously. Requires Doc Maker access. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `name` | string | No | Name of the page | +| `subtitle` | string | No | Subtitle of the page | +| `iconName` | string | No | Name of the page icon \(e.g., "rocket"\) | +| `imageUrl` | string | No | URL of a cover image for the page | +| `parentPageId` | string | No | ID of the parent page, to create this page as a subpage | +| `pageType` | string | No | Page content type: "canvas" \(default\), "embed", or "syncPage" | +| `contentFormat` | string | No | Canvas content format: "markdown" \(default\) or "html" | +| `content` | string | No | Canvas page content in the chosen format | +| `embedUrl` | string | No | URL to embed as a full page \(pageType "embed"\) | +| `renderMethod` | string | No | Embed render method: "standard" or "compatibility" | +| `sourceDocId` | string | No | Doc to sync from \(pageType "syncPage"\) | +| `sourcePageId` | string | No | Page to sync \(pageType "syncPage" with syncMode "page"\) | +| `syncMode` | string | No | Sync page mode: "page" \(default\) or "document" | +| `includeSubpages` | boolean | No | Include subpages in a single-page sync page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `pageId` | string | ID of the created page | + +### Coda Delete Custom Domain + +Remove a custom domain from a published Coda doc + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `customDocDomain` | string | Yes | The custom domain \(e.g., "docs.example.com"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `docId` | string | ID of the doc | +| `customDocDomain` | string | The custom domain that was removed | + +### Coda Delete Doc + +Delete a Coda doc + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `docId` | string | ID of the deleted doc | + +### Coda Delete Folder + +Delete an empty Coda folder (it must contain no docs) + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `folderId` | string | Yes | ID of the folder \(e.g., "fl-1Ab234"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `folderId` | string | ID of the deleted folder | + +### Coda Delete Page + +Delete a page from a Coda doc. Applied asynchronously. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `pageId` | string | Yes | ID or name of the page \(IDs are recommended, e.g., "canvas-IjkLmnO"; names containing "/" are not supported\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `pageId` | string | ID of the deleted page | + +### Coda Delete Page Content + +Delete specific content elements from a Coda page, or all of its content when no element IDs are given. Applied asynchronously. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `pageId` | string | Yes | ID or name of the page \(IDs are recommended, e.g., "canvas-IjkLmnO"; names containing "/" are not supported\) | +| `elementIds` | json | No | Element IDs to delete \(from Get Page Content\), as an array or comma-separated list | +| `deleteAll` | boolean | No | Set to true, with no element IDs, to delete all content from the page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `pageId` | string | ID of the page whose content was deleted | + +### Coda Remove Permission + +Revoke a sharing permission on a Coda doc + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `permissionId` | string | Yes | ID of the permission to remove \(from List Permissions\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `docId` | string | ID of the doc | +| `permissionId` | string | ID of the removed permission | + +### Coda Delete Row + +Delete a row from a Coda table or view. Applied asynchronously. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `tableId` | string | Yes | ID or name of the table or view \(IDs are recommended, e.g., "grid-pqRst-U"; names containing "/" are not supported\) | +| `rowId` | string | Yes | ID or name of the row \(IDs are recommended, e.g., "i-tuVwxYz"; names containing "/" are not supported\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `rowId` | string | ID of the deleted row | + +### Coda Delete Rows + +Delete multiple rows from a Coda table or view by ID. Applied asynchronously. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `tableId` | string | Yes | ID or name of the table or view \(IDs are recommended, e.g., "grid-pqRst-U"; names containing "/" are not supported\) | +| `rowIds` | json | Yes | Row IDs to delete, as an array or comma-separated list \(e.g., \["i-bCdeFgh", "i-CdEfgHi"\]\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `rowIds` | array | IDs of the rows queued for deletion | + +### Coda Export Page + +Start exporting a Coda page as HTML or Markdown. Poll Get Page Export Status with the returned export ID for the download link. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `pageId` | string | Yes | ID or name of the page \(IDs are recommended, e.g., "canvas-IjkLmnO"; names containing "/" are not supported\) | +| `outputFormat` | string | Yes | Export format: "markdown" or "html" | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `exportId` | string | ID of the export request | +| `status` | string | Export status \(inProgress, failed, complete\) | +| `href` | string | API link that reports the export status | + +### Coda Get Sharing Settings + +Get the sharing settings of a Coda doc + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `docs` | json | Docs \(id, name, href, browserLink, icon, owner, ownerName, createdAt, updatedAt, workspace, folder, sourceDoc, docSize, published\) | +| `doc` | json | Doc \(id, name, href, browserLink, icon, owner, ownerName, createdAt, updatedAt, workspace \{id, name, organizationId\}, folder \{id, name\}, sourceDoc, docSize \{totalRowCount, tableAndViewCount, baseTableCount, pageCount, overApiSizeLimit\}, published \{description, browserLink, discoverable, mode, categories\}\) | +| `docId` | string | ID of the affected doc | +| `categories` | json | Doc category names | +| `requestId` | string | Request ID of a queued change, for Get Mutation Status | +| `customDomains` | json | Custom domains \(customDocDomain, hasCertificate, hasDnsDocId, setupStatus, domainStatus, lastVerifiedTimestamp\) | +| `customDocDomain` | string | Custom domain | +| `provider` | string | DNS provider of a custom domain | +| `permissions` | json | Permissions \(id, access, principal \{type, email, groupId, groupName, domain, workspaceId\}\) | +| `access` | string | Access level granted | +| `principalType` | string | Type of principal the doc was shared with | +| `permissionId` | string | ID of the removed permission | +| `users` | json | Matching users \(name, loginId, pictureLink\) | +| `groups` | json | Matching groups \(groupId, groupName\) | +| `canShare` | boolean | Whether the user can share the doc | +| `canShareWithWorkspace` | boolean | Whether the user can share with the workspace | +| `canShareWithOrg` | boolean | Whether the user can share with the org | +| `canCopy` | boolean | Whether the user can copy the doc | +| `allowEditorsToChangePermissions` | boolean | Whether editors can change permissions | +| `allowCopying` | boolean | Whether viewers can copy the doc | +| `allowViewersToRequestEditing` | boolean | Whether viewers can request editing | +| `pages` | json | Pages \(id, name, subtitle, browserLink, contentType, isHidden, icon, image, parent, children, authors, createdAt, updatedAt\) | +| `page` | json | Page \(id, name, subtitle, href, browserLink, contentType, isHidden, isEffectivelyHidden, icon, image, parent, children, authors, createdAt, createdBy, updatedAt, updatedBy\) | +| `pageId` | string | ID of the created, updated, or deleted page | +| `items` | json | Page content lines \(id, type, style, format, content, lineLevel\), or analytics items \(doc or page plus daily metrics\) | +| `exportId` | string | Page export ID | +| `status` | string | Page export status \(inProgress, failed, complete\) | +| `href` | string | API link reporting the page export status | +| `downloadLink` | string | Download link of a completed page export | +| `exportError` | string | Error message of a failed page export | +| `tables` | json | Tables and views \(id, name, tableType, href, browserLink, parent\) | +| `table` | json | Table \(id, name, tableType, browserLink, parent, parentTable, displayColumnId, rowCount, sorts, layout, filter, createdAt, updatedAt\) | +| `columns` | json | Columns \(id, name, display, calculated, formula, defaultValue, format\) | +| `column` | json | Column \(id, name, display, calculated, formula, defaultValue, format, parentTable\) | +| `rows` | json | Rows \(id, name, index, browserLink, createdAt, updatedAt, values\) | +| `row` | json | Row \(id, name, index, browserLink, createdAt, updatedAt, values, parentTable\) | +| `nextSyncToken` | string | Token for reading only rows changed later | +| `addedRowIds` | json | IDs of rows that will be added | +| `rowId` | string | ID of the affected row | +| `rowIds` | json | IDs of rows queued for deletion | +| `columnId` | string | ID of the pushed button column | +| `formulas` | json | Named formulas \(id, name, href, parent\) | +| `formula` | json | Formula \(id, name, href, parent, value\) | +| `controls` | json | Controls \(id, name, href, parent\) | +| `control` | json | Control \(id, name, href, parent, controlType, value\) | +| `folders` | json | Folders \(id, name, browserLink, description, icon, iconColor, createdAt, canEdit, workspace\) | +| `folder` | json | Folder \(id, name, browserLink, description, icon, iconColor, createdAt, canEdit, workspace\) | +| `folderId` | string | ID of the deleted folder | +| `children` | json | Subfolders \(id, name, browserLink, visibility, workspace, ...\) | +| `members` | json | Workspace members \(email, name, role, registeredAt, roleChangedAt, lastActiveAt, ownedDocs, totalDocs, ...\) | +| `email` | string | Email of the member whose role changed | +| `newRole` | string | Role assigned | +| `roleChangedAt` | string | When the role change took effect | +| `roleActivity` | json | Monthly role counts \(month, activeAdminCount, activeDocMakerCount, activeEditorCount, inactive counts\) | +| `totalSessions` | number | Total sessions across matching docs | +| `docAnalyticsLastUpdated` | string | Date doc analytics last updated | +| `packAnalyticsLastUpdated` | string | Date Pack analytics last updated | +| `packFormulaAnalyticsLastUpdated` | string | Date Pack formula analytics last updated | +| `browserLink` | string | Canonical browser link of a resolved resource | +| `resource` | json | Resolved resource \(type, id, name, href\) | +| `completed` | boolean | Whether a queued change was applied | +| `warning` | string | Warning for a change that completed with caveats | +| `name` | string | Name of the token owner | +| `loginId` | string | Email of the token owner | +| `pictureLink` | string | Avatar link of the token owner | +| `scoped` | boolean | Whether the token is restricted | +| `tokenName` | string | Name of the API token | +| `workspace` | json | Default workspace of the token owner \(id, name, organizationId, browserLink\) | +| `nextPageToken` | string | Token for fetching the next page of results | + +### Coda Get Analytics Last Updated + +Get the dates (Pacific time) Coda analytics were last refreshed, to know how current analytics data is + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `docAnalyticsLastUpdated` | string | Date doc analytics last updated | +| `packAnalyticsLastUpdated` | string | Date Pack analytics last updated | +| `packFormulaAnalyticsLastUpdated` | string | Date Pack formula analytics last updated | + +### Coda Get Column + +Get details about a column in a Coda table, including its full format settings + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `tableId` | string | Yes | ID or name of the table or view \(IDs are recommended, e.g., "grid-pqRst-U"; names containing "/" are not supported\) | +| `columnId` | string | Yes | ID or name of the column \(IDs are recommended, e.g., "c-tuVwxYz"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `column` | object | Column details | + +### Coda Get Control + +Get the type and current value of a control in a Coda doc + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `controlId` | string | Yes | ID or name of the control \(IDs are recommended, e.g., "ctrl-cDefGhij"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `control` | object | Control details | +| ↳ `controlType` | string | Control type \(aiBlock, button, checkbox, datePicker, dateRangePicker, dateTimePicker, lookup, multiselect, select, scale, slider, reaction, textbox, timePicker\) | +| ↳ `value` | json | Current value \(string, number, boolean, or array of these\) | + +### Coda Get Custom Domain Provider + +Look up the DNS provider (GoDaddy, Namecheap, Hover, Network Solutions, Google Domains, or Other) of a custom domain + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `customDocDomain` | string | Yes | The custom domain \(e.g., "docs.example.com"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `customDocDomain` | string | The custom domain | +| `provider` | string | DNS provider of the domain | + +### Coda Get Doc + +Get metadata for a Coda doc, including its owner, workspace, folder, size, and publishing settings + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `doc` | object | Doc metadata | + +### Coda Get Doc Analytics Summary + +Get the total number of sessions across the Coda docs the user can access + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `isPublished` | boolean | No | Only include published docs | +| `sinceDate` | string | No | Only include activity on or after this date \(YYYY-MM-DD\) | +| `untilDate` | string | No | Only include activity on or before this date \(YYYY-MM-DD\) | +| `workspaceId` | string | No | Only include docs in this workspace | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `totalSessions` | number | Total sessions across all matching docs | + +### Coda Get Folder + +Get details about a Coda folder + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `folderId` | string | Yes | ID of the folder \(e.g., "fl-1Ab234"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `folder` | object | Folder details | + +### Coda Get Formula + +Get the current computed value of a named formula in a Coda doc + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `formulaId` | string | Yes | ID or name of the formula \(IDs are recommended, e.g., "f-fgHijkLm"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `formula` | object | Formula details | +| ↳ `value` | json | Computed value \(string, number, boolean, or array of these\) | + +### Coda Get Mutation Status + +Check whether a queued Coda change (row, page, publish, or automation request) has been applied. Status is kept for about a day. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `requestId` | string | Yes | Request ID returned by a Coda write operation | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `completed` | boolean | Whether the change has been applied | +| `warning` | string | Warning if the change completed with caveats | + +### Coda Get Page + +Get metadata for a page in a Coda doc + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `pageId` | string | Yes | ID or name of the page \(IDs are recommended, e.g., "canvas-IjkLmnO"; names containing "/" are not supported\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `page` | object | Page metadata | + +### Coda Get Page Content + +Read the content of a Coda canvas page as plain-text lines with their styles (headings, paragraphs, lists, quotes, code) and element IDs + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `pageId` | string | Yes | ID or name of the page \(IDs are recommended, e.g., "canvas-IjkLmnO"; names containing "/" are not supported\) | +| `limit` | number | No | Maximum number of content items to return \(1-500, default 50\) | +| `pageToken` | string | No | Page token from a previous response to fetch the next page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Content elements on the page, in order | +| ↳ `id` | string | Element ID, usable with Update Page and Delete Page Content | +| ↳ `type` | string | Element type \(line\) | +| ↳ `style` | string | Line style \(paragraph, h1, h2, h3, bulletedList, numberedList, checkboxList, collapsibleList, blockQuote, pullQuote, code\) | +| ↳ `format` | string | Content format \(plainText\) | +| ↳ `content` | string | Element text | +| ↳ `lineLevel` | number | Indentation level for paragraphs, quotes, and list items | + +### Coda Get Page Export Status + +Check a Coda page export and get its download link once complete. Download links expire shortly after they are issued. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `pageId` | string | Yes | ID or name of the page \(IDs are recommended, e.g., "canvas-IjkLmnO"; names containing "/" are not supported\) | +| `exportId` | string | Yes | Export ID returned by Export Page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `exportId` | string | ID of the export request | +| `status` | string | Export status \(inProgress, failed, complete\) | +| `href` | string | API link that reports the export status | +| `downloadLink` | string | Short-lived download link for the exported file, once complete | +| `exportError` | string | Error message if the export failed | + +### Coda Get Row + +Get a single row from a Coda table, including all of its cell values + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `tableId` | string | Yes | ID or name of the table or view \(IDs are recommended, e.g., "grid-pqRst-U"; names containing "/" are not supported\) | +| `rowId` | string | Yes | ID or name of the row \(IDs are recommended, e.g., "i-tuVwxYz"; names containing "/" are not supported\) | +| `useColumnNames` | boolean | No | Key cell values by column name instead of column ID | +| `valueFormat` | string | No | Cell value format: "simple" \(default\), "simpleWithArrays", or "rich" | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `row` | object | Row details and values | + +### Coda Get Sharing Metadata + +Check whether the connected user can share or copy a Coda doc, and whether they can share it with the workspace or organization + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `canShare` | boolean | Whether the user can share the doc | +| `canShareWithWorkspace` | boolean | Whether the user can share the doc with the workspace | +| `canShareWithOrg` | boolean | Whether the user can share the doc with the organization | +| `canCopy` | boolean | Whether the user can copy the doc | + +### Coda Get Table + +Get details about a table or view in a Coda doc, including its row count, sorts, layout, and filter + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `tableId` | string | Yes | ID or name of the table or view \(IDs are recommended, e.g., "grid-pqRst-U"; names containing "/" are not supported\) | +| `useUpdatedTableLayouts` | boolean | No | Report detail and form layouts as "detail" and "form" instead of "masterDetail" for both | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `table` | object | Table details | + +### Coda List Doc Categories + +List the categories that can be applied to a published Coda doc + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `categories` | array | Category names usable when publishing a doc | + +### Coda List Columns + +List the columns of a Coda table with their IDs, formats, and formulas. Use column IDs when reading and writing rows. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `tableId` | string | Yes | ID or name of the table or view \(IDs are recommended, e.g., "grid-pqRst-U"; names containing "/" are not supported\) | +| `visibleOnly` | boolean | No | Only return visible columns \(applies to base tables, not views\) | +| `limit` | number | No | Maximum number of columns to return \(1-100, default 25\) | +| `pageToken` | string | No | Page token from a previous response to fetch the next page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `columns` | array | Columns in the table | + +### Coda List Controls + +List the controls (sliders, selects, checkboxes, date pickers, buttons, etc.) in a Coda doc + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `sortBy` | string | No | Sort order; "name" sorts alphabetically | +| `limit` | number | No | Maximum number of results to return per page | +| `pageToken` | string | No | Page token from a previous response to fetch the next page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `controls` | array | Controls in the doc | + +### Coda List Custom Domains + +List the custom domains connected to a published Coda doc and their setup status + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `customDomains` | array | Custom domains for the published doc | +| ↳ `customDocDomain` | string | The custom domain | +| ↳ `hasCertificate` | boolean | Whether the domain has a certificate | +| ↳ `hasDnsDocId` | boolean | Whether the domain DNS points back to this doc | +| ↳ `setupStatus` | string | Setup status \(pending, succeeded, failed\) | +| ↳ `domainStatus` | string | connected or notConnected | +| ↳ `lastVerifiedTimestamp` | string | When the DNS settings were last checked | + +### Coda List Doc Analytics + +Get per-day or cumulative analytics (views, copies, likes, sessions by device, AI credits) for Coda docs + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docIds` | json | No | Doc IDs to fetch analytics for, as an array or comma-separated list | +| `workspaceId` | string | No | Only include docs in this workspace | +| `query` | string | No | Search term used to filter docs | +| `isPublished` | boolean | No | Only include published docs | +| `sinceDate` | string | No | Only include activity on or after this date \(YYYY-MM-DD\) | +| `untilDate` | string | No | Only include activity on or before this date \(YYYY-MM-DD\) | +| `scale` | string | No | Aggregation: "daily" \(default\) or "cumulative" | +| `orderBy` | string | No | Sort field: date, docId, title, createdAt, publishedAt, likes, copies, views, sessionsDesktop, sessionsMobile, sessionsOther, totalSessions, or an aiCredits field | +| `direction` | string | No | Sort direction: "ascending" or "descending" | +| `limit` | number | No | Maximum number of results to return \(1-5000, default 1000\) | +| `pageToken` | string | No | Page token from a previous response to fetch the next page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Analytics per doc | +| ↳ `doc` | object | Doc the metrics belong to | +| ↳ `metrics` | array | Metrics per date | +| ↳ `date` | string | Date of the data \(YYYY-MM-DD\) | +| ↳ `views` | number | Doc views | +| ↳ `copies` | number | Doc copies | +| ↳ `likes` | number | Doc likes | +| ↳ `sessionsMobile` | number | Unique mobile visitors | +| ↳ `sessionsDesktop` | number | Unique desktop visitors | +| ↳ `sessionsOther` | number | Unique visitors on other devices | +| ↳ `totalSessions` | number | Sessions across all devices | +| ↳ `aiCreditsChat` | number | AI credits used by chat | +| ↳ `aiCreditsBlock` | number | AI credits used by AI blocks | +| ↳ `aiCreditsColumn` | number | AI credits used by AI columns | +| ↳ `aiCreditsAssistant` | number | AI credits used by the assistant | +| ↳ `aiCreditsReviewer` | number | AI credits used by the reviewer | +| ↳ `aiCredits` | number | Total AI credits used | + +### Coda List Docs + +List Coda docs the user has opened, most recently used first, filtered by search, owner, publishing, stars, workspace, folder, or source doc + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `query` | string | No | Search term used to filter docs | +| `isOwner` | boolean | No | Only return docs owned by the user | +| `isPublished` | boolean | No | Only return published docs | +| `isStarred` | boolean | No | true returns only starred docs; false returns only unstarred docs | +| `inGallery` | boolean | No | Only return docs visible in the gallery | +| `sourceDoc` | string | No | Only return docs copied from this doc ID | +| `workspaceId` | string | No | Only return docs in this workspace \(e.g., "ws-1Ab234"\) | +| `folderId` | string | No | Only return docs in this folder \(e.g., "fl-1Ab234"\) | +| `limit` | number | No | Maximum number of results to return per page | +| `pageToken` | string | No | Page token from a previous response to fetch the next page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `docs` | array | Docs matching the filters | + +### Coda List Subfolders + +List the direct subfolders of a Coda folder. Subfolders you cannot access but manage the parent of are returned with only an ID and restricted visibility. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `folderId` | string | Yes | ID of the folder \(e.g., "fl-1Ab234"\) | +| `limit` | number | No | Maximum number of results to return per page | +| `pageToken` | string | No | Page token from a previous response to fetch the next page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `children` | array | Direct subfolders | +| ↳ `visibility` | string | visible, or restricted when only the ID is returned because you cannot access the subfolder | + +### Coda List Folders + +List the Coda folders the user can access, optionally within one workspace + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `workspaceId` | string | No | Only return folders in this workspace \(e.g., "ws-1Ab234"\) | +| `isStarred` | boolean | No | true returns only starred folders; false returns only unstarred folders | +| `limit` | number | No | Maximum number of results to return per page | +| `pageToken` | string | No | Page token from a previous response to fetch the next page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `folders` | array | Folders the user can access | + +### Coda List Formulas + +List the named formulas in a Coda doc + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `sortBy` | string | No | Sort order; "name" sorts alphabetically | +| `limit` | number | No | Maximum number of results to return per page | +| `pageToken` | string | No | Page token from a previous response to fetch the next page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `formulas` | array | Named formulas in the doc | + +### Coda List Page Analytics + +Get daily analytics (views, sessions, users, time viewed) for each page of a Coda doc. Only available for docs in Enterprise workspaces. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `sinceDate` | string | No | Only include activity on or after this date \(YYYY-MM-DD\) | +| `untilDate` | string | No | Only include activity on or before this date \(YYYY-MM-DD\) | +| `limit` | number | No | Maximum number of results to return \(1-5000, default 1000\) | +| `pageToken` | string | No | Page token from a previous response to fetch the next page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `items` | array | Analytics per page | +| ↳ `page` | object | Page the metrics belong to | +| ↳ `metrics` | array | Metrics per date | +| ↳ `date` | string | Date of the data \(YYYY-MM-DD\) | +| ↳ `views` | number | Page views that day | +| ↳ `sessions` | number | Unique browsers that viewed the page | +| ↳ `users` | number | Unique Coda users that viewed the page | +| ↳ `averageSecondsViewed` | number | Average seconds the page was viewed | +| ↳ `medianSecondsViewed` | number | Median seconds the page was viewed | +| ↳ `tabs` | number | Unique tabs that opened the doc | + +### Coda List Pages + +List the pages in a Coda doc, including their hierarchy + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `limit` | number | No | Maximum number of results to return per page | +| `pageToken` | string | No | Page token from a previous response to fetch the next page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `pages` | array | Pages in the doc | + +### Coda List Permissions + +List who a Coda doc is shared with and their access levels + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `limit` | number | No | Maximum number of results to return per page | +| `pageToken` | string | No | Page token from a previous response to fetch the next page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `permissions` | array | Permissions granted on the doc | + +### Coda List Rows + +List rows in a Coda table or view, optionally filtered by a column value, sorted, or limited to rows changed since a sync token + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `tableId` | string | Yes | ID or name of the table or view \(IDs are recommended, e.g., "grid-pqRst-U"; names containing "/" are not supported\) | +| `query` | string | No | Filter as <column_id_or_name>:<JSON value>. Quote column names and string values, e.g., c-tuVwxYz:"Apple" or "Status":"Done" | +| `sortBy` | string | No | Sort order: "createdAt" \(default\), "updatedAt", or "natural" \(view order; implies visibleOnly\) | +| `useColumnNames` | boolean | No | Key cell values by column name instead of column ID | +| `valueFormat` | string | No | Cell value format: "simple" \(default\), "simpleWithArrays", or "rich" | +| `visibleOnly` | boolean | No | Only return visible rows and columns | +| `syncToken` | string | No | nextSyncToken from a previous call, to return only rows changed since then | +| `limit` | number | No | Maximum number of results to return per page | +| `pageToken` | string | No | Page token from a previous response to fetch the next page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `rows` | array | Rows in the table | +| `nextSyncToken` | string | Token to pass as syncToken later to fetch only rows changed after this call | + +### Coda List Tables + +List the tables and views in a Coda doc + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `tableTypes` | json | No | Table types to include, as an array or comma-separated list of "table", "view", "database" \(defaults to all\) | +| `sortBy` | string | No | Sort order; "name" sorts alphabetically | +| `limit` | number | No | Maximum number of results to return per page | +| `pageToken` | string | No | Page token from a previous response to fetch the next page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `tables` | array | Tables and views in the doc | + +### Coda List Workspace Members + +List the members of a Coda workspace with their roles and doc activity, requesting user first. The workspace must belong to an organization. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `workspaceId` | string | Yes | ID of the workspace \(e.g., "ws-1Ab234"\) | +| `includedRoles` | json | No | Only return members with these roles, as an array or comma-separated list of "Admin", "DocMaker", "Editor" | +| `pageToken` | string | No | Page token from a previous response to fetch the next page | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `members` | array | Workspace members | +| ↳ `email` | string | Email address | +| ↳ `name` | string | Name | +| ↳ `role` | string | Workspace role \(Admin, DocMaker, Editor\) | +| ↳ `pictureUrl` | string | Avatar link | +| ↳ `registeredAt` | string | When the user joined the workspace | +| ↳ `roleChangedAt` | string | When the role last changed | +| ↳ `lastActiveAt` | string | Date the user last acted in any workspace | +| ↳ `ownedDocs` | number | Docs the user owns in this workspace | +| ↳ `docsLastActiveAt` | string | Date anyone last accessed a doc the user owns | +| ↳ `docCollaboratorCount` | number | Collaborators on docs the user owns in the last 90 days | +| ↳ `totalDocs` | number | Docs the user owns, manages, or added pages to in the last 90 days | +| ↳ `totalDocsLastActiveAt` | string | Date anyone last accessed a doc the user owns or contributed to | +| ↳ `totalDocCollaboratorsLast90Days` | number | Unique viewers of docs the user owns, manages, or added pages to | + +### Coda List Workspace Role Activity + +Get monthly counts of active and inactive Admins, Doc Makers, and Editors in a workspace. The workspace must belong to an organization. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `workspaceId` | string | Yes | ID of the workspace \(e.g., "ws-1Ab234"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `roleActivity` | array | Role counts per month | +| ↳ `month` | string | Month of the data \(YYYY-MM-DD\) | +| ↳ `activeAdminCount` | number | Active Admins | +| ↳ `activeDocMakerCount` | number | Active Doc Makers | +| ↳ `activeEditorCount` | number | Active Editors | +| ↳ `inactiveAdminCount` | number | Inactive Admins | +| ↳ `inactiveDocMakerCount` | number | Inactive Doc Makers | +| ↳ `inactiveEditorCount` | number | Inactive Editors | + +### Coda Publish Doc + +Publish a Coda doc or update its publishing settings: URL slug, discoverability, categories, and interaction mode. The doc owner needs a Coda maker profile. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `slug` | string | No | URL slug for the published doc \(e.g., "my-doc"\) | +| `discoverable` | boolean | No | Whether the published doc is discoverable in the gallery | +| `categoryNames` | json | No | Category names to apply, as an array or comma-separated list \(see List Doc Categories\) | +| `mode` | string | No | Interaction mode for viewers: "view", "play", or "edit" | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `docs` | json | Docs \(id, name, href, browserLink, icon, owner, ownerName, createdAt, updatedAt, workspace, folder, sourceDoc, docSize, published\) | +| `doc` | json | Doc \(id, name, href, browserLink, icon, owner, ownerName, createdAt, updatedAt, workspace \{id, name, organizationId\}, folder \{id, name\}, sourceDoc, docSize \{totalRowCount, tableAndViewCount, baseTableCount, pageCount, overApiSizeLimit\}, published \{description, browserLink, discoverable, mode, categories\}\) | +| `docId` | string | ID of the affected doc | +| `categories` | json | Doc category names | +| `requestId` | string | Request ID of a queued change, for Get Mutation Status | +| `customDomains` | json | Custom domains \(customDocDomain, hasCertificate, hasDnsDocId, setupStatus, domainStatus, lastVerifiedTimestamp\) | +| `customDocDomain` | string | Custom domain | +| `provider` | string | DNS provider of a custom domain | +| `permissions` | json | Permissions \(id, access, principal \{type, email, groupId, groupName, domain, workspaceId\}\) | +| `access` | string | Access level granted | +| `principalType` | string | Type of principal the doc was shared with | +| `permissionId` | string | ID of the removed permission | +| `users` | json | Matching users \(name, loginId, pictureLink\) | +| `groups` | json | Matching groups \(groupId, groupName\) | +| `canShare` | boolean | Whether the user can share the doc | +| `canShareWithWorkspace` | boolean | Whether the user can share with the workspace | +| `canShareWithOrg` | boolean | Whether the user can share with the org | +| `canCopy` | boolean | Whether the user can copy the doc | +| `allowEditorsToChangePermissions` | boolean | Whether editors can change permissions | +| `allowCopying` | boolean | Whether viewers can copy the doc | +| `allowViewersToRequestEditing` | boolean | Whether viewers can request editing | +| `pages` | json | Pages \(id, name, subtitle, browserLink, contentType, isHidden, icon, image, parent, children, authors, createdAt, updatedAt\) | +| `page` | json | Page \(id, name, subtitle, href, browserLink, contentType, isHidden, isEffectivelyHidden, icon, image, parent, children, authors, createdAt, createdBy, updatedAt, updatedBy\) | +| `pageId` | string | ID of the created, updated, or deleted page | +| `items` | json | Page content lines \(id, type, style, format, content, lineLevel\), or analytics items \(doc or page plus daily metrics\) | +| `exportId` | string | Page export ID | +| `status` | string | Page export status \(inProgress, failed, complete\) | +| `href` | string | API link reporting the page export status | +| `downloadLink` | string | Download link of a completed page export | +| `exportError` | string | Error message of a failed page export | +| `tables` | json | Tables and views \(id, name, tableType, href, browserLink, parent\) | +| `table` | json | Table \(id, name, tableType, browserLink, parent, parentTable, displayColumnId, rowCount, sorts, layout, filter, createdAt, updatedAt\) | +| `columns` | json | Columns \(id, name, display, calculated, formula, defaultValue, format\) | +| `column` | json | Column \(id, name, display, calculated, formula, defaultValue, format, parentTable\) | +| `rows` | json | Rows \(id, name, index, browserLink, createdAt, updatedAt, values\) | +| `row` | json | Row \(id, name, index, browserLink, createdAt, updatedAt, values, parentTable\) | +| `nextSyncToken` | string | Token for reading only rows changed later | +| `addedRowIds` | json | IDs of rows that will be added | +| `rowId` | string | ID of the affected row | +| `rowIds` | json | IDs of rows queued for deletion | +| `columnId` | string | ID of the pushed button column | +| `formulas` | json | Named formulas \(id, name, href, parent\) | +| `formula` | json | Formula \(id, name, href, parent, value\) | +| `controls` | json | Controls \(id, name, href, parent\) | +| `control` | json | Control \(id, name, href, parent, controlType, value\) | +| `folders` | json | Folders \(id, name, browserLink, description, icon, iconColor, createdAt, canEdit, workspace\) | +| `folder` | json | Folder \(id, name, browserLink, description, icon, iconColor, createdAt, canEdit, workspace\) | +| `folderId` | string | ID of the deleted folder | +| `children` | json | Subfolders \(id, name, browserLink, visibility, workspace, ...\) | +| `members` | json | Workspace members \(email, name, role, registeredAt, roleChangedAt, lastActiveAt, ownedDocs, totalDocs, ...\) | +| `email` | string | Email of the member whose role changed | +| `newRole` | string | Role assigned | +| `roleChangedAt` | string | When the role change took effect | +| `roleActivity` | json | Monthly role counts \(month, activeAdminCount, activeDocMakerCount, activeEditorCount, inactive counts\) | +| `totalSessions` | number | Total sessions across matching docs | +| `docAnalyticsLastUpdated` | string | Date doc analytics last updated | +| `packAnalyticsLastUpdated` | string | Date Pack analytics last updated | +| `packFormulaAnalyticsLastUpdated` | string | Date Pack formula analytics last updated | +| `browserLink` | string | Canonical browser link of a resolved resource | +| `resource` | json | Resolved resource \(type, id, name, href\) | +| `completed` | boolean | Whether a queued change was applied | +| `warning` | string | Warning for a change that completed with caveats | +| `name` | string | Name of the token owner | +| `loginId` | string | Email of the token owner | +| `pictureLink` | string | Avatar link of the token owner | +| `scoped` | boolean | Whether the token is restricted | +| `tokenName` | string | Name of the API token | +| `workspace` | json | Default workspace of the token owner \(id, name, organizationId, browserLink\) | +| `nextPageToken` | string | Token for fetching the next page of results | + +### Coda Push Button + +Push a button column on a row of a Coda table, running its action. The button can perform any action in the doc. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `tableId` | string | Yes | ID or name of the table or view \(IDs are recommended, e.g., "grid-pqRst-U"; names containing "/" are not supported\) | +| `rowId` | string | Yes | ID or name of the row \(IDs are recommended, e.g., "i-tuVwxYz"; names containing "/" are not supported\) | +| `columnId` | string | Yes | ID or name of the button column \(e.g., "c-tuVwxYz"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `rowId` | string | ID of the row containing the button | +| `columnId` | string | ID of the button column | + +### Coda Resolve Browser Link + +Resolve a Coda browser URL (doc, page, table, row, etc.) into its resource type and ID for use in other Coda operations + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `url` | string | Yes | Coda browser link, e.g., https://coda.io/d/_dAbCDeFGH/Launch-Status_sumnO | +| `degradeGracefully` | boolean | No | If the linked object was deleted, resolve the nearest existing parent \(up to the doc\) instead of failing | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `browserLink` | string | Canonical browser link to the resource | +| `resource` | object | The resolved resource | +| ↳ `type` | string | Resource type \(doc, page, table, row, column, formula, control, etc.\) | +| ↳ `id` | string | Resource ID | +| ↳ `name` | string | Resource name | +| ↳ `href` | string | API link to the resource | + +### Coda Search Principals + +Search for users and groups a Coda doc can be shared with (up to 20 of each). Returns nothing without a query. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `query` | string | No | Name or email to search for | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `users` | array | Matching users | +| ↳ `name` | string | User name | +| ↳ `loginId` | string | User email address | +| ↳ `pictureLink` | string | Avatar link | +| `groups` | array | Matching groups | +| ↳ `groupId` | string | Group ID | +| ↳ `groupName` | string | Group name | + +### Coda Trigger Automation + +Trigger a webhook-invoked automation in a Coda doc, optionally passing a JSON payload the automation can read + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `ruleId` | string | Yes | ID of the automation rule \(e.g., "grid-auto-b3Jmey6jBS"\) | +| `payload` | json | No | JSON object passed to the automation | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `docs` | json | Docs \(id, name, href, browserLink, icon, owner, ownerName, createdAt, updatedAt, workspace, folder, sourceDoc, docSize, published\) | +| `doc` | json | Doc \(id, name, href, browserLink, icon, owner, ownerName, createdAt, updatedAt, workspace \{id, name, organizationId\}, folder \{id, name\}, sourceDoc, docSize \{totalRowCount, tableAndViewCount, baseTableCount, pageCount, overApiSizeLimit\}, published \{description, browserLink, discoverable, mode, categories\}\) | +| `docId` | string | ID of the affected doc | +| `categories` | json | Doc category names | +| `requestId` | string | Request ID of a queued change, for Get Mutation Status | +| `customDomains` | json | Custom domains \(customDocDomain, hasCertificate, hasDnsDocId, setupStatus, domainStatus, lastVerifiedTimestamp\) | +| `customDocDomain` | string | Custom domain | +| `provider` | string | DNS provider of a custom domain | +| `permissions` | json | Permissions \(id, access, principal \{type, email, groupId, groupName, domain, workspaceId\}\) | +| `access` | string | Access level granted | +| `principalType` | string | Type of principal the doc was shared with | +| `permissionId` | string | ID of the removed permission | +| `users` | json | Matching users \(name, loginId, pictureLink\) | +| `groups` | json | Matching groups \(groupId, groupName\) | +| `canShare` | boolean | Whether the user can share the doc | +| `canShareWithWorkspace` | boolean | Whether the user can share with the workspace | +| `canShareWithOrg` | boolean | Whether the user can share with the org | +| `canCopy` | boolean | Whether the user can copy the doc | +| `allowEditorsToChangePermissions` | boolean | Whether editors can change permissions | +| `allowCopying` | boolean | Whether viewers can copy the doc | +| `allowViewersToRequestEditing` | boolean | Whether viewers can request editing | +| `pages` | json | Pages \(id, name, subtitle, browserLink, contentType, isHidden, icon, image, parent, children, authors, createdAt, updatedAt\) | +| `page` | json | Page \(id, name, subtitle, href, browserLink, contentType, isHidden, isEffectivelyHidden, icon, image, parent, children, authors, createdAt, createdBy, updatedAt, updatedBy\) | +| `pageId` | string | ID of the created, updated, or deleted page | +| `items` | json | Page content lines \(id, type, style, format, content, lineLevel\), or analytics items \(doc or page plus daily metrics\) | +| `exportId` | string | Page export ID | +| `status` | string | Page export status \(inProgress, failed, complete\) | +| `href` | string | API link reporting the page export status | +| `downloadLink` | string | Download link of a completed page export | +| `exportError` | string | Error message of a failed page export | +| `tables` | json | Tables and views \(id, name, tableType, href, browserLink, parent\) | +| `table` | json | Table \(id, name, tableType, browserLink, parent, parentTable, displayColumnId, rowCount, sorts, layout, filter, createdAt, updatedAt\) | +| `columns` | json | Columns \(id, name, display, calculated, formula, defaultValue, format\) | +| `column` | json | Column \(id, name, display, calculated, formula, defaultValue, format, parentTable\) | +| `rows` | json | Rows \(id, name, index, browserLink, createdAt, updatedAt, values\) | +| `row` | json | Row \(id, name, index, browserLink, createdAt, updatedAt, values, parentTable\) | +| `nextSyncToken` | string | Token for reading only rows changed later | +| `addedRowIds` | json | IDs of rows that will be added | +| `rowId` | string | ID of the affected row | +| `rowIds` | json | IDs of rows queued for deletion | +| `columnId` | string | ID of the pushed button column | +| `formulas` | json | Named formulas \(id, name, href, parent\) | +| `formula` | json | Formula \(id, name, href, parent, value\) | +| `controls` | json | Controls \(id, name, href, parent\) | +| `control` | json | Control \(id, name, href, parent, controlType, value\) | +| `folders` | json | Folders \(id, name, browserLink, description, icon, iconColor, createdAt, canEdit, workspace\) | +| `folder` | json | Folder \(id, name, browserLink, description, icon, iconColor, createdAt, canEdit, workspace\) | +| `folderId` | string | ID of the deleted folder | +| `children` | json | Subfolders \(id, name, browserLink, visibility, workspace, ...\) | +| `members` | json | Workspace members \(email, name, role, registeredAt, roleChangedAt, lastActiveAt, ownedDocs, totalDocs, ...\) | +| `email` | string | Email of the member whose role changed | +| `newRole` | string | Role assigned | +| `roleChangedAt` | string | When the role change took effect | +| `roleActivity` | json | Monthly role counts \(month, activeAdminCount, activeDocMakerCount, activeEditorCount, inactive counts\) | +| `totalSessions` | number | Total sessions across matching docs | +| `docAnalyticsLastUpdated` | string | Date doc analytics last updated | +| `packAnalyticsLastUpdated` | string | Date Pack analytics last updated | +| `packFormulaAnalyticsLastUpdated` | string | Date Pack formula analytics last updated | +| `browserLink` | string | Canonical browser link of a resolved resource | +| `resource` | json | Resolved resource \(type, id, name, href\) | +| `completed` | boolean | Whether a queued change was applied | +| `warning` | string | Warning for a change that completed with caveats | +| `name` | string | Name of the token owner | +| `loginId` | string | Email of the token owner | +| `pictureLink` | string | Avatar link of the token owner | +| `scoped` | boolean | Whether the token is restricted | +| `tokenName` | string | Name of the API token | +| `workspace` | json | Default workspace of the token owner \(id, name, organizationId, browserLink\) | +| `nextPageToken` | string | Token for fetching the next page of results | + +### Coda Unpublish Doc + +Unpublish a Coda doc + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `docId` | string | ID of the unpublished doc | + +### Coda Update Sharing Settings + +Update who can change permissions, copy, or request edit access on a Coda doc; unset settings are left unchanged + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `allowEditorsToChangePermissions` | boolean | No | Allow editors to change doc permissions | +| `allowCopying` | boolean | No | Allow viewers to copy the doc | +| `allowViewersToRequestEditing` | boolean | No | Allow viewers to request edit access | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `docs` | json | Docs \(id, name, href, browserLink, icon, owner, ownerName, createdAt, updatedAt, workspace, folder, sourceDoc, docSize, published\) | +| `doc` | json | Doc \(id, name, href, browserLink, icon, owner, ownerName, createdAt, updatedAt, workspace \{id, name, organizationId\}, folder \{id, name\}, sourceDoc, docSize \{totalRowCount, tableAndViewCount, baseTableCount, pageCount, overApiSizeLimit\}, published \{description, browserLink, discoverable, mode, categories\}\) | +| `docId` | string | ID of the affected doc | +| `categories` | json | Doc category names | +| `requestId` | string | Request ID of a queued change, for Get Mutation Status | +| `customDomains` | json | Custom domains \(customDocDomain, hasCertificate, hasDnsDocId, setupStatus, domainStatus, lastVerifiedTimestamp\) | +| `customDocDomain` | string | Custom domain | +| `provider` | string | DNS provider of a custom domain | +| `permissions` | json | Permissions \(id, access, principal \{type, email, groupId, groupName, domain, workspaceId\}\) | +| `access` | string | Access level granted | +| `principalType` | string | Type of principal the doc was shared with | +| `permissionId` | string | ID of the removed permission | +| `users` | json | Matching users \(name, loginId, pictureLink\) | +| `groups` | json | Matching groups \(groupId, groupName\) | +| `canShare` | boolean | Whether the user can share the doc | +| `canShareWithWorkspace` | boolean | Whether the user can share with the workspace | +| `canShareWithOrg` | boolean | Whether the user can share with the org | +| `canCopy` | boolean | Whether the user can copy the doc | +| `allowEditorsToChangePermissions` | boolean | Whether editors can change permissions | +| `allowCopying` | boolean | Whether viewers can copy the doc | +| `allowViewersToRequestEditing` | boolean | Whether viewers can request editing | +| `pages` | json | Pages \(id, name, subtitle, browserLink, contentType, isHidden, icon, image, parent, children, authors, createdAt, updatedAt\) | +| `page` | json | Page \(id, name, subtitle, href, browserLink, contentType, isHidden, isEffectivelyHidden, icon, image, parent, children, authors, createdAt, createdBy, updatedAt, updatedBy\) | +| `pageId` | string | ID of the created, updated, or deleted page | +| `items` | json | Page content lines \(id, type, style, format, content, lineLevel\), or analytics items \(doc or page plus daily metrics\) | +| `exportId` | string | Page export ID | +| `status` | string | Page export status \(inProgress, failed, complete\) | +| `href` | string | API link reporting the page export status | +| `downloadLink` | string | Download link of a completed page export | +| `exportError` | string | Error message of a failed page export | +| `tables` | json | Tables and views \(id, name, tableType, href, browserLink, parent\) | +| `table` | json | Table \(id, name, tableType, browserLink, parent, parentTable, displayColumnId, rowCount, sorts, layout, filter, createdAt, updatedAt\) | +| `columns` | json | Columns \(id, name, display, calculated, formula, defaultValue, format\) | +| `column` | json | Column \(id, name, display, calculated, formula, defaultValue, format, parentTable\) | +| `rows` | json | Rows \(id, name, index, browserLink, createdAt, updatedAt, values\) | +| `row` | json | Row \(id, name, index, browserLink, createdAt, updatedAt, values, parentTable\) | +| `nextSyncToken` | string | Token for reading only rows changed later | +| `addedRowIds` | json | IDs of rows that will be added | +| `rowId` | string | ID of the affected row | +| `rowIds` | json | IDs of rows queued for deletion | +| `columnId` | string | ID of the pushed button column | +| `formulas` | json | Named formulas \(id, name, href, parent\) | +| `formula` | json | Formula \(id, name, href, parent, value\) | +| `controls` | json | Controls \(id, name, href, parent\) | +| `control` | json | Control \(id, name, href, parent, controlType, value\) | +| `folders` | json | Folders \(id, name, browserLink, description, icon, iconColor, createdAt, canEdit, workspace\) | +| `folder` | json | Folder \(id, name, browserLink, description, icon, iconColor, createdAt, canEdit, workspace\) | +| `folderId` | string | ID of the deleted folder | +| `children` | json | Subfolders \(id, name, browserLink, visibility, workspace, ...\) | +| `members` | json | Workspace members \(email, name, role, registeredAt, roleChangedAt, lastActiveAt, ownedDocs, totalDocs, ...\) | +| `email` | string | Email of the member whose role changed | +| `newRole` | string | Role assigned | +| `roleChangedAt` | string | When the role change took effect | +| `roleActivity` | json | Monthly role counts \(month, activeAdminCount, activeDocMakerCount, activeEditorCount, inactive counts\) | +| `totalSessions` | number | Total sessions across matching docs | +| `docAnalyticsLastUpdated` | string | Date doc analytics last updated | +| `packAnalyticsLastUpdated` | string | Date Pack analytics last updated | +| `packFormulaAnalyticsLastUpdated` | string | Date Pack formula analytics last updated | +| `browserLink` | string | Canonical browser link of a resolved resource | +| `resource` | json | Resolved resource \(type, id, name, href\) | +| `completed` | boolean | Whether a queued change was applied | +| `warning` | string | Warning for a change that completed with caveats | +| `name` | string | Name of the token owner | +| `loginId` | string | Email of the token owner | +| `pictureLink` | string | Avatar link of the token owner | +| `scoped` | boolean | Whether the token is restricted | +| `tokenName` | string | Name of the API token | +| `workspace` | json | Default workspace of the token owner \(id, name, organizationId, browserLink\) | +| `nextPageToken` | string | Token for fetching the next page of results | + +### Coda Update Doc + +Rename a Coda doc or change its icon. Renaming requires Doc Maker access in the workspace. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `title` | string | No | New title of the doc | +| `iconName` | string | No | Name of the icon to use \(e.g., "rocket"\) | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `docId` | string | ID of the updated doc | + +### Coda Update Folder + +Rename a Coda folder or change its description. Coda can return the folder as it was before the change; read it again to confirm. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `folderId` | string | Yes | ID of the folder \(e.g., "fl-1Ab234"\) | +| `name` | string | No | New name of the folder | +| `description` | string | No | New description of the folder | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `folder` | object | The updated folder | + +### Coda Update Page + +Update a Coda page: rename it, change its subtitle, icon, cover, or visibility, and append, prepend, or replace content with Markdown or HTML. Applied asynchronously. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `pageId` | string | Yes | ID or name of the page \(IDs are recommended, e.g., "canvas-IjkLmnO"; names containing "/" are not supported\) | +| `name` | string | No | New name of the page | +| `subtitle` | string | No | New subtitle of the page \(an empty value leaves the subtitle unchanged\) | +| `iconName` | string | No | Name of the page icon \(e.g., "rocket"\) | +| `imageUrl` | string | No | URL of a cover image for the page | +| `isHidden` | boolean | No | Whether the page is hidden \(requires a paid Coda plan; ignored for pages that cannot be hidden\) | +| `insertionMode` | string | No | How to apply content: "append", "prepend", or "replace". Required when content is provided. | +| `elementId` | string | No | Page element to insert relative to or replace \(e.g., "cl-lzqh0Q0poT"\); omit to apply to the whole page | +| `contentFormat` | string | No | Content format: "markdown" \(default\) or "html" | +| `content` | string | No | Content to add to the page in the chosen format | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `pageId` | string | ID of the updated page | + +### Coda Update Row + +Update cell values in a row of a Coda table. Applied asynchronously. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `tableId` | string | Yes | ID or name of the table or view \(IDs are recommended, e.g., "grid-pqRst-U"; names containing "/" are not supported\) | +| `rowId` | string | Yes | ID or name of the row \(IDs are recommended, e.g., "i-tuVwxYz"; names containing "/" are not supported\) | +| `cells` | json | Yes | Object mapping column IDs \(or names\) to new values, e.g., \{"c-tuVwxYz": "Done"\}, or Coda cells \[\{"column": "c-tuVwxYz", "value": "Done"\}\] | +| `disableParsing` | boolean | No | Store values exactly as given without parsing them | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `rowId` | string | ID of the updated row | + +### Coda Insert or Upsert Rows + +Insert rows into a Coda base table, or update matching rows when key columns are given. Only works on base tables, not views. Applied asynchronously. + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `docId` | string | Yes | ID of the doc \(e.g., "AbCDeFGH"\) | +| `tableId` | string | Yes | ID or name of the table or view \(IDs are recommended, e.g., "grid-pqRst-U"; names containing "/" are not supported\) | +| `rows` | json | Yes | Array of rows. Each row maps column IDs \(or names\) to values, e.g., \[\{"c-tuVwxYz": "Apple", "c-bCdeFgh": 12\}\], or uses Coda cells \[\{"cells": \[\{"column": "c-tuVwxYz", "value": "Apple"\}\]\}\] | +| `keyColumns` | json | No | Column IDs \(or names\) to match existing rows on, as an array or comma-separated list. Matching rows are updated instead of inserted. | +| `disableParsing` | boolean | No | Store values exactly as given without parsing them | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `addedRowIds` | array | IDs of rows that will be added \(only returned when no key columns are set\) | + +### Coda Get Current User + +Get the user and default workspace behind the connected Coda API token + +#### Input + +| Parameter | Type | Required | Description | +| --------- | ---- | -------- | ----------- | + +#### Output + +| Parameter | Type | Description | +| --------- | ---- | ----------- | +| `name` | string | Name of the user | +| `loginId` | string | Email address of the user | +| `pictureLink` | string | Link to the user avatar | +| `scoped` | boolean | Whether the token is restricted to specific docs or tables | +| `tokenName` | string | Name of the API token | +| `workspace` | object | Default workspace of the user | + + diff --git a/apps/docs/content/docs/integrations/meta.json b/apps/docs/content/docs/integrations/meta.json index b97450113b3..ad8e80316f1 100644 --- a/apps/docs/content/docs/integrations/meta.json +++ b/apps/docs/content/docs/integrations/meta.json @@ -46,6 +46,7 @@ "cloudformation", "cloudtrail", "cloudwatch", + "coda", "codepipeline", "confluence", "context_dev", diff --git a/apps/docs/openapi-v2-workflows.json b/apps/docs/openapi-v2-workflows.json index c92eacd9b5e..5b7c250dca8 100644 --- a/apps/docs/openapi-v2-workflows.json +++ b/apps/docs/openapi-v2-workflows.json @@ -15854,6 +15854,15 @@ "clickup.spaces", "clickup.folders", "clickup.lists", + "coda.docs", + "coda.pages", + "coda.tables", + "coda.columns", + "coda.rows", + "coda.formulas", + "coda.controls", + "coda.folders", + "coda.permissions", "confluence.spaces", "confluence.spacesById", "confluence.pages", @@ -16020,6 +16029,15 @@ "clickup.spaces", "clickup.folders", "clickup.lists", + "coda.docs", + "coda.pages", + "coda.tables", + "coda.columns", + "coda.rows", + "coda.formulas", + "coda.controls", + "coda.folders", + "coda.permissions", "confluence.spaces", "confluence.spacesById", "confluence.pages", diff --git a/apps/sim/blocks/blocks/coda.ts b/apps/sim/blocks/blocks/coda.ts new file mode 100644 index 00000000000..2b57ba5fa2c --- /dev/null +++ b/apps/sim/blocks/blocks/coda.ts @@ -0,0 +1,1995 @@ +import { CodaIcon } from '@/components/icons' +import { AuthMode, type BlockConfig, type BlockMeta, IntegrationType } from '@/blocks/types' +import type { CodaResponse } from '@/tools/coda/types' + +/** Canonical credential pair: the credential picker in basic mode, a raw credential id in advanced. */ +const CREDENTIAL_FIELD = ['credential', 'manualCredential'] +const DOC_FIELD = ['docSelector', 'manualDocId'] +const PAGE_FIELD = ['pageSelector', 'manualPageId'] +const TABLE_FIELD = ['tableSelector', 'manualTableId'] +const ROW_FIELD = ['rowSelector', 'manualRowId'] +const COLUMN_FIELD = ['columnSelector', 'manualColumnId'] +const FORMULA_FIELD = ['formulaSelector', 'manualFormulaId'] +const CONTROL_FIELD = ['controlSelector', 'manualControlId'] +const FOLDER_FIELD = ['folderSelector', 'manualFolderId'] +const PERMISSION_FIELD = ['permissionSelector', 'manualPermissionId'] + +const PAGE_OPERATIONS = [ + 'get_page', + 'update_page', + 'delete_page', + 'get_page_content', + 'delete_page_content', + 'export_page', + 'get_page_export_status', +] + +const ROW_OPERATIONS = ['get_row', 'update_row', 'delete_row', 'push_button'] + +const TABLE_OPERATIONS = [ + 'get_table', + 'list_columns', + 'get_column', + 'list_rows', + 'upsert_rows', + 'delete_rows', + ...ROW_OPERATIONS, +] + +const DOC_OPERATIONS = [ + 'get_doc', + 'update_doc', + 'delete_doc', + 'publish_doc', + 'unpublish_doc', + 'list_custom_domains', + 'add_custom_domain', + 'delete_custom_domain', + 'list_permissions', + 'add_permission', + 'delete_permission', + 'search_principals', + 'get_sharing_metadata', + 'get_acl_settings', + 'update_acl_settings', + 'list_pages', + 'create_page', + ...PAGE_OPERATIONS, + 'list_tables', + ...TABLE_OPERATIONS, + 'list_formulas', + 'get_formula', + 'list_controls', + 'get_control', + 'trigger_automation', + 'list_page_analytics', +] + +const FOLDER_REQUIRED_OPERATIONS = [ + 'get_folder', + 'update_folder', + 'delete_folder', + 'list_folder_children', +] +const FOLDER_OPERATIONS = ['list_docs', 'create_doc', ...FOLDER_REQUIRED_OPERATIONS] + +const WORKSPACE_REQUIRED_OPERATIONS = [ + 'create_folder', + 'list_workspace_members', + 'change_user_role', + 'list_workspace_roles', +] +const WORKSPACE_FILTER_OPERATIONS = [ + 'list_docs', + 'list_folders', + 'list_doc_analytics', + 'get_doc_analytics_summary', +] + +const PAGE_CREATE_OPERATIONS = ['create_doc', 'create_page'] +const PAGE_WRITE_OPERATIONS = [...PAGE_CREATE_OPERATIONS, 'update_page'] +const ANALYTICS_DATE_OPERATIONS = [ + 'list_doc_analytics', + 'list_page_analytics', + 'get_doc_analytics_summary', +] + +const LIMIT_OPERATIONS = [ + 'list_docs', + 'list_pages', + 'get_page_content', + 'list_tables', + 'list_columns', + 'list_rows', + 'list_formulas', + 'list_controls', + 'list_folders', + 'list_folder_children', + 'list_permissions', + 'list_doc_analytics', + 'list_page_analytics', +] +const PAGE_TOKEN_OPERATIONS = [...LIMIT_OPERATIONS, 'list_workspace_members'] + +const LIST_SORT_OPERATIONS = ['list_tables', 'list_formulas', 'list_controls'] + +/** Switches only send `true`; an off switch leaves the Coda filter unset. */ +function trueOrUndefined(value: unknown): true | undefined { + return value === true || value === 'true' ? true : undefined +} + +/** Maps a three-state dropdown (unchanged / true / false) to an optional boolean. */ +function triState(value: unknown): boolean | undefined { + if (value === 'true' || value === true) return true + if (value === 'false' || value === false) return false + return undefined +} + +function optionalNumber(value: unknown): number | undefined { + if (value === undefined || value === null || value === '') return undefined + const parsed = Number(value) + return Number.isFinite(parsed) ? parsed : undefined +} + +function unlessDefault(value: unknown, defaultValue: string): string | undefined { + return typeof value === 'string' && value !== '' && value !== defaultValue ? value : undefined +} + +/** Content fields apply to every page update, but only to canvas pages when creating. */ +function canvasContentCondition(values?: Record) { + return values?.operation === 'update_page' + ? { field: 'operation', value: 'update_page' } + : { + field: 'operation', + value: PAGE_CREATE_OPERATIONS, + and: { field: 'pageType', value: 'canvas' }, + } +} + +const TRI_STATE_OPTIONS = [ + { label: 'Unchanged', id: 'unchanged' }, + { label: 'Yes', id: 'true' }, + { label: 'No', id: 'false' }, +] + +const DATE_WAND = { + enabled: true, + prompt: + 'Generate a date in YYYY-MM-DD format based on the user description. Return ONLY the date string.', + placeholder: 'Describe the date (e.g., "30 days ago")...', + generationType: 'timestamp', +} as const + +export const CodaBlock: BlockConfig = { + type: 'coda', + name: 'Coda', + description: 'Read and write Coda docs, pages, tables, and rows', + authMode: AuthMode.ApiKey, + longDescription: + 'Integrate Coda (Superhuman Docs) into your workflow with a reusable API-token credential. Create, copy, publish, and share docs; create, update, read, export, and clear pages; read table schemas; list, insert, upsert, update, and delete rows and push row buttons; read formulas and controls; trigger webhook automations; manage folders, custom domains, and workspace roles; and read doc and page analytics. Pick docs, pages, tables, rows, and more from dropdowns populated by your account.', + docsLink: 'https://docs.sim.ai/integrations/coda', + category: 'tools', + integrationType: IntegrationType.Documents, + bgColor: '#FFFFFF', + icon: CodaIcon, + canvasPresentation: { + defaultTitle: 'Coda', + sentences: { + byOperation: { + list_docs: ['List docs', { text: 'matching', field: 'docSearch' }], + get_doc: [{ text: 'Read doc', field: DOC_FIELD, core: true }], + create_doc: ['Create doc', { text: 'titled', field: 'docTitle' }], + update_doc: [ + { text: 'Update doc', field: DOC_FIELD, core: true }, + { text: 'to', field: 'docTitle' }, + ], + delete_doc: [{ text: 'Delete doc', field: DOC_FIELD, core: true }], + publish_doc: [{ text: 'Publish', field: DOC_FIELD, core: true }], + unpublish_doc: [{ text: 'Unpublish', field: DOC_FIELD, core: true }], + list_categories: ['List doc categories'], + list_custom_domains: [{ text: 'List custom domains of', field: DOC_FIELD, core: true }], + add_custom_domain: [ + { text: 'Add domain', field: 'customDocDomain', core: true }, + { text: 'to', field: DOC_FIELD, core: true }, + ], + delete_custom_domain: [ + { text: 'Remove domain', field: 'customDocDomain', core: true }, + { text: 'from', field: DOC_FIELD, core: true }, + ], + get_custom_domain_provider: [ + { text: 'Look up DNS provider of', field: 'customDocDomain', core: true }, + ], + list_permissions: [{ text: 'List permissions on', field: DOC_FIELD, core: true }], + add_permission: [ + { text: 'Share', field: DOC_FIELD, core: true }, + { text: 'with', field: 'principal' }, + { text: 'as', field: 'access' }, + ], + delete_permission: [ + { text: 'Remove permission', field: PERMISSION_FIELD, core: true }, + { text: 'from', field: DOC_FIELD }, + ], + search_principals: [ + { text: 'Search users and groups for', field: DOC_FIELD, core: true }, + { text: 'matching', field: 'principalQuery' }, + ], + get_sharing_metadata: [{ text: 'Check sharing rights on', field: DOC_FIELD, core: true }], + get_acl_settings: [{ text: 'Read sharing settings of', field: DOC_FIELD, core: true }], + update_acl_settings: [{ text: 'Update sharing settings of', field: DOC_FIELD, core: true }], + list_pages: [{ text: 'List pages in', field: DOC_FIELD, core: true }], + get_page: [ + { text: 'Read page', field: PAGE_FIELD, core: true }, + { text: 'in', field: DOC_FIELD }, + ], + create_page: [ + 'Create page', + { text: 'named', field: 'pageName' }, + { text: 'in', field: DOC_FIELD, core: true }, + ], + update_page: [ + { text: 'Update page', field: PAGE_FIELD, core: true }, + { text: 'in', field: DOC_FIELD }, + ], + delete_page: [ + { text: 'Delete page', field: PAGE_FIELD, core: true }, + { text: 'from', field: DOC_FIELD }, + ], + get_page_content: [{ text: 'Read content of', field: PAGE_FIELD, core: true }], + delete_page_content: [{ text: 'Delete content from', field: PAGE_FIELD, core: true }], + export_page: [ + { text: 'Export', field: PAGE_FIELD, core: true }, + { text: 'as', field: 'outputFormat' }, + ], + get_page_export_status: [{ text: 'Check export', field: 'exportId', core: true }], + list_tables: [{ text: 'List tables in', field: DOC_FIELD, core: true }], + get_table: [{ text: 'Read table', field: TABLE_FIELD, core: true }], + list_columns: [{ text: 'List columns of', field: TABLE_FIELD, core: true }], + get_column: [ + { text: 'Read column', field: COLUMN_FIELD, core: true }, + { text: 'of', field: TABLE_FIELD }, + ], + list_rows: [ + { text: 'List rows in', field: TABLE_FIELD, core: true }, + { text: 'where', field: 'rowFilter' }, + ], + get_row: [ + { text: 'Read row', field: ROW_FIELD, core: true }, + { text: 'from', field: TABLE_FIELD }, + ], + upsert_rows: [{ text: 'Insert or update rows in', field: TABLE_FIELD, core: true }], + update_row: [ + { text: 'Update row', field: ROW_FIELD, core: true }, + { text: 'in', field: TABLE_FIELD }, + ], + delete_row: [ + { text: 'Delete row', field: ROW_FIELD, core: true }, + { text: 'from', field: TABLE_FIELD }, + ], + delete_rows: [ + { text: 'Delete rows', field: 'rowIds', core: true }, + { text: 'from', field: TABLE_FIELD }, + ], + push_button: [ + { text: 'Push button', field: COLUMN_FIELD, core: true }, + { text: 'on row', field: ROW_FIELD }, + ], + list_formulas: [{ text: 'List formulas in', field: DOC_FIELD, core: true }], + get_formula: [{ text: 'Read formula', field: FORMULA_FIELD, core: true }], + list_controls: [{ text: 'List controls in', field: DOC_FIELD, core: true }], + get_control: [{ text: 'Read control', field: CONTROL_FIELD, core: true }], + trigger_automation: [ + { text: 'Trigger automation', field: 'ruleId', core: true }, + { text: 'in', field: DOC_FIELD }, + ], + list_folders: ['List folders'], + get_folder: [{ text: 'Read folder', field: FOLDER_FIELD, core: true }], + create_folder: [ + { text: 'Create folder', field: 'folderName', core: true }, + { text: 'in', field: 'workspaceId' }, + ], + update_folder: [{ text: 'Update folder', field: FOLDER_FIELD, core: true }], + delete_folder: [{ text: 'Delete folder', field: FOLDER_FIELD, core: true }], + list_folder_children: [{ text: 'List subfolders of', field: FOLDER_FIELD, core: true }], + list_workspace_members: [{ text: 'List members of', field: 'workspaceId', core: true }], + change_user_role: [ + { text: 'Set role of', field: 'memberEmail', core: true }, + { text: 'to', field: 'newRole' }, + ], + list_workspace_roles: [{ text: 'Read role activity of', field: 'workspaceId', core: true }], + list_doc_analytics: ['Read doc analytics', { text: 'since', field: 'sinceDate' }], + list_page_analytics: [{ text: 'Read page analytics of', field: DOC_FIELD, core: true }], + get_doc_analytics_summary: [ + 'Read total doc sessions', + { text: 'since', field: 'sinceDate' }, + ], + get_analytics_last_updated: ['Check when analytics last updated'], + resolve_browser_link: [{ text: 'Resolve', field: 'browserUrl', core: true }], + get_mutation_status: [{ text: 'Check status of', field: 'mutationRequestId', core: true }], + whoami: ['Read current user'], + }, + }, + }, + subBlocks: [ + { + id: 'operation', + title: 'Operation', + type: 'dropdown', + options: [ + { label: 'List Docs', id: 'list_docs' }, + { label: 'Get Doc', id: 'get_doc' }, + { label: 'Create Doc', id: 'create_doc' }, + { label: 'Update Doc', id: 'update_doc' }, + { label: 'Delete Doc', id: 'delete_doc' }, + { label: 'Publish Doc', id: 'publish_doc' }, + { label: 'Unpublish Doc', id: 'unpublish_doc' }, + { label: 'List Doc Categories', id: 'list_categories' }, + { label: 'List Custom Domains', id: 'list_custom_domains' }, + { label: 'Add Custom Domain', id: 'add_custom_domain' }, + { label: 'Delete Custom Domain', id: 'delete_custom_domain' }, + { label: 'Get Custom Domain Provider', id: 'get_custom_domain_provider' }, + { label: 'List Permissions', id: 'list_permissions' }, + { label: 'Share Doc', id: 'add_permission' }, + { label: 'Remove Permission', id: 'delete_permission' }, + { label: 'Search Users and Groups', id: 'search_principals' }, + { label: 'Get Sharing Metadata', id: 'get_sharing_metadata' }, + { label: 'Get Sharing Settings', id: 'get_acl_settings' }, + { label: 'Update Sharing Settings', id: 'update_acl_settings' }, + { label: 'List Pages', id: 'list_pages' }, + { label: 'Get Page', id: 'get_page' }, + { label: 'Create Page', id: 'create_page' }, + { label: 'Update Page', id: 'update_page' }, + { label: 'Delete Page', id: 'delete_page' }, + { label: 'Get Page Content', id: 'get_page_content' }, + { label: 'Delete Page Content', id: 'delete_page_content' }, + { label: 'Export Page', id: 'export_page' }, + { label: 'Get Page Export Status', id: 'get_page_export_status' }, + { label: 'List Tables', id: 'list_tables' }, + { label: 'Get Table', id: 'get_table' }, + { label: 'List Columns', id: 'list_columns' }, + { label: 'Get Column', id: 'get_column' }, + { label: 'List Rows', id: 'list_rows' }, + { label: 'Get Row', id: 'get_row' }, + { label: 'Insert or Upsert Rows', id: 'upsert_rows' }, + { label: 'Update Row', id: 'update_row' }, + { label: 'Delete Row', id: 'delete_row' }, + { label: 'Delete Rows', id: 'delete_rows' }, + { label: 'Push Button', id: 'push_button' }, + { label: 'List Formulas', id: 'list_formulas' }, + { label: 'Get Formula', id: 'get_formula' }, + { label: 'List Controls', id: 'list_controls' }, + { label: 'Get Control', id: 'get_control' }, + { label: 'Trigger Automation', id: 'trigger_automation' }, + { label: 'List Folders', id: 'list_folders' }, + { label: 'Get Folder', id: 'get_folder' }, + { label: 'Create Folder', id: 'create_folder' }, + { label: 'Update Folder', id: 'update_folder' }, + { label: 'Delete Folder', id: 'delete_folder' }, + { label: 'List Subfolders', id: 'list_folder_children' }, + { label: 'List Workspace Members', id: 'list_workspace_members' }, + { label: 'Change User Role', id: 'change_user_role' }, + { label: 'List Workspace Role Activity', id: 'list_workspace_roles' }, + { label: 'List Doc Analytics', id: 'list_doc_analytics' }, + { label: 'List Page Analytics', id: 'list_page_analytics' }, + { label: 'Get Doc Analytics Summary', id: 'get_doc_analytics_summary' }, + { label: 'Get Analytics Last Updated', id: 'get_analytics_last_updated' }, + { label: 'Resolve Browser Link', id: 'resolve_browser_link' }, + { label: 'Get Mutation Status', id: 'get_mutation_status' }, + { label: 'Get Current User', id: 'whoami' }, + ], + value: () => 'list_rows', + }, + { + id: 'credential', + title: 'Coda Account', + type: 'oauth-input', + serviceId: 'coda', + credentialKind: 'service-account', + canonicalParamId: 'oauthCredential', + mode: 'basic', + placeholder: 'Select Coda credential', + required: true, + }, + { + id: 'manualCredential', + title: 'Coda Account', + type: 'short-input', + canonicalParamId: 'oauthCredential', + mode: 'advanced', + placeholder: 'Enter credential ID', + required: true, + }, + { + id: 'docSelector', + title: 'Doc', + canvasNoun: 'a doc', + type: 'project-selector', + serviceId: 'coda', + selectorKey: 'coda.docs', + canonicalParamId: 'docId', + placeholder: 'Select a doc', + dependsOn: ['credential'], + mode: 'basic', + condition: { field: 'operation', value: DOC_OPERATIONS }, + required: { field: 'operation', value: DOC_OPERATIONS }, + }, + { + id: 'manualDocId', + title: 'Doc ID', + canvasNoun: 'a doc', + type: 'short-input', + canonicalParamId: 'docId', + placeholder: 'e.g., AbCDeFGH (from the doc URL after _d)', + mode: 'advanced', + condition: { field: 'operation', value: DOC_OPERATIONS }, + required: { field: 'operation', value: DOC_OPERATIONS }, + }, + { + id: 'pageSelector', + title: 'Page', + canvasNoun: 'a page', + type: 'project-selector', + serviceId: 'coda', + selectorKey: 'coda.pages', + canonicalParamId: 'pageId', + placeholder: 'Select a page', + dependsOn: ['credential', 'docSelector'], + mode: 'basic', + condition: { field: 'operation', value: PAGE_OPERATIONS }, + required: { field: 'operation', value: PAGE_OPERATIONS }, + }, + { + id: 'manualPageId', + title: 'Page ID or Name', + canvasNoun: 'a page', + type: 'short-input', + canonicalParamId: 'pageId', + placeholder: 'e.g., canvas-IjkLmnO', + mode: 'advanced', + condition: { field: 'operation', value: PAGE_OPERATIONS }, + required: { field: 'operation', value: PAGE_OPERATIONS }, + }, + { + id: 'tableSelector', + title: 'Table', + canvasNoun: 'a table', + type: 'project-selector', + serviceId: 'coda', + selectorKey: 'coda.tables', + canonicalParamId: 'tableId', + placeholder: 'Select a table (inserts need a base table, not a view)', + dependsOn: ['credential', 'docSelector'], + mode: 'basic', + condition: { field: 'operation', value: TABLE_OPERATIONS }, + required: { field: 'operation', value: TABLE_OPERATIONS }, + }, + { + id: 'manualTableId', + title: 'Table ID or Name', + canvasNoun: 'a table', + type: 'short-input', + canonicalParamId: 'tableId', + placeholder: 'e.g., grid-pqRst-U', + mode: 'advanced', + condition: { field: 'operation', value: TABLE_OPERATIONS }, + required: { field: 'operation', value: TABLE_OPERATIONS }, + }, + { + id: 'rowSelector', + title: 'Row', + canvasNoun: 'a row', + type: 'project-selector', + serviceId: 'coda', + selectorKey: 'coda.rows', + canonicalParamId: 'rowId', + placeholder: 'Select a row', + dependsOn: ['credential', 'docSelector', 'tableSelector'], + mode: 'basic', + condition: { field: 'operation', value: ROW_OPERATIONS }, + required: { field: 'operation', value: ROW_OPERATIONS }, + }, + { + id: 'manualRowId', + title: 'Row ID or Name', + canvasNoun: 'a row', + type: 'short-input', + canonicalParamId: 'rowId', + placeholder: 'e.g., i-tuVwxYz', + mode: 'advanced', + condition: { field: 'operation', value: ROW_OPERATIONS }, + required: { field: 'operation', value: ROW_OPERATIONS }, + }, + { + id: 'columnSelector', + title: 'Column', + canvasNoun: 'a column', + type: 'project-selector', + serviceId: 'coda', + selectorKey: 'coda.columns', + canonicalParamId: 'columnId', + placeholder: 'Select a column', + dependsOn: ['credential', 'docSelector', 'tableSelector'], + mode: 'basic', + condition: { field: 'operation', value: ['get_column', 'push_button'] }, + required: { field: 'operation', value: ['get_column', 'push_button'] }, + }, + { + id: 'manualColumnId', + title: 'Column ID or Name', + canvasNoun: 'a column', + type: 'short-input', + canonicalParamId: 'columnId', + placeholder: 'e.g., c-tuVwxYz', + mode: 'advanced', + condition: { field: 'operation', value: ['get_column', 'push_button'] }, + required: { field: 'operation', value: ['get_column', 'push_button'] }, + }, + { + id: 'formulaSelector', + title: 'Formula', + canvasNoun: 'a formula', + type: 'project-selector', + serviceId: 'coda', + selectorKey: 'coda.formulas', + canonicalParamId: 'formulaId', + placeholder: 'Select a named formula', + dependsOn: ['credential', 'docSelector'], + mode: 'basic', + condition: { field: 'operation', value: 'get_formula' }, + required: { field: 'operation', value: 'get_formula' }, + }, + { + id: 'manualFormulaId', + title: 'Formula ID or Name', + canvasNoun: 'a formula', + type: 'short-input', + canonicalParamId: 'formulaId', + placeholder: 'e.g., f-fgHijkLm', + mode: 'advanced', + condition: { field: 'operation', value: 'get_formula' }, + required: { field: 'operation', value: 'get_formula' }, + }, + { + id: 'controlSelector', + title: 'Control', + canvasNoun: 'a control', + type: 'project-selector', + serviceId: 'coda', + selectorKey: 'coda.controls', + canonicalParamId: 'controlId', + placeholder: 'Select a control', + dependsOn: ['credential', 'docSelector'], + mode: 'basic', + condition: { field: 'operation', value: 'get_control' }, + required: { field: 'operation', value: 'get_control' }, + }, + { + id: 'manualControlId', + title: 'Control ID or Name', + canvasNoun: 'a control', + type: 'short-input', + canonicalParamId: 'controlId', + placeholder: 'e.g., ctrl-cDefGhij', + mode: 'advanced', + condition: { field: 'operation', value: 'get_control' }, + required: { field: 'operation', value: 'get_control' }, + }, + { + id: 'permissionSelector', + title: 'Permission', + canvasNoun: 'a permission', + type: 'project-selector', + serviceId: 'coda', + selectorKey: 'coda.permissions', + canonicalParamId: 'permissionId', + placeholder: 'Select who to remove', + dependsOn: ['credential', 'docSelector'], + mode: 'basic', + condition: { field: 'operation', value: 'delete_permission' }, + required: { field: 'operation', value: 'delete_permission' }, + }, + { + id: 'manualPermissionId', + title: 'Permission ID', + canvasNoun: 'a permission', + type: 'short-input', + canonicalParamId: 'permissionId', + placeholder: 'Permission ID from List Permissions', + mode: 'advanced', + condition: { field: 'operation', value: 'delete_permission' }, + required: { field: 'operation', value: 'delete_permission' }, + }, + { + id: 'folderSelector', + title: 'Folder', + canvasNoun: 'a folder', + type: 'project-selector', + serviceId: 'coda', + selectorKey: 'coda.folders', + canonicalParamId: 'folderId', + placeholder: 'Select a folder', + dependsOn: ['credential'], + mode: 'basic', + condition: { field: 'operation', value: FOLDER_OPERATIONS }, + required: { field: 'operation', value: FOLDER_REQUIRED_OPERATIONS }, + }, + { + id: 'manualFolderId', + title: 'Folder ID', + canvasNoun: 'a folder', + type: 'short-input', + canonicalParamId: 'folderId', + placeholder: 'e.g., fl-1Ab234', + mode: 'advanced', + condition: { field: 'operation', value: FOLDER_OPERATIONS }, + required: { field: 'operation', value: FOLDER_REQUIRED_OPERATIONS }, + }, + { + id: 'workspaceId', + title: 'Workspace ID', + canvasNoun: 'a workspace', + type: 'short-input', + placeholder: 'e.g., ws-1Ab234 (see Get Current User)', + condition: { field: 'operation', value: WORKSPACE_REQUIRED_OPERATIONS }, + required: { field: 'operation', value: WORKSPACE_REQUIRED_OPERATIONS }, + }, + { + id: 'docSearch', + title: 'Search', + type: 'short-input', + placeholder: 'Filter docs by name', + condition: { field: 'operation', value: ['list_docs', 'list_doc_analytics'] }, + }, + { + id: 'docTitle', + title: 'Doc Title', + type: 'short-input', + placeholder: 'e.g., Project Tracker', + condition: { field: 'operation', value: ['create_doc', 'update_doc'] }, + }, + { + id: 'sourceDocSelector', + title: 'Copy From Doc', + type: 'project-selector', + serviceId: 'coda', + selectorKey: 'coda.docs', + canonicalParamId: 'sourceDoc', + placeholder: 'Select a doc to copy', + dependsOn: ['credential'], + mode: 'basic', + condition: { field: 'operation', value: ['create_doc', 'list_docs'] }, + }, + { + id: 'manualSourceDoc', + title: 'Copy From Doc ID', + type: 'short-input', + canonicalParamId: 'sourceDoc', + placeholder: 'ID of the source doc', + mode: 'advanced', + condition: { field: 'operation', value: ['create_doc', 'list_docs'] }, + }, + { + id: 'pageName', + title: 'Page Name', + type: 'short-input', + placeholder: 'e.g., Launch Status', + condition: { field: 'operation', value: PAGE_WRITE_OPERATIONS }, + }, + { + id: 'parentPageSelector', + title: 'Parent Page', + type: 'project-selector', + serviceId: 'coda', + selectorKey: 'coda.pages', + canonicalParamId: 'parentPageId', + placeholder: 'Create as a subpage of…', + dependsOn: ['credential', 'docSelector'], + mode: 'basic', + condition: { field: 'operation', value: 'create_page' }, + }, + { + id: 'manualParentPageId', + title: 'Parent Page ID', + type: 'short-input', + canonicalParamId: 'parentPageId', + placeholder: 'e.g., canvas-tuVwxYz', + mode: 'advanced', + condition: { field: 'operation', value: 'create_page' }, + }, + { + id: 'pageType', + title: 'Page Type', + type: 'dropdown', + options: [ + { label: 'Content (Markdown or HTML)', id: 'canvas' }, + { label: 'Full-page Embed', id: 'embed' }, + { label: 'Sync Page', id: 'syncPage' }, + ], + value: () => 'canvas', + condition: { field: 'operation', value: PAGE_CREATE_OPERATIONS }, + }, + { + id: 'insertionMode', + title: 'Content Mode', + type: 'dropdown', + options: [ + { label: 'Append', id: 'append' }, + { label: 'Prepend', id: 'prepend' }, + { label: 'Replace', id: 'replace' }, + ], + value: () => 'append', + condition: { field: 'operation', value: 'update_page' }, + }, + { + id: 'contentFormat', + title: 'Content Format', + type: 'dropdown', + options: [ + { label: 'Markdown', id: 'markdown' }, + { label: 'HTML', id: 'html' }, + ], + value: () => 'markdown', + condition: canvasContentCondition, + }, + { + id: 'pageContent', + title: 'Content', + type: 'long-input', + placeholder: '# Heading\n\nPage content in the selected format', + rows: 8, + condition: canvasContentCondition, + wandConfig: { + enabled: true, + prompt: + 'Write Coda page content in Markdown based on the user request. Use headings, lists, and short paragraphs. Return ONLY the Markdown content.', + placeholder: 'Describe the page content...', + }, + }, + { + id: 'embedUrl', + title: 'Embed URL', + type: 'short-input', + placeholder: 'https://example.com', + condition: { + field: 'operation', + value: PAGE_CREATE_OPERATIONS, + and: { field: 'pageType', value: 'embed' }, + }, + required: { + field: 'operation', + value: PAGE_CREATE_OPERATIONS, + and: { field: 'pageType', value: 'embed' }, + }, + }, + { + id: 'renderMethod', + title: 'Embed Render Method', + type: 'dropdown', + options: [ + { label: 'Standard', id: 'standard' }, + { label: 'Compatibility', id: 'compatibility' }, + ], + value: () => 'standard', + condition: { + field: 'operation', + value: PAGE_CREATE_OPERATIONS, + and: { field: 'pageType', value: 'embed' }, + }, + mode: 'advanced', + }, + { + id: 'syncSourceDocId', + title: 'Sync From Doc ID', + type: 'short-input', + placeholder: 'ID of the doc to sync from', + condition: { + field: 'operation', + value: PAGE_CREATE_OPERATIONS, + and: { field: 'pageType', value: 'syncPage' }, + }, + required: { + field: 'operation', + value: PAGE_CREATE_OPERATIONS, + and: { field: 'pageType', value: 'syncPage' }, + }, + }, + { + id: 'syncMode', + title: 'Sync', + type: 'dropdown', + options: [ + { label: 'A Single Page', id: 'page' }, + { label: 'The Whole Doc', id: 'document' }, + ], + value: () => 'page', + condition: { + field: 'operation', + value: PAGE_CREATE_OPERATIONS, + and: { field: 'pageType', value: 'syncPage' }, + }, + }, + { + id: 'syncSourcePageId', + title: 'Sync Page ID', + type: 'short-input', + placeholder: 'ID of the page to sync', + required: true, + condition: (values) => + values?.syncMode === 'document' + ? { field: 'syncMode', value: 'page' } + : { + field: 'operation', + value: PAGE_CREATE_OPERATIONS, + and: { field: 'pageType', value: 'syncPage' }, + }, + }, + { + id: 'includeSubpages', + title: 'Include Subpages', + type: 'switch', + condition: { + field: 'operation', + value: PAGE_CREATE_OPERATIONS, + and: { field: 'pageType', value: 'syncPage' }, + }, + mode: 'advanced', + }, + { + id: 'elementIds', + title: 'Element IDs', + type: 'short-input', + placeholder: 'Comma-separated element IDs from Get Page Content', + condition: { field: 'operation', value: 'delete_page_content' }, + wandConfig: { + enabled: true, + prompt: + 'Generate a comma-separated list of Coda page element IDs (like cl-lzqh0Q0poT) from the user description. Return ONLY the comma-separated list.', + placeholder: 'Describe which elements to delete...', + }, + }, + { + id: 'deleteAllContent', + title: 'Delete All Page Content', + type: 'switch', + condition: { field: 'operation', value: 'delete_page_content' }, + }, + { + id: 'outputFormat', + title: 'Export Format', + type: 'dropdown', + options: [ + { label: 'Markdown', id: 'markdown' }, + { label: 'HTML', id: 'html' }, + ], + required: true, + value: () => 'markdown', + condition: { field: 'operation', value: 'export_page' }, + }, + { + id: 'exportId', + title: 'Export ID', + canvasNoun: 'an export', + type: 'short-input', + placeholder: 'exportId from Export Page', + condition: { field: 'operation', value: 'get_page_export_status' }, + required: { field: 'operation', value: 'get_page_export_status' }, + }, + { + id: 'rowFilter', + title: 'Filter', + type: 'short-input', + placeholder: 'e.g., c-tuVwxYz:"Done" or "Status":"Done"', + condition: { field: 'operation', value: 'list_rows' }, + wandConfig: { + enabled: true, + prompt: `Generate a Coda row filter from the user's description. +The format is :. Column names must be quoted, and string values must be quoted JSON strings. +Examples: c-tuVwxYz:"Apple" "Status":"Done" "Priority":3 "Done":true +Return ONLY the filter.`, + placeholder: 'Describe which rows to return...', + }, + }, + { + id: 'useColumnNames', + title: 'Use Column Names', + type: 'switch', + condition: { field: 'operation', value: ['list_rows', 'get_row'] }, + }, + { + id: 'rows', + title: 'Rows', + type: 'code', + language: 'json', + placeholder: '[{ "Name": "Apple", "Price": 1.25 }]', + condition: { field: 'operation', value: 'upsert_rows' }, + required: { field: 'operation', value: 'upsert_rows' }, + wandConfig: { + enabled: true, + prompt: `Generate a JSON array of rows for a Coda table based on the user's description. +Each row is an object mapping column IDs (like "c-tuVwxYz") or column names to cell values. +Example: [{"Name": "Apple", "Price": 1.25}, {"Name": "Pear", "Price": 2}] +Return ONLY the JSON array.`, + placeholder: 'Describe the rows to add...', + generationType: 'json-object', + }, + }, + { + id: 'keyColumns', + title: 'Upsert Key Columns', + type: 'short-input', + placeholder: 'Comma-separated column IDs or names, e.g., c-tuVwxYz', + condition: { field: 'operation', value: 'upsert_rows' }, + wandConfig: { + enabled: true, + prompt: + 'Generate a comma-separated list of Coda column IDs (like c-tuVwxYz) or column names to match existing rows on, from the user description. Return ONLY the comma-separated list.', + placeholder: 'Describe the columns that identify a row...', + }, + }, + { + id: 'cells', + title: 'Cell Values', + type: 'code', + language: 'json', + placeholder: '{ "Status": "Done" }', + condition: { field: 'operation', value: 'update_row' }, + required: { field: 'operation', value: 'update_row' }, + wandConfig: { + enabled: true, + prompt: `Generate a JSON object of Coda cell updates based on the user's description. +Keys are column IDs (like "c-tuVwxYz") or column names; values are the new cell values. +Example: {"Status": "Done", "Owner": "alex@example.com"} +Return ONLY the JSON object.`, + placeholder: 'Describe the changes...', + generationType: 'json-object', + }, + }, + { + id: 'rowIds', + title: 'Row IDs', + canvasNoun: 'rows', + type: 'short-input', + placeholder: 'Comma-separated row IDs, e.g., i-bCdeFgh, i-CdEfgHi', + condition: { field: 'operation', value: 'delete_rows' }, + required: { field: 'operation', value: 'delete_rows' }, + wandConfig: { + enabled: true, + prompt: + 'Generate a comma-separated list of Coda row IDs (like i-bCdeFgh) from the user description. Return ONLY the comma-separated list.', + placeholder: 'Describe the rows to delete...', + }, + }, + { + id: 'ruleId', + title: 'Automation Rule ID', + canvasNoun: 'an automation', + type: 'short-input', + placeholder: 'e.g., grid-auto-b3Jmey6jBS', + condition: { field: 'operation', value: 'trigger_automation' }, + required: { field: 'operation', value: 'trigger_automation' }, + }, + { + id: 'payload', + title: 'Payload', + type: 'code', + language: 'json', + placeholder: '{ "message": "Hello from Sim" }', + condition: { field: 'operation', value: 'trigger_automation' }, + wandConfig: { + enabled: true, + prompt: + 'Generate a JSON object payload for a Coda webhook automation based on the user description. Return ONLY the JSON object.', + placeholder: 'Describe the payload...', + generationType: 'json-object', + }, + }, + { + id: 'access', + title: 'Access', + type: 'dropdown', + options: [ + { label: 'Can View', id: 'readonly' }, + { label: 'Can Comment', id: 'comment' }, + { label: 'Can Edit', id: 'write' }, + ], + required: true, + value: () => 'readonly', + condition: { field: 'operation', value: 'add_permission' }, + }, + { + id: 'principalType', + title: 'Share With', + type: 'dropdown', + options: [ + { label: 'Email', id: 'email' }, + { label: 'Group', id: 'group' }, + { label: 'Domain', id: 'domain' }, + { label: 'Workspace', id: 'workspace' }, + { label: 'Anyone With the Link', id: 'anyone' }, + ], + required: true, + value: () => 'email', + condition: { field: 'operation', value: 'add_permission' }, + }, + { + id: 'principal', + title: 'Email, Group ID, Domain, or Workspace ID', + canvasNoun: 'someone', + type: 'short-input', + placeholder: 'e.g., teammate@example.com', + condition: { + field: 'operation', + value: 'add_permission', + and: { field: 'principalType', value: 'anyone', not: true }, + }, + required: { + field: 'operation', + value: 'add_permission', + and: { field: 'principalType', value: 'anyone', not: true }, + }, + }, + { + id: 'principalQuery', + title: 'Search', + type: 'short-input', + placeholder: 'Name or email', + condition: { field: 'operation', value: 'search_principals' }, + }, + { + id: 'slug', + title: 'URL Slug', + type: 'short-input', + placeholder: 'e.g., my-doc', + condition: { field: 'operation', value: 'publish_doc' }, + }, + { + id: 'publishMode', + title: 'Viewer Mode', + type: 'dropdown', + options: [ + { label: 'Unchanged', id: 'unchanged' }, + { label: 'View Only', id: 'view' }, + { label: 'Play (Interact Without Saving)', id: 'play' }, + { label: 'Edit', id: 'edit' }, + ], + value: () => 'unchanged', + condition: { field: 'operation', value: 'publish_doc' }, + }, + { + id: 'discoverable', + title: 'Discoverable', + type: 'dropdown', + options: TRI_STATE_OPTIONS, + value: () => 'unchanged', + condition: { field: 'operation', value: 'publish_doc' }, + mode: 'advanced', + }, + { + id: 'categoryNames', + title: 'Categories', + type: 'short-input', + placeholder: 'Comma-separated names from List Doc Categories', + condition: { field: 'operation', value: 'publish_doc' }, + mode: 'advanced', + wandConfig: { + enabled: true, + prompt: + 'Generate a comma-separated list of Coda doc category names (like Project management) from the user description. Return ONLY the comma-separated list.', + placeholder: 'Describe the categories...', + }, + }, + { + id: 'allowEditorsToChangePermissions', + title: 'Editors Can Change Permissions', + type: 'dropdown', + options: TRI_STATE_OPTIONS, + value: () => 'unchanged', + condition: { field: 'operation', value: 'update_acl_settings' }, + }, + { + id: 'allowCopying', + title: 'Viewers Can Copy', + type: 'dropdown', + options: TRI_STATE_OPTIONS, + value: () => 'unchanged', + condition: { field: 'operation', value: 'update_acl_settings' }, + }, + { + id: 'allowViewersToRequestEditing', + title: 'Viewers Can Request Editing', + type: 'dropdown', + options: TRI_STATE_OPTIONS, + value: () => 'unchanged', + condition: { field: 'operation', value: 'update_acl_settings' }, + }, + { + id: 'customDocDomain', + title: 'Custom Domain', + canvasNoun: 'a domain', + type: 'short-input', + placeholder: 'e.g., docs.example.com', + condition: { + field: 'operation', + value: ['add_custom_domain', 'delete_custom_domain', 'get_custom_domain_provider'], + }, + required: { + field: 'operation', + value: ['add_custom_domain', 'delete_custom_domain', 'get_custom_domain_provider'], + }, + }, + { + id: 'folderName', + title: 'Folder Name', + canvasNoun: 'a folder', + type: 'short-input', + placeholder: 'e.g., Projects', + condition: { field: 'operation', value: ['create_folder', 'update_folder'] }, + required: { field: 'operation', value: 'create_folder' }, + }, + { + id: 'folderDescription', + title: 'Folder Description', + type: 'long-input', + placeholder: 'What the folder contains', + condition: { field: 'operation', value: ['create_folder', 'update_folder'] }, + }, + { + id: 'memberEmail', + title: 'Member Email', + canvasNoun: 'a member', + type: 'short-input', + placeholder: 'teammate@example.com', + condition: { field: 'operation', value: 'change_user_role' }, + required: { field: 'operation', value: 'change_user_role' }, + }, + { + id: 'newRole', + title: 'New Role', + type: 'dropdown', + options: [ + { label: 'Doc Maker', id: 'DocMaker' }, + { label: 'Editor', id: 'Editor' }, + { label: 'Admin', id: 'Admin' }, + ], + required: true, + value: () => 'DocMaker', + condition: { field: 'operation', value: 'change_user_role' }, + }, + { + id: 'browserUrl', + title: 'Coda URL', + canvasNoun: 'a link', + type: 'short-input', + placeholder: 'https://coda.io/d/_dAbCDeFGH/Launch-Status_sumnO', + condition: { field: 'operation', value: 'resolve_browser_link' }, + required: { field: 'operation', value: 'resolve_browser_link' }, + }, + { + id: 'mutationRequestId', + title: 'Request ID', + canvasNoun: 'a change', + type: 'short-input', + placeholder: 'requestId returned by a write operation', + condition: { field: 'operation', value: 'get_mutation_status' }, + required: { field: 'operation', value: 'get_mutation_status' }, + }, + { + id: 'workspaceFilter', + title: 'Workspace ID', + type: 'short-input', + placeholder: 'Only include this workspace, e.g., ws-1Ab234', + condition: { field: 'operation', value: WORKSPACE_FILTER_OPERATIONS }, + mode: 'advanced', + }, + { + id: 'isOwner', + title: 'Only Docs I Own', + type: 'switch', + condition: { field: 'operation', value: 'list_docs' }, + mode: 'advanced', + }, + { + id: 'isPublished', + title: 'Only Published Docs', + type: 'switch', + condition: { + field: 'operation', + value: ['list_docs', 'list_doc_analytics', 'get_doc_analytics_summary'], + }, + mode: 'advanced', + }, + { + id: 'starred', + title: 'Starred', + type: 'dropdown', + options: [ + { label: 'Any', id: 'any' }, + { label: 'Starred Only', id: 'true' }, + { label: 'Not Starred', id: 'false' }, + ], + value: () => 'any', + condition: { field: 'operation', value: ['list_docs', 'list_folders'] }, + mode: 'advanced', + }, + { + id: 'inGallery', + title: 'Only Gallery Docs', + type: 'switch', + condition: { field: 'operation', value: 'list_docs' }, + mode: 'advanced', + }, + { + id: 'timezone', + title: 'Timezone', + type: 'short-input', + placeholder: 'e.g., America/Los_Angeles', + condition: { field: 'operation', value: 'create_doc' }, + mode: 'advanced', + }, + { + id: 'pageSubtitle', + title: 'Page Subtitle', + type: 'short-input', + condition: { field: 'operation', value: PAGE_WRITE_OPERATIONS }, + mode: 'advanced', + }, + { + id: 'iconName', + title: 'Icon Name', + type: 'short-input', + placeholder: 'e.g., rocket', + condition: { field: 'operation', value: ['update_doc', ...PAGE_WRITE_OPERATIONS] }, + mode: 'advanced', + }, + { + id: 'imageUrl', + title: 'Cover Image URL', + type: 'short-input', + placeholder: 'https://example.com/image.jpg', + condition: { field: 'operation', value: PAGE_WRITE_OPERATIONS }, + mode: 'advanced', + }, + { + id: 'elementId', + title: 'Anchor Element ID', + type: 'short-input', + placeholder: 'e.g., cl-lzqh0Q0poT (from Get Page Content)', + condition: { field: 'operation', value: 'update_page' }, + mode: 'advanced', + }, + { + id: 'pageVisibility', + title: 'Page Visibility', + type: 'dropdown', + options: [ + { label: 'Unchanged', id: 'unchanged' }, + { label: 'Visible', id: 'visible' }, + { label: 'Hidden', id: 'hidden' }, + ], + value: () => 'unchanged', + condition: { field: 'operation', value: 'update_page' }, + mode: 'advanced', + }, + { + id: 'tableTypes', + title: 'Table Types', + type: 'dropdown', + options: [ + { label: 'All', id: 'all' }, + { label: 'Tables Only', id: 'table' }, + { label: 'Views Only', id: 'view' }, + { label: 'Databases Only', id: 'database' }, + ], + value: () => 'all', + condition: { field: 'operation', value: 'list_tables' }, + mode: 'advanced', + }, + { + id: 'listSortBy', + title: 'Sort By', + type: 'dropdown', + options: [ + { label: 'Default', id: 'default' }, + { label: 'Name', id: 'name' }, + ], + value: () => 'default', + condition: { field: 'operation', value: LIST_SORT_OPERATIONS }, + mode: 'advanced', + }, + { + id: 'useUpdatedTableLayouts', + title: 'Distinguish Detail and Form Layouts', + type: 'switch', + condition: { field: 'operation', value: 'get_table' }, + mode: 'advanced', + }, + { + id: 'rowSortBy', + title: 'Sort By', + type: 'dropdown', + options: [ + { label: 'Created At', id: 'createdAt' }, + { label: 'Updated At', id: 'updatedAt' }, + { label: 'View Order', id: 'natural' }, + ], + value: () => 'createdAt', + condition: { field: 'operation', value: 'list_rows' }, + mode: 'advanced', + }, + { + id: 'valueFormat', + title: 'Value Format', + type: 'dropdown', + options: [ + { label: 'Simple', id: 'simple' }, + { label: 'Simple With Arrays', id: 'simpleWithArrays' }, + { label: 'Rich', id: 'rich' }, + ], + value: () => 'simple', + condition: { field: 'operation', value: ['list_rows', 'get_row'] }, + mode: 'advanced', + }, + { + id: 'visibleOnly', + title: 'Visible Only', + type: 'switch', + condition: { field: 'operation', value: ['list_rows', 'list_columns'] }, + mode: 'advanced', + }, + { + id: 'syncToken', + title: 'Sync Token', + type: 'short-input', + placeholder: 'nextSyncToken from a previous List Rows', + condition: { field: 'operation', value: 'list_rows' }, + mode: 'advanced', + }, + { + id: 'disableParsing', + title: 'Disable Value Parsing', + type: 'switch', + condition: { field: 'operation', value: ['upsert_rows', 'update_row'] }, + mode: 'advanced', + }, + { + id: 'suppressEmail', + title: 'Skip Notification Email', + type: 'switch', + condition: { field: 'operation', value: 'add_permission' }, + mode: 'advanced', + }, + { + id: 'degradeGracefully', + title: 'Resolve Nearest Parent If Deleted', + type: 'switch', + condition: { field: 'operation', value: 'resolve_browser_link' }, + mode: 'advanced', + }, + { + id: 'includedRoles', + title: 'Roles', + type: 'short-input', + placeholder: 'Comma-separated: Admin, DocMaker, Editor', + condition: { field: 'operation', value: 'list_workspace_members' }, + mode: 'advanced', + wandConfig: { + enabled: true, + prompt: + 'Generate a comma-separated list of Coda workspace roles using only Admin, DocMaker, and Editor, from the user description. Return ONLY the comma-separated list.', + placeholder: 'Describe which roles to include...', + }, + }, + { + id: 'docIds', + title: 'Doc IDs', + type: 'short-input', + placeholder: 'Comma-separated doc IDs', + condition: { field: 'operation', value: 'list_doc_analytics' }, + mode: 'advanced', + wandConfig: { + enabled: true, + prompt: + 'Generate a comma-separated list of Coda doc IDs (like AbCDeFGH) from the user description. Return ONLY the comma-separated list.', + placeholder: 'Describe the docs...', + }, + }, + { + id: 'sinceDate', + title: 'Since Date', + type: 'short-input', + placeholder: 'YYYY-MM-DD', + condition: { field: 'operation', value: ANALYTICS_DATE_OPERATIONS }, + mode: 'advanced', + wandConfig: DATE_WAND, + }, + { + id: 'untilDate', + title: 'Until Date', + type: 'short-input', + placeholder: 'YYYY-MM-DD', + condition: { field: 'operation', value: ANALYTICS_DATE_OPERATIONS }, + mode: 'advanced', + wandConfig: DATE_WAND, + }, + { + id: 'analyticsScale', + title: 'Scale', + type: 'dropdown', + options: [ + { label: 'Daily', id: 'daily' }, + { label: 'Cumulative', id: 'cumulative' }, + ], + value: () => 'daily', + condition: { field: 'operation', value: 'list_doc_analytics' }, + mode: 'advanced', + }, + { + id: 'analyticsOrderBy', + title: 'Order By', + type: 'dropdown', + options: [ + { label: 'Default', id: 'default' }, + { label: 'Date', id: 'date' }, + { label: 'Title', id: 'title' }, + { label: 'Views', id: 'views' }, + { label: 'Total Sessions', id: 'totalSessions' }, + { label: 'Copies', id: 'copies' }, + { label: 'Likes', id: 'likes' }, + { label: 'AI Credits', id: 'aiCredits' }, + { label: 'Created At', id: 'createdAt' }, + { label: 'Published At', id: 'publishedAt' }, + ], + value: () => 'default', + condition: { field: 'operation', value: 'list_doc_analytics' }, + mode: 'advanced', + }, + { + id: 'analyticsDirection', + title: 'Direction', + type: 'dropdown', + options: [ + { label: 'Default', id: 'default' }, + { label: 'Descending', id: 'descending' }, + { label: 'Ascending', id: 'ascending' }, + ], + value: () => 'default', + condition: { field: 'operation', value: 'list_doc_analytics' }, + mode: 'advanced', + }, + { + id: 'limit', + title: 'Limit', + type: 'short-input', + placeholder: 'Maximum results per page', + condition: { field: 'operation', value: LIMIT_OPERATIONS }, + mode: 'advanced', + }, + { + id: 'pageToken', + title: 'Page Token', + type: 'short-input', + placeholder: 'nextPageToken from a previous call', + condition: { field: 'operation', value: PAGE_TOKEN_OPERATIONS }, + mode: 'advanced', + }, + ], + tools: { + access: [ + 'coda_add_custom_domain', + 'coda_add_permission', + 'coda_change_user_role', + 'coda_create_doc', + 'coda_create_folder', + 'coda_create_page', + 'coda_delete_custom_domain', + 'coda_delete_doc', + 'coda_delete_folder', + 'coda_delete_page', + 'coda_delete_page_content', + 'coda_delete_permission', + 'coda_delete_row', + 'coda_delete_rows', + 'coda_export_page', + 'coda_get_acl_settings', + 'coda_get_analytics_last_updated', + 'coda_get_column', + 'coda_get_control', + 'coda_get_custom_domain_provider', + 'coda_get_doc', + 'coda_get_doc_analytics_summary', + 'coda_get_folder', + 'coda_get_formula', + 'coda_get_mutation_status', + 'coda_get_page', + 'coda_get_page_content', + 'coda_get_page_export_status', + 'coda_get_row', + 'coda_get_sharing_metadata', + 'coda_get_table', + 'coda_list_categories', + 'coda_list_columns', + 'coda_list_controls', + 'coda_list_custom_domains', + 'coda_list_doc_analytics', + 'coda_list_docs', + 'coda_list_folder_children', + 'coda_list_folders', + 'coda_list_formulas', + 'coda_list_page_analytics', + 'coda_list_pages', + 'coda_list_permissions', + 'coda_list_rows', + 'coda_list_tables', + 'coda_list_workspace_members', + 'coda_list_workspace_roles', + 'coda_publish_doc', + 'coda_push_button', + 'coda_resolve_browser_link', + 'coda_search_principals', + 'coda_trigger_automation', + 'coda_unpublish_doc', + 'coda_update_acl_settings', + 'coda_update_doc', + 'coda_update_folder', + 'coda_update_page', + 'coda_update_row', + 'coda_upsert_rows', + 'coda_whoami', + ], + config: { + tool: (params) => `coda_${params.operation || 'list_rows'}`, + params: (params) => { + const operation = params.operation + const isFolderWrite = operation === 'create_folder' || operation === 'update_folder' + const pageVisibility = params.pageVisibility + return { + query: + operation === 'list_rows' + ? params.rowFilter + : operation === 'search_principals' + ? params.principalQuery + : params.docSearch, + title: params.docTitle, + name: isFolderWrite + ? params.folderName + : operation === 'create_doc' + ? undefined + : params.pageName, + description: isFolderWrite ? params.folderDescription : undefined, + subtitle: operation === 'create_doc' ? undefined : params.pageSubtitle, + content: params.pageContent, + sourceDocId: params.syncSourceDocId, + sourcePageId: params.syncSourcePageId, + includeSubpages: trueOrUndefined(params.includeSubpages), + isHidden: + pageVisibility === 'hidden' ? true : pageVisibility === 'visible' ? false : undefined, + workspaceId: WORKSPACE_REQUIRED_OPERATIONS.includes(operation) + ? params.workspaceId + : params.workspaceFilter, + email: params.memberEmail, + requestId: params.mutationRequestId, + url: params.browserUrl, + sortBy: + operation === 'list_rows' + ? params.rowSortBy + : params.listSortBy === 'name' + ? 'name' + : undefined, + tableTypes: unlessDefault(params.tableTypes, 'all'), + mode: unlessDefault(params.publishMode, 'unchanged'), + discoverable: triState(params.discoverable), + allowEditorsToChangePermissions: triState(params.allowEditorsToChangePermissions), + allowCopying: triState(params.allowCopying), + allowViewersToRequestEditing: triState(params.allowViewersToRequestEditing), + isStarred: triState(params.starred), + scale: unlessDefault(params.analyticsScale, 'daily'), + orderBy: unlessDefault(params.analyticsOrderBy, 'default'), + direction: unlessDefault(params.analyticsDirection, 'default'), + limit: optionalNumber(params.limit), + deleteAll: trueOrUndefined(params.deleteAllContent), + isOwner: trueOrUndefined(params.isOwner), + isPublished: trueOrUndefined(params.isPublished), + inGallery: trueOrUndefined(params.inGallery), + useColumnNames: trueOrUndefined(params.useColumnNames), + useUpdatedTableLayouts: trueOrUndefined(params.useUpdatedTableLayouts), + visibleOnly: trueOrUndefined(params.visibleOnly), + disableParsing: trueOrUndefined(params.disableParsing), + suppressEmail: trueOrUndefined(params.suppressEmail), + degradeGracefully: trueOrUndefined(params.degradeGracefully), + } + }, + }, + }, + inputs: { + operation: { type: 'string', description: 'Operation to perform' }, + oauthCredential: { type: 'string', description: 'Coda API-token credential' }, + docId: { type: 'string', description: 'Doc ID' }, + pageId: { type: 'string', description: 'Page ID or name' }, + tableId: { type: 'string', description: 'Table or view ID or name' }, + rowId: { type: 'string', description: 'Row ID or name' }, + columnId: { type: 'string', description: 'Column ID or name' }, + formulaId: { type: 'string', description: 'Formula ID or name' }, + controlId: { type: 'string', description: 'Control ID or name' }, + permissionId: { type: 'string', description: 'Permission ID' }, + folderId: { type: 'string', description: 'Folder ID' }, + workspaceId: { type: 'string', description: 'Workspace ID' }, + docSearch: { type: 'string', description: 'Search term to filter docs' }, + docTitle: { type: 'string', description: 'Doc title' }, + sourceDoc: { type: 'string', description: 'Doc ID to copy, or to filter copies of' }, + pageName: { type: 'string', description: 'Page name' }, + parentPageId: { type: 'string', description: 'Parent page ID for a subpage' }, + pageType: { type: 'string', description: 'canvas, embed, or syncPage' }, + insertionMode: { type: 'string', description: 'append, prepend, or replace' }, + contentFormat: { type: 'string', description: 'markdown or html' }, + pageContent: { type: 'string', description: 'Page content' }, + embedUrl: { type: 'string', description: 'URL to embed as a page' }, + renderMethod: { type: 'string', description: 'standard or compatibility embed rendering' }, + syncSourceDocId: { type: 'string', description: 'Doc to sync a page from' }, + syncMode: { type: 'string', description: 'page or document sync' }, + syncSourcePageId: { type: 'string', description: 'Page to sync' }, + includeSubpages: { type: 'boolean', description: 'Include subpages in a sync page' }, + elementIds: { type: 'string', description: 'Page element IDs to delete' }, + deleteAllContent: { type: 'boolean', description: 'Delete all content from the page' }, + outputFormat: { type: 'string', description: 'Export format (markdown or html)' }, + exportId: { type: 'string', description: 'Page export ID' }, + rowFilter: { type: 'string', description: 'Row filter as column:value' }, + useColumnNames: { type: 'boolean', description: 'Key values by column name' }, + rows: { type: 'json', description: 'Rows to insert or upsert' }, + keyColumns: { type: 'string', description: 'Upsert key columns' }, + cells: { type: 'json', description: 'Cell values to update' }, + rowIds: { type: 'string', description: 'Row IDs to delete' }, + ruleId: { type: 'string', description: 'Automation rule ID' }, + payload: { type: 'json', description: 'Automation payload' }, + access: { type: 'string', description: 'Access level to grant' }, + principalType: { type: 'string', description: 'Type of principal to share with' }, + principal: { type: 'string', description: 'Email, group ID, domain, or workspace ID' }, + principalQuery: { type: 'string', description: 'User or group search term' }, + slug: { type: 'string', description: 'Published doc URL slug' }, + publishMode: { type: 'string', description: 'Published doc viewer mode' }, + discoverable: { type: 'string', description: 'Published doc discoverability' }, + categoryNames: { type: 'string', description: 'Published doc categories' }, + allowEditorsToChangePermissions: { + type: 'string', + description: 'Whether editors can change permissions', + }, + allowCopying: { type: 'string', description: 'Whether viewers can copy' }, + allowViewersToRequestEditing: { + type: 'string', + description: 'Whether viewers can request editing', + }, + customDocDomain: { type: 'string', description: 'Custom domain' }, + folderName: { type: 'string', description: 'Folder name' }, + folderDescription: { type: 'string', description: 'Folder description' }, + memberEmail: { type: 'string', description: 'Workspace member email' }, + newRole: { type: 'string', description: 'New workspace role' }, + browserUrl: { type: 'string', description: 'Coda browser link to resolve' }, + mutationRequestId: { type: 'string', description: 'Request ID of a write operation' }, + workspaceFilter: { type: 'string', description: 'Workspace ID filter' }, + isOwner: { type: 'boolean', description: 'Only docs owned by the user' }, + isPublished: { type: 'boolean', description: 'Only published docs' }, + starred: { type: 'string', description: 'Starred filter' }, + inGallery: { type: 'boolean', description: 'Only gallery docs' }, + timezone: { type: 'string', description: 'Timezone for a new doc' }, + pageSubtitle: { type: 'string', description: 'Page subtitle' }, + iconName: { type: 'string', description: 'Icon name' }, + imageUrl: { type: 'string', description: 'Cover image URL' }, + elementId: { type: 'string', description: 'Page element to insert relative to' }, + pageVisibility: { type: 'string', description: 'unchanged, visible, or hidden' }, + tableTypes: { type: 'string', description: 'Table types to list' }, + listSortBy: { type: 'string', description: 'Sort order for tables, formulas, controls' }, + useUpdatedTableLayouts: { type: 'boolean', description: 'Report detail and form layouts' }, + rowSortBy: { type: 'string', description: 'Row sort order' }, + valueFormat: { type: 'string', description: 'Cell value format' }, + visibleOnly: { type: 'boolean', description: 'Only visible rows or columns' }, + syncToken: { type: 'string', description: 'Sync token for incremental row reads' }, + disableParsing: { type: 'boolean', description: 'Store values without parsing' }, + suppressEmail: { type: 'boolean', description: 'Skip the sharing notification email' }, + degradeGracefully: { type: 'boolean', description: 'Resolve nearest parent if deleted' }, + includedRoles: { type: 'string', description: 'Workspace roles to include' }, + docIds: { type: 'string', description: 'Doc IDs for analytics' }, + sinceDate: { type: 'string', description: 'Analytics start date' }, + untilDate: { type: 'string', description: 'Analytics end date' }, + analyticsScale: { type: 'string', description: 'daily or cumulative analytics' }, + analyticsOrderBy: { type: 'string', description: 'Analytics sort field' }, + analyticsDirection: { type: 'string', description: 'Analytics sort direction' }, + limit: { type: 'number', description: 'Maximum results per page' }, + pageToken: { type: 'string', description: 'Pagination token' }, + }, + outputs: { + docs: { + type: 'json', + description: + 'Docs (id, name, href, browserLink, icon, owner, ownerName, createdAt, updatedAt, workspace, folder, sourceDoc, docSize, published)', + }, + doc: { + type: 'json', + description: + 'Doc (id, name, href, browserLink, icon, owner, ownerName, createdAt, updatedAt, workspace {id, name, organizationId}, folder {id, name}, sourceDoc, docSize {totalRowCount, tableAndViewCount, baseTableCount, pageCount, overApiSizeLimit}, published {description, browserLink, discoverable, mode, categories})', + }, + docId: { type: 'string', description: 'ID of the affected doc' }, + categories: { type: 'json', description: 'Doc category names' }, + requestId: { + type: 'string', + description: 'Request ID of a queued change, for Get Mutation Status', + }, + customDomains: { + type: 'json', + description: + 'Custom domains (customDocDomain, hasCertificate, hasDnsDocId, setupStatus, domainStatus, lastVerifiedTimestamp)', + }, + customDocDomain: { type: 'string', description: 'Custom domain' }, + provider: { type: 'string', description: 'DNS provider of a custom domain' }, + permissions: { + type: 'json', + description: + 'Permissions (id, access, principal {type, email, groupId, groupName, domain, workspaceId})', + }, + access: { type: 'string', description: 'Access level granted' }, + principalType: { type: 'string', description: 'Type of principal the doc was shared with' }, + permissionId: { type: 'string', description: 'ID of the removed permission' }, + users: { type: 'json', description: 'Matching users (name, loginId, pictureLink)' }, + groups: { type: 'json', description: 'Matching groups (groupId, groupName)' }, + canShare: { type: 'boolean', description: 'Whether the user can share the doc' }, + canShareWithWorkspace: { + type: 'boolean', + description: 'Whether the user can share with the workspace', + }, + canShareWithOrg: { type: 'boolean', description: 'Whether the user can share with the org' }, + canCopy: { type: 'boolean', description: 'Whether the user can copy the doc' }, + allowEditorsToChangePermissions: { + type: 'boolean', + description: 'Whether editors can change permissions', + }, + allowCopying: { type: 'boolean', description: 'Whether viewers can copy the doc' }, + allowViewersToRequestEditing: { + type: 'boolean', + description: 'Whether viewers can request editing', + }, + pages: { + type: 'json', + description: + 'Pages (id, name, subtitle, browserLink, contentType, isHidden, icon, image, parent, children, authors, createdAt, updatedAt)', + }, + page: { + type: 'json', + description: + 'Page (id, name, subtitle, href, browserLink, contentType, isHidden, isEffectivelyHidden, icon, image, parent, children, authors, createdAt, createdBy, updatedAt, updatedBy)', + }, + pageId: { type: 'string', description: 'ID of the created, updated, or deleted page' }, + items: { + type: 'json', + description: + 'Page content lines (id, type, style, format, content, lineLevel), or analytics items (doc or page plus daily metrics)', + }, + exportId: { type: 'string', description: 'Page export ID' }, + status: { type: 'string', description: 'Page export status (inProgress, failed, complete)' }, + href: { type: 'string', description: 'API link reporting the page export status' }, + downloadLink: { type: 'string', description: 'Download link of a completed page export' }, + exportError: { type: 'string', description: 'Error message of a failed page export' }, + tables: { + type: 'json', + description: 'Tables and views (id, name, tableType, href, browserLink, parent)', + }, + table: { + type: 'json', + description: + 'Table (id, name, tableType, browserLink, parent, parentTable, displayColumnId, rowCount, sorts, layout, filter, createdAt, updatedAt)', + }, + columns: { + type: 'json', + description: 'Columns (id, name, display, calculated, formula, defaultValue, format)', + }, + column: { + type: 'json', + description: + 'Column (id, name, display, calculated, formula, defaultValue, format, parentTable)', + }, + rows: { + type: 'json', + description: 'Rows (id, name, index, browserLink, createdAt, updatedAt, values)', + }, + row: { + type: 'json', + description: 'Row (id, name, index, browserLink, createdAt, updatedAt, values, parentTable)', + }, + nextSyncToken: { type: 'string', description: 'Token for reading only rows changed later' }, + addedRowIds: { type: 'json', description: 'IDs of rows that will be added' }, + rowId: { type: 'string', description: 'ID of the affected row' }, + rowIds: { type: 'json', description: 'IDs of rows queued for deletion' }, + columnId: { type: 'string', description: 'ID of the pushed button column' }, + formulas: { type: 'json', description: 'Named formulas (id, name, href, parent)' }, + formula: { type: 'json', description: 'Formula (id, name, href, parent, value)' }, + controls: { type: 'json', description: 'Controls (id, name, href, parent)' }, + control: { + type: 'json', + description: 'Control (id, name, href, parent, controlType, value)', + }, + folders: { + type: 'json', + description: + 'Folders (id, name, browserLink, description, icon, iconColor, createdAt, canEdit, workspace)', + }, + folder: { + type: 'json', + description: + 'Folder (id, name, browserLink, description, icon, iconColor, createdAt, canEdit, workspace)', + }, + folderId: { type: 'string', description: 'ID of the deleted folder' }, + children: { + type: 'json', + description: 'Subfolders (id, name, browserLink, visibility, workspace, ...)', + }, + members: { + type: 'json', + description: + 'Workspace members (email, name, role, registeredAt, roleChangedAt, lastActiveAt, ownedDocs, totalDocs, ...)', + }, + email: { type: 'string', description: 'Email of the member whose role changed' }, + newRole: { type: 'string', description: 'Role assigned' }, + roleChangedAt: { type: 'string', description: 'When the role change took effect' }, + roleActivity: { + type: 'json', + description: + 'Monthly role counts (month, activeAdminCount, activeDocMakerCount, activeEditorCount, inactive counts)', + }, + totalSessions: { type: 'number', description: 'Total sessions across matching docs' }, + docAnalyticsLastUpdated: { type: 'string', description: 'Date doc analytics last updated' }, + packAnalyticsLastUpdated: { + type: 'string', + description: 'Date Pack analytics last updated', + }, + packFormulaAnalyticsLastUpdated: { + type: 'string', + description: 'Date Pack formula analytics last updated', + }, + browserLink: { type: 'string', description: 'Canonical browser link of a resolved resource' }, + resource: { type: 'json', description: 'Resolved resource (type, id, name, href)' }, + completed: { type: 'boolean', description: 'Whether a queued change was applied' }, + warning: { type: 'string', description: 'Warning for a change that completed with caveats' }, + name: { type: 'string', description: 'Name of the token owner' }, + loginId: { type: 'string', description: 'Email of the token owner' }, + pictureLink: { type: 'string', description: 'Avatar link of the token owner' }, + scoped: { type: 'boolean', description: 'Whether the token is restricted' }, + tokenName: { type: 'string', description: 'Name of the API token' }, + workspace: { + type: 'json', + description: 'Default workspace of the token owner (id, name, organizationId, browserLink)', + }, + nextPageToken: { type: 'string', description: 'Token for fetching the next page of results' }, + }, +} + +export const CodaBlockMeta = { + tags: ['note-taking', 'knowledge-base', 'spreadsheet', 'project-management', 'automation'], + url: 'https://coda.io', + templates: [ + { + icon: CodaIcon, + title: 'Coda meeting notes publisher', + prompt: + 'Build a workflow that takes a meeting transcript, has an agent write a summary with decisions and action items, creates a Coda page for the meeting in the team doc, and inserts each action item as a row in the Coda tasks table with owner and due date.', + modules: ['agent', 'workflows'], + category: 'productivity', + tags: ['meetings', 'automation'], + featured: true, + }, + { + icon: CodaIcon, + title: 'Coda OKR progress report', + prompt: + 'Create a scheduled workflow that reads the OKR table in a Coda doc every Friday, computes progress per objective from the key result rows, and appends a weekly progress summary to the OKR review page in Markdown.', + modules: ['scheduled', 'agent', 'workflows'], + category: 'operations', + tags: ['reporting', 'planning'], + }, + { + icon: CodaIcon, + title: 'Coda CRM lead upsert', + prompt: + 'Build a workflow that receives new leads from a form webhook, has an agent normalize company and contact fields, and upserts each lead into a Coda CRM table keyed on email so repeat submissions update the existing row.', + modules: ['agent', 'workflows'], + category: 'sales', + tags: ['crm', 'sync'], + }, + { + icon: CodaIcon, + title: 'Coda bug tracker triage', + prompt: + 'Create a workflow that lists new rows in a Coda bug tracker table, has an agent classify severity and suggest an owner for each bug, updates the rows with the triage fields, and posts the high-severity bugs to Slack.', + modules: ['agent', 'workflows'], + category: 'engineering', + tags: ['triage', 'automation'], + alsoIntegrations: ['slack'], + }, + { + icon: CodaIcon, + title: 'Coda wiki to knowledge base', + prompt: + 'Build a scheduled workflow that lists the pages of a Coda team wiki doc, reads each page as text, and syncs the content into a Sim knowledge base so agents can answer questions from the wiki.', + modules: ['scheduled', 'knowledge-base', 'workflows'], + category: 'productivity', + tags: ['knowledge', 'sync'], + }, + { + icon: CodaIcon, + title: 'Coda table to Sim table mirror', + prompt: + 'Create a scheduled workflow that reads rows changed since the last run from a Coda table using its sync token and mirrors them into a Sim table for reporting and downstream agent runs.', + modules: ['scheduled', 'tables', 'workflows'], + category: 'operations', + tags: ['sync', 'data'], + }, + { + icon: CodaIcon, + title: 'Coda project status digest', + prompt: + 'Build a scheduled workflow that reads the project tracker table in a Coda doc each morning, has an agent flag overdue and blocked projects, and emails a status digest to project leads with links to each row.', + modules: ['scheduled', 'agent', 'workflows'], + category: 'operations', + tags: ['reporting', 'project-management'], + alsoIntegrations: ['gmail'], + }, + { + icon: CodaIcon, + title: 'Coda doc access audit', + prompt: + 'Create a scheduled workflow that lists the Coda docs in a workspace, reads the sharing permissions and sharing settings on each, and writes any docs shared with anyone or outside domains to an audit table for review.', + modules: ['scheduled', 'tables', 'agent', 'workflows'], + category: 'operations', + tags: ['security', 'audit'], + }, + { + icon: CodaIcon, + title: 'Coda doc engagement report', + prompt: + 'Build a scheduled workflow that pulls last week of Coda doc analytics, ranks docs by sessions and views, and posts the most and least used team docs to Slack so owners can archive stale docs.', + modules: ['scheduled', 'agent', 'workflows'], + category: 'operations', + tags: ['analytics', 'reporting'], + alsoIntegrations: ['slack'], + }, + ], + skills: [ + { + name: 'log-action-items-to-coda', + description: + 'Turn meeting notes or a conversation into action items and add them as rows in a Coda tasks table.', + content: + '# Log Action Items to Coda\n\nCapture follow-ups from a meeting or thread in a Coda tasks table.\n\n## Steps\n1. Extract each action item with its owner, due date, and a one-line description.\n2. List the columns of the target Coda table to get the exact column IDs or names.\n3. Insert one row per action item, mapping each field to its column. Use the task name as an upsert key when re-running on the same notes.\n4. Keep the returned request ID and check the mutation status if you need to confirm the rows were written.\n\n## Output\nThe number of rows added and the list of action items with their owners.', + }, + { + name: 'answer-from-coda-table', + description: + 'Answer a question using the rows of a Coda table, filtering by a column value when possible.', + content: + '# Answer From Coda Table\n\nUse a Coda table as the source of truth for a question.\n\n## Steps\n1. If only a Coda link is given, resolve the browser link to get the doc and table IDs.\n2. List the table columns to find the columns relevant to the question.\n3. List rows with column names enabled, filtering on a single column value when the question names one.\n4. Page through results with the page token until you have the rows you need.\n5. Answer only from the returned values.\n\n## Output\nA concise answer citing the row names and links used. Say so if no matching rows exist.', + }, + { + name: 'write-status-update-page', + description: + 'Draft a status update and prepend it to a Coda page as Markdown, keeping earlier updates below.', + content: + '# Write Status Update Page\n\nPublish a dated status update into an existing Coda page.\n\n## Steps\n1. Gather the facts for the update (progress, risks, next steps) from the provided sources.\n2. Write the update in Markdown with a dated heading and short bullet lists.\n3. Update the Coda page with content mode set to prepend so the newest update is at the top.\n4. Confirm the change with the returned request ID if needed.\n\n## Output\nThe Markdown that was added and the page link.', + }, + { + name: 'triage-coda-tracker-rows', + description: + 'Review new rows in a Coda tracker table and update their status, priority, or owner columns.', + content: + '# Triage Coda Tracker Rows\n\nTriage incoming items (bugs, requests, tickets) stored in a Coda table.\n\n## Steps\n1. List rows filtered to the untriaged status value.\n2. For each row, decide priority and owner from its description.\n3. Update each row with the triage fields using column names or IDs.\n4. Push the row button column if the table uses a button to notify the owner.\n\n## Output\nA table of triaged rows with the priority and owner assigned to each.', + }, + { + name: 'audit-coda-doc-sharing', + description: + 'Review who a Coda doc is shared with and flag public links or access outside the company domain.', + content: + '# Audit Coda Doc Sharing\n\nCheck a Coda doc for overly broad access.\n\n## Steps\n1. List the permissions on the doc.\n2. Flag any permission shared with anyone with the link, or with an email or domain outside the company domain.\n3. Read the sharing settings to see whether editors can change permissions or viewers can copy the doc.\n4. Remove a permission only when the user confirms it should be revoked.\n\n## Output\nA list of risky permissions with the principal and access level, plus the current sharing settings.', + }, + { + name: 'export-coda-page-markdown', + description: + 'Export a Coda page as Markdown so its content can be summarized, archived, or synced elsewhere.', + content: + '# Export Coda Page as Markdown\n\nGet the full content of a Coda page as a Markdown file.\n\n## Steps\n1. Start a page export with Markdown as the output format.\n2. Check the export status with the returned export ID until the status is complete.\n3. Use the download link right away; it expires shortly after it is issued.\n4. If the export fails, read the page content directly as plain-text lines instead.\n\n## Output\nThe download link or the page text, plus the page name.', + }, + ], +} as const satisfies BlockMeta diff --git a/apps/sim/blocks/registry-maps.ts b/apps/sim/blocks/registry-maps.ts index b75dc96d948..0f09cc1921e 100644 --- a/apps/sim/blocks/registry-maps.ts +++ b/apps/sim/blocks/registry-maps.ts @@ -44,6 +44,7 @@ import { CloudflareBlock, CloudflareBlockMeta } from '@/blocks/blocks/cloudflare import { CloudFormationBlock, CloudFormationBlockMeta } from '@/blocks/blocks/cloudformation' import { CloudTrailBlock, CloudTrailBlockMeta } from '@/blocks/blocks/cloudtrail' import { CloudWatchBlock, CloudWatchBlockMeta } from '@/blocks/blocks/cloudwatch' +import { CodaBlock, CodaBlockMeta } from '@/blocks/blocks/coda' import { CodePipelineBlock, CodePipelineBlockMeta } from '@/blocks/blocks/codepipeline' import { ConditionBlock } from '@/blocks/blocks/condition' import { ConfluenceBlock, ConfluenceBlockMeta, ConfluenceV2Block } from '@/blocks/blocks/confluence' @@ -426,6 +427,7 @@ export const BLOCK_REGISTRY: Record = { cloudformation: CloudFormationBlock, cloudtrail: CloudTrailBlock, cloudwatch: CloudWatchBlock, + coda: CodaBlock, codepipeline: CodePipelineBlock, condition: ConditionBlock, confluence: ConfluenceBlock, @@ -792,6 +794,7 @@ export const BLOCK_META_REGISTRY: Record = { cloudformation: CloudFormationBlockMeta, cloudtrail: CloudTrailBlockMeta, cloudwatch: CloudWatchBlockMeta, + coda: CodaBlockMeta, codepipeline: CodePipelineBlockMeta, confluence: ConfluenceBlockMeta, context_dev: ContextDevBlockMeta, diff --git a/apps/sim/components/icons.tsx b/apps/sim/components/icons.tsx index 867a81af5c2..165cd584113 100644 --- a/apps/sim/components/icons.tsx +++ b/apps/sim/components/icons.tsx @@ -2326,6 +2326,17 @@ export function AtlassianIcon(props: SVGProps) { ) } +export function CodaIcon(props: SVGProps) { + return ( + + + + ) +} + export function ConfluenceIcon(props: SVGProps) { const id = useId() const topGradientId = `confluence_top_${id}` diff --git a/apps/sim/lib/block-metadata/names.generated.ts b/apps/sim/lib/block-metadata/names.generated.ts index 04f36d5f06b..6b50dd9f5f3 100644 --- a/apps/sim/lib/block-metadata/names.generated.ts +++ b/apps/sim/lib/block-metadata/names.generated.ts @@ -44,6 +44,7 @@ export const BLOCK_NAMES: Readonly> = { cloudformation: 'CloudFormation', cloudtrail: 'CloudTrail', cloudwatch: 'CloudWatch', + coda: 'Coda', codepipeline: 'CodePipeline', condition: 'Condition', confluence_v2: 'Confluence', diff --git a/apps/sim/lib/copilot/generated/docs-manifest.ts b/apps/sim/lib/copilot/generated/docs-manifest.ts index bced482121a..7a1c35fc2a2 100644 --- a/apps/sim/lib/copilot/generated/docs-manifest.ts +++ b/apps/sim/lib/copilot/generated/docs-manifest.ts @@ -109,6 +109,7 @@ export const DOCS_MANIFEST: readonly string[] = [ 'integrations/cloudformation.mdx', 'integrations/cloudtrail.mdx', 'integrations/cloudwatch.mdx', + 'integrations/coda.mdx', 'integrations/codepipeline.mdx', 'integrations/confluence.mdx', 'integrations/context_dev.mdx', diff --git a/apps/sim/lib/credentials/token-service-accounts/descriptors.ts b/apps/sim/lib/credentials/token-service-accounts/descriptors.ts index c2d089ddb3e..1ff8453881c 100644 --- a/apps/sim/lib/credentials/token-service-accounts/descriptors.ts +++ b/apps/sim/lib/credentials/token-service-accounts/descriptors.ts @@ -81,6 +81,7 @@ export const PIPEDRIVE_SERVICE_ACCOUNT_PROVIDER_ID = 'pipedrive-service-account' export const CLAUDE_PLATFORM_SERVICE_ACCOUNT_PROVIDER_ID = 'claude-platform-service-account' as const export const SNOWFLAKE_SERVICE_ACCOUNT_PROVIDER_ID = 'snowflake-service-account' as const +export const CODA_SERVICE_ACCOUNT_PROVIDER_ID = 'coda-service-account' as const const SHOPIFY_DOMAIN_HINT_REGEX = /^[a-z0-9][a-z0-9-]*\.myshopify\.com$/i @@ -109,6 +110,7 @@ export type TokenServiceAccountProviderId = | typeof PIPEDRIVE_SERVICE_ACCOUNT_PROVIDER_ID | typeof CLAUDE_PLATFORM_SERVICE_ACCOUNT_PROVIDER_ID | typeof SNOWFLAKE_SERVICE_ACCOUNT_PROVIDER_ID + | typeof CODA_SERVICE_ACCOUNT_PROVIDER_ID export const TOKEN_SERVICE_ACCOUNT_DESCRIPTORS: Record< TokenServiceAccountProviderId, @@ -407,6 +409,23 @@ export const TOKEN_SERVICE_ACCOUNT_DESCRIPTORS: Record< ], docsUrl: 'https://docs.sim.ai/integrations/managed-agent', }, + [CODA_SERVICE_ACCOUNT_PROVIDER_ID]: { + providerId: CODA_SERVICE_ACCOUNT_PROVIDER_ID, + serviceLabel: 'Coda', + tokenNoun: 'API token', + connectNoun: 'API token', + fields: [ + { + id: 'apiToken', + label: 'API token', + placeholder: 'Paste a Coda API token', + secret: true, + }, + ], + docsUrl: 'https://docs.sim.ai/integrations/coda', + helpText: + 'Create a token under Account settings → API settings. A token restricted to specific docs or tables can only read and write those.', + }, [SNOWFLAKE_SERVICE_ACCOUNT_PROVIDER_ID]: { providerId: SNOWFLAKE_SERVICE_ACCOUNT_PROVIDER_ID, serviceLabel: 'Snowflake', diff --git a/apps/sim/lib/credentials/token-service-accounts/server.ts b/apps/sim/lib/credentials/token-service-accounts/server.ts index b341006753a..4e6daa6582d 100644 --- a/apps/sim/lib/credentials/token-service-accounts/server.ts +++ b/apps/sim/lib/credentials/token-service-accounts/server.ts @@ -6,6 +6,7 @@ import { CALCOM_SERVICE_ACCOUNT_PROVIDER_ID, CLAUDE_PLATFORM_SERVICE_ACCOUNT_PROVIDER_ID, CLICKUP_SERVICE_ACCOUNT_PROVIDER_ID, + CODA_SERVICE_ACCOUNT_PROVIDER_ID, HARMONIC_SERVICE_ACCOUNT_PROVIDER_ID, HUBSPOT_SERVICE_ACCOUNT_PROVIDER_ID, isTokenServiceAccountProviderId, @@ -27,6 +28,7 @@ import { validateAttioServiceAccount } from '@/lib/credentials/token-service-acc import { validateCalcomServiceAccount } from '@/lib/credentials/token-service-accounts/validators/calcom' import { validateClaudePlatformServiceAccount } from '@/lib/credentials/token-service-accounts/validators/claude-platform' import { validateClickupServiceAccount } from '@/lib/credentials/token-service-accounts/validators/clickup' +import { validateCodaServiceAccount } from '@/lib/credentials/token-service-accounts/validators/coda' import { validateHarmonicServiceAccount } from '@/lib/credentials/token-service-accounts/validators/harmonic' import { validateHubspotServiceAccount } from '@/lib/credentials/token-service-accounts/validators/hubspot' import { validateLinearServiceAccount } from '@/lib/credentials/token-service-accounts/validators/linear' @@ -100,6 +102,7 @@ const TOKEN_SERVICE_ACCOUNT_VALIDATORS: Record< [PIPEDRIVE_SERVICE_ACCOUNT_PROVIDER_ID]: validatePipedriveServiceAccount, [CLAUDE_PLATFORM_SERVICE_ACCOUNT_PROVIDER_ID]: validateClaudePlatformServiceAccount, [SNOWFLAKE_SERVICE_ACCOUNT_PROVIDER_ID]: validateSnowflakeServiceAccount, + [CODA_SERVICE_ACCOUNT_PROVIDER_ID]: validateCodaServiceAccount, } export function getTokenServiceAccountValidator( diff --git a/apps/sim/lib/credentials/token-service-accounts/validators/coda.test.ts b/apps/sim/lib/credentials/token-service-accounts/validators/coda.test.ts new file mode 100644 index 00000000000..4bb418a3510 --- /dev/null +++ b/apps/sim/lib/credentials/token-service-accounts/validators/coda.test.ts @@ -0,0 +1,97 @@ +/** + * @vitest-environment node + */ +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import { + CODA_SERVICE_ACCOUNT_PROVIDER_ID, + TOKEN_SERVICE_ACCOUNT_DESCRIPTORS, +} from '@/lib/credentials/token-service-accounts/descriptors' +import { TokenServiceAccountValidationError } from '@/lib/credentials/token-service-accounts/errors' +import { getTokenServiceAccountValidator } from '@/lib/credentials/token-service-accounts/server' +import { validateCodaServiceAccount } from '@/lib/credentials/token-service-accounts/validators/coda' + +const mockFetch = vi.fn() + +function jsonResponse(status: number, body: unknown): Response { + return new Response(JSON.stringify(body), { + status, + headers: { 'Content-Type': 'application/json' }, + }) +} + +describe('validateCodaServiceAccount', () => { + beforeEach(() => { + vi.stubGlobal('fetch', mockFetch) + mockFetch.mockReset() + }) + + afterEach(() => { + vi.unstubAllGlobals() + }) + + it('is registered with its descriptor', () => { + expect(getTokenServiceAccountValidator(CODA_SERVICE_ACCOUNT_PROVIDER_ID)).toBe( + validateCodaServiceAccount + ) + expect(TOKEN_SERVICE_ACCOUNT_DESCRIPTORS[CODA_SERVICE_ACCOUNT_PROVIDER_ID]).toMatchObject({ + serviceLabel: 'Coda', + fields: [{ id: 'apiToken', secret: true }], + }) + }) + + it('returns the token owner as principal and workspace metadata', async () => { + mockFetch.mockResolvedValue( + jsonResponse(200, { + name: 'Jane Doe', + loginId: 'jane@example.com', + type: 'user', + scoped: false, + tokenName: 'Sim workflows', + href: 'https://coda.io/apis/v1/whoami', + workspace: { id: 'ws-1Ab234', type: 'workspace', name: 'Acme' }, + }) + ) + + const result = await validateCodaServiceAccount({ apiToken: 'coda-token' }) + + expect(result).toEqual({ + displayName: 'Sim workflows (jane@example.com)', + principal: { kind: 'user', id: 'jane@example.com', label: 'Jane Doe' }, + auditMetadata: { codaWorkspaceId: 'ws-1Ab234' }, + storedMetadata: { workspaceId: 'ws-1Ab234', scoped: 'false', tokenName: 'Sim workflows' }, + }) + expect(mockFetch).toHaveBeenCalledWith('https://coda.io/apis/v1/whoami', { + headers: { Authorization: 'Bearer coda-token', Accept: 'application/json' }, + redirect: 'error', + signal: expect.any(AbortSignal), + }) + }) + + it('maps 401 to invalid_credentials', async () => { + mockFetch.mockResolvedValue( + jsonResponse(401, { statusCode: 401, statusMessage: 'Unauthorized', message: 'Unauthorized' }) + ) + + const error = await validateCodaServiceAccount({ apiToken: 'bad' }).catch((e) => e) + + expect(error).toBeInstanceOf(TokenServiceAccountValidationError) + expect(error.code).toBe('invalid_credentials') + expect(error.status).toBe(401) + }) + + it('maps 429 and 500 to provider_unavailable', async () => { + for (const status of [429, 500]) { + mockFetch.mockResolvedValueOnce(jsonResponse(status, { message: 'nope' })) + const error = await validateCodaServiceAccount({ apiToken: 'coda-token' }).catch((e) => e) + expect(error.code).toBe('provider_unavailable') + } + }) + + it('rejects a success body without a login id', async () => { + for (const body of [{ name: 'Jane' }, null, { loginId: ' ' }]) { + mockFetch.mockResolvedValueOnce(jsonResponse(200, body)) + const error = await validateCodaServiceAccount({ apiToken: 'coda-token' }).catch((e) => e) + expect(error.code).toBe('provider_unavailable') + } + }) +}) diff --git a/apps/sim/lib/credentials/token-service-accounts/validators/coda.ts b/apps/sim/lib/credentials/token-service-accounts/validators/coda.ts new file mode 100644 index 00000000000..dddb0909b68 --- /dev/null +++ b/apps/sim/lib/credentials/token-service-accounts/validators/coda.ts @@ -0,0 +1,64 @@ +import { userPrincipal } from '@/lib/credentials/principal' +import { + fetchProvider, + parseProviderJson, + TokenServiceAccountValidationError, + throwForProviderResponse, +} from '@/lib/credentials/token-service-accounts/errors' +import type { + TokenServiceAccountFields, + TokenServiceAccountValidationResult, +} from '@/lib/credentials/token-service-accounts/server' +import { CODA_API_BASE, codaHeaders } from '@/tools/coda/utils' + +const CODA_WHOAMI_URL = `${CODA_API_BASE}/whoami` + +interface CodaWhoamiResponse { + name?: string + loginId?: string + tokenName?: string + scoped?: boolean + workspace?: { id?: string; name?: string } +} + +/** + * Validates a Coda API token by calling `GET /whoami`, which every token may + * call regardless of doc or table restrictions. The header set comes from the + * same helper the runtime tools use, so a token that verifies here is proven + * against the exact request shape tools send. Coda exposes no numeric user id, + * so the login email is the principal id. + */ +export async function validateCodaServiceAccount( + fields: TokenServiceAccountFields +): Promise { + const res = await fetchProvider( + CODA_WHOAMI_URL, + { headers: codaHeaders(fields.apiToken), redirect: 'error' }, + 'whoami' + ) + await throwForProviderResponse(res, 'whoami') + + const body = await parseProviderJson(res, 'whoami') + if (typeof body?.loginId !== 'string' || !body.loginId.trim()) { + throw new TokenServiceAccountValidationError('provider_unavailable', 502, { + step: 'whoami', + reason: 'missing loginId in response', + }) + } + + const auditMetadata: Record = {} + const storedMetadata: Record = {} + if (body.workspace?.id) { + auditMetadata.codaWorkspaceId = body.workspace.id + storedMetadata.workspaceId = body.workspace.id + } + if (typeof body.scoped === 'boolean') storedMetadata.scoped = String(body.scoped) + if (body.tokenName) storedMetadata.tokenName = body.tokenName + + return { + displayName: body.tokenName ? `${body.tokenName} (${body.loginId})` : body.loginId, + principal: userPrincipal(body.loginId, body.name), + auditMetadata, + storedMetadata, + } +} diff --git a/apps/sim/lib/integrations/credential-display.test.ts b/apps/sim/lib/integrations/credential-display.test.ts index cc138c9d705..69dbcfff521 100644 --- a/apps/sim/lib/integrations/credential-display.test.ts +++ b/apps/sim/lib/integrations/credential-display.test.ts @@ -49,6 +49,7 @@ const EXPECTED_COVERAGE: Record = { 'calcom-service-account': ['cal-com'], 'claude-platform-service-account': [], 'clickup-service-account': ['clickup'], + 'coda-service-account': [], 'github-app-installation': ['github'], 'google-service-account': [ 'gmail', diff --git a/apps/sim/lib/integrations/icon-mapping.ts b/apps/sim/lib/integrations/icon-mapping.ts index bad2b73663e..6167ee0d684 100644 --- a/apps/sim/lib/integrations/icon-mapping.ts +++ b/apps/sim/lib/integrations/icon-mapping.ts @@ -46,6 +46,7 @@ import { CloudflareIcon, CloudTrailIcon, CloudWatchIcon, + CodaIcon, CodePipelineIcon, ConfluenceIcon, ContextDevIcon, @@ -319,6 +320,7 @@ export const blockTypeToIconMap: Record = { cloudformation: CloudFormationIcon, cloudtrail: CloudTrailIcon, cloudwatch: CloudWatchIcon, + coda: CodaIcon, codepipeline: CodePipelineIcon, confluence: ConfluenceIcon, confluence_v2: ConfluenceIcon, diff --git a/apps/sim/lib/oauth/oauth.ts b/apps/sim/lib/oauth/oauth.ts index 1d6891b9d6c..8ab9ddcd9ba 100644 --- a/apps/sim/lib/oauth/oauth.ts +++ b/apps/sim/lib/oauth/oauth.ts @@ -11,6 +11,7 @@ import { CalComIcon, ClaudeIcon, ClickUpIcon, + CodaIcon, ConfluenceIcon, DocuSignIcon, DropboxIcon, @@ -1319,6 +1320,23 @@ export const OAUTH_PROVIDERS: Record = { }, defaultService: 'hubspot', }, + coda: { + name: 'Coda', + icon: CodaIcon, + services: { + coda: { + name: 'Coda', + description: 'Read and write Coda docs, pages, and tables.', + providerId: 'coda', + serviceAccountProviderId: 'coda-service-account', + icon: CodaIcon, + baseProviderIcon: CodaIcon, + scopes: [], + authType: 'service_account', + }, + }, + defaultService: 'coda', + }, harmonic: { name: 'Harmonic', icon: HarmonicIcon, diff --git a/apps/sim/lib/oauth/types.ts b/apps/sim/lib/oauth/types.ts index b97bc4fd9e8..393fcf13d7f 100644 --- a/apps/sim/lib/oauth/types.ts +++ b/apps/sim/lib/oauth/types.ts @@ -83,6 +83,7 @@ export type OAuthProvider = | 'quickbooks' | 'hubspot' | 'harmonic' + | 'coda' | 'salesforce' | 'linkedin' | 'instagram' @@ -145,6 +146,7 @@ export type OAuthService = | 'quickbooks' | 'hubspot' | 'harmonic' + | 'coda' | 'salesforce' | 'linkedin' | 'instagram' diff --git a/apps/sim/lib/selectors/manifest.test.ts b/apps/sim/lib/selectors/manifest.test.ts index f8a41558c4b..e51805d591c 100644 --- a/apps/sim/lib/selectors/manifest.test.ts +++ b/apps/sim/lib/selectors/manifest.test.ts @@ -9,8 +9,8 @@ describe('selector manifest', () => { const count = (classification: (typeof classifications)[number]) => classifications.filter((value) => value === classification).length - expect(Object.keys(selectorManifest)).toHaveLength(98) - expect(count('provider-server')).toBe(85) + expect(Object.keys(selectorManifest)).toHaveLength(107) + expect(count('provider-server')).toBe(94) expect(count('internal-server')).toBe(12) expect(count('local')).toBe(1) expect(classifications).not.toContain('provider-legacy') @@ -36,7 +36,7 @@ describe('selector manifest', () => { const rawConnectionKeys = providerKeys.filter( (key) => !serverSelectorRegistry[key as keyof typeof serverSelectorRegistry].credential ) - expect(providerKeys).toHaveLength(85) + expect(providerKeys).toHaveLength(94) expect(rawConnectionKeys.sort()).toEqual([ 'cloudwatch.logGroups', 'cloudwatch.logStreams', diff --git a/apps/sim/lib/selectors/manifest.ts b/apps/sim/lib/selectors/manifest.ts index 6d65ad50ea5..7369e6f956a 100644 --- a/apps/sim/lib/selectors/manifest.ts +++ b/apps/sim/lib/selectors/manifest.ts @@ -125,6 +125,49 @@ export const selectorManifest = { any: ['folderId', 'spaceId', 'listSpaceId'], }, }), + 'coda.docs': providerSelector([], { + listMode: 'paginated', + search: true, + detail: true, + unknownDetail: true, + staleTime: SEARCH_SELECTOR_STALE_TIME, + }), + 'coda.pages': providerSelector(['docId'], { + readiness: { all: ['oauthCredential', 'docId'] }, + detail: true, + unknownDetail: true, + }), + 'coda.tables': providerSelector(['docId'], { + readiness: { all: ['oauthCredential', 'docId'] }, + detail: true, + unknownDetail: true, + }), + 'coda.columns': providerSelector(['docId', 'tableId'], { + readiness: { all: ['oauthCredential', 'docId', 'tableId'] }, + detail: true, + unknownDetail: true, + }), + 'coda.rows': providerSelector(['docId', 'tableId'], { + readiness: { all: ['oauthCredential', 'docId', 'tableId'] }, + listMode: 'paginated', + detail: true, + unknownDetail: true, + }), + 'coda.formulas': providerSelector(['docId'], { + readiness: { all: ['oauthCredential', 'docId'] }, + detail: true, + unknownDetail: true, + }), + 'coda.controls': providerSelector(['docId'], { + readiness: { all: ['oauthCredential', 'docId'] }, + detail: true, + unknownDetail: true, + }), + 'coda.folders': providerSelector([], { detail: true, unknownDetail: true }), + 'coda.permissions': providerSelector(['docId'], { + readiness: { all: ['oauthCredential', 'docId'] }, + detail: true, + }), 'confluence.spaces': providerSelector(['domain'], { readiness: { all: ['oauthCredential', 'domain'] }, listMode: 'paginated', diff --git a/apps/sim/lib/selectors/server/providers/coda.test.ts b/apps/sim/lib/selectors/server/providers/coda.test.ts new file mode 100644 index 00000000000..3aec6555415 --- /dev/null +++ b/apps/sim/lib/selectors/server/providers/coda.test.ts @@ -0,0 +1,179 @@ +/** + * @vitest-environment node + */ +import { afterAll, beforeEach, describe, expect, it, vi } from 'vitest' + +const { mockFetch, mockResolveCredentialBundle } = vi.hoisted(() => ({ + mockFetch: vi.fn(), + mockResolveCredentialBundle: vi.fn(), +})) + +vi.mock('@/lib/selectors/server/providers/credential-bundle', () => ({ + resolveSelectorCredentialBundle: mockResolveCredentialBundle, +})) + +import type { ServerSelectorKey } from '@/lib/selectors/manifest' +import { SelectorContextUnavailableError } from '@/lib/selectors/server/errors' +import { createSelectorProtectedValues } from '@/lib/selectors/server/protected-values' +import { codaSelectorAttachments } from '@/lib/selectors/server/providers/coda' +import type { ExecuteServerSelectorArgs } from '@/lib/selectors/server/types' +import type { SelectorContext, SelectorRequest } from '@/lib/selectors/types' + +function args( + selectorKey: ServerSelectorKey, + request: SelectorRequest, + context: SelectorContext = {} +): ExecuteServerSelectorArgs { + return { + selectorKey, + context: { oauthCredential: 'credential-1', ...context }, + request, + scope: { kind: 'workspace', workspaceId: 'workspace-1' }, + workspaceId: 'workspace-1', + principal: { kind: 'session', userId: 'user-1', sessionId: 'session-1' }, + requesterUserId: 'user-1', + credential: { suppliedId: 'credential-1' }, + references: new Map(), + protectedValues: createSelectorProtectedValues(), + } +} + +function json(body: unknown, status = 200): Response { + return new Response(JSON.stringify(body), { status }) +} + +describe('Coda server selector adapter', () => { + beforeEach(() => { + vi.clearAllMocks() + vi.stubGlobal('fetch', mockFetch) + mockResolveCredentialBundle.mockResolvedValue({ accessToken: 'server-only-token' }) + }) + + afterAll(() => vi.unstubAllGlobals()) + + it('continues a doc search with only the Coda page token and returns the next cursor', async () => { + mockFetch.mockResolvedValueOnce( + json({ items: [{ id: 'doc1', name: 'Roadmap', owner: 'a@b.co' }], nextPageToken: 'tok2' }) + ) + + const result = await codaSelectorAttachments['coda.docs'].execute( + args('coda.docs', { kind: 'list', search: ' road ', cursor: 'tok1' }) + ) + + expect(result).toEqual({ + kind: 'list', + items: [{ id: 'doc1', label: 'Roadmap' }], + nextCursor: 'tok2', + }) + const [url, init] = mockFetch.mock.calls[0] + expect(mockFetch).toHaveBeenCalledTimes(1) + expect(url).toBe('https://coda.io/apis/v1/docs?pageToken=tok1') + expect(init.headers).toEqual({ + Authorization: 'Bearer server-only-token', + Accept: 'application/json', + }) + }) + + it('sends the search term and page size on the first doc page', async () => { + mockFetch.mockResolvedValueOnce(json({ items: [] })) + + await codaSelectorAttachments['coda.docs'].execute( + args('coda.docs', { kind: 'list', search: ' road ' }) + ) + + expect(mockFetch.mock.calls[0][0]).toBe('https://coda.io/apis/v1/docs?limit=100&query=road') + }) + + it('reads every page of a doc-scoped list into one flat result', async () => { + mockFetch + .mockResolvedValueOnce( + json({ items: [{ id: 'grid-1', name: 'Tasks', tableType: 'table' }], nextPageToken: 'p2' }) + ) + .mockResolvedValueOnce(json({ items: [{ id: 'table-2', name: 'Open', tableType: 'view' }] })) + + const result = await codaSelectorAttachments['coda.tables'].execute( + args('coda.tables', { kind: 'list' }, { docId: 'AbCDeFGH' }) + ) + + expect(result).toEqual({ + kind: 'list', + items: [ + { id: 'grid-1', label: 'Tasks', meta: { tableType: 'table' } }, + { id: 'table-2', label: 'Open (view)', meta: { tableType: 'view' } }, + ], + }) + expect(mockFetch.mock.calls[1][0]).toBe( + 'https://coda.io/apis/v1/docs/AbCDeFGH/tables?pageToken=p2' + ) + }) + + it('scopes columns and rows to the selected doc and table', async () => { + mockFetch.mockResolvedValueOnce( + json({ items: [{ id: 'c-1', name: 'Status', format: { type: 'select', isArray: false } }] }) + ) + + await expect( + codaSelectorAttachments['coda.columns'].execute( + args('coda.columns', { kind: 'list' }, { docId: 'doc', tableId: 'grid 1' }) + ) + ).resolves.toEqual({ + kind: 'list', + items: [{ id: 'c-1', label: 'Status', meta: { formatType: 'select' } }], + }) + expect(mockFetch.mock.calls[0][0]).toBe( + 'https://coda.io/apis/v1/docs/doc/tables/grid%201/columns?limit=100' + ) + }) + + it('resolves a missing resource detail to no option', async () => { + mockFetch.mockResolvedValueOnce(json({ message: 'Not Found' }, 404)) + + await expect( + codaSelectorAttachments['coda.pages'].execute( + args('coda.pages', { kind: 'detail', id: 'canvas-gone' }, { docId: 'doc' }) + ) + ).resolves.toEqual({ kind: 'detail', item: null }) + expect(mockFetch.mock.calls[0][0]).toBe('https://coda.io/apis/v1/docs/doc/pages/canvas-gone') + }) + + it('labels permissions by principal and resolves details from the list', async () => { + mockFetch.mockResolvedValue( + json({ + items: [ + { id: 'perm-1', access: 'write', principal: { type: 'email', email: 'a@b.co' } }, + { id: 'perm-2', access: 'readonly', principal: { type: 'anyone' } }, + ], + }) + ) + + await expect( + codaSelectorAttachments['coda.permissions'].execute( + args('coda.permissions', { kind: 'detail', id: 'perm-2' }, { docId: 'doc' }) + ) + ).resolves.toEqual({ + kind: 'detail', + item: { + id: 'perm-2', + label: 'Anyone with the link (readonly)', + meta: { access: 'readonly', principalType: 'anyone' }, + }, + }) + }) + + it('rejects missing or traversal context before contacting Coda', async () => { + await expect( + codaSelectorAttachments['coda.pages'].execute(args('coda.pages', { kind: 'list' })) + ).rejects.toBeInstanceOf(SelectorContextUnavailableError) + await expect( + codaSelectorAttachments['coda.rows'].execute( + args('coda.rows', { kind: 'list' }, { docId: 'doc', tableId: '..' }) + ) + ).rejects.toBeInstanceOf(SelectorContextUnavailableError) + await expect( + codaSelectorAttachments['coda.docs'].execute( + args('coda.docs', { kind: 'list', cursor: 'bad token' }) + ) + ).rejects.toBeInstanceOf(SelectorContextUnavailableError) + expect(mockFetch).not.toHaveBeenCalled() + }) +}) diff --git a/apps/sim/lib/selectors/server/providers/coda.ts b/apps/sim/lib/selectors/server/providers/coda.ts new file mode 100644 index 00000000000..14db8f8e837 --- /dev/null +++ b/apps/sim/lib/selectors/server/providers/coda.ts @@ -0,0 +1,369 @@ +import { truncate } from '@sim/utils/string' +import { z } from 'zod' +import { MAX_SELECTOR_OPTIONS } from '@/lib/selectors/limits' +import type { ServerSelectorKey } from '@/lib/selectors/manifest' +import { + SelectorContextUnavailableError, + SelectorOptionsUnavailableError, +} from '@/lib/selectors/server/errors' +import { appendSelectorOptions } from '@/lib/selectors/server/option-budget' +import { resolveSelectorCredentialBundle } from '@/lib/selectors/server/providers/credential-bundle' +import { + fetchProviderJson, + fetchProviderJsonWithStatus, +} from '@/lib/selectors/server/providers/provider-http' +import { + detailSelectorResult, + type ExecuteServerSelectorArgs, + listSelectorResult, + type ServerSelectorAttachment, + type ServerSelectorAttachmentMap, + type ServerSelectorExecutionResult, +} from '@/lib/selectors/server/types' +import type { SafeSelectorOption } from '@/lib/selectors/types' +import { buildCodaUrl, codaHeaders } from '@/tools/coda/utils' +import { safeUrlPathSegment } from '@/tools/url-path' + +type CodaSelectorKey = Extract + +const CODA_PAGE_SIZE = 100 +const CODA_MAX_FLAT_PAGES = 20 +const CODA_PAGE_TOKEN_PATTERN = /^[\x21-\x7e]{1,4096}$/ + +const namedItemSchema = z.object({ + id: z.string().min(1).max(512), + name: z.string().optional(), +}) + +const tableItemSchema = namedItemSchema.extend({ tableType: z.string().max(64).optional() }) + +const columnItemSchema = namedItemSchema.extend({ + format: z + .object({ type: z.string().max(64).optional() }) + .passthrough() + .optional(), +}) + +const permissionItemSchema = z.object({ + id: z.string().min(1).max(512), + access: z.string().max(64), + principal: z + .object({ + type: z.string().max(64).optional(), + email: z.string().max(1_024).optional(), + groupName: z.string().max(1_024).optional(), + domain: z.string().max(1_024).optional(), + workspaceId: z.string().max(512).optional(), + }) + .optional(), +}) + +function pageSchema(item: T) { + return z.object({ + items: z.array(item).max(1_000).optional(), + nextPageToken: z.string().max(4_096).optional(), + }) +} + +type NamedItem = z.infer +type TableItem = z.infer +type ColumnItem = z.infer +type PermissionItem = z.infer + +async function codaAccessToken(args: ExecuteServerSelectorArgs): Promise { + const { accessToken } = await resolveSelectorCredentialBundle({ + credential: args.credential, + protectedValues: args.protectedValues, + }) + return accessToken +} + +/** Encodes a context value or requested id as one path segment, rejecting traversal input. */ +function segment(value: string | undefined, paramName: string): string { + const trimmed = value?.trim() + if (!trimmed) throw new SelectorContextUnavailableError() + try { + return safeUrlPathSegment(trimmed, paramName) + } catch { + throw new SelectorContextUnavailableError() + } +} + +function docPath(args: ExecuteServerSelectorArgs): string { + return `/docs/${segment(args.context.docId, 'docId')}` +} + +function tablePath(args: ExecuteServerSelectorArgs): string { + return `${docPath(args)}/tables/${segment(args.context.tableId, 'tableId')}` +} + +function requireCursor(cursor: string | undefined): string | undefined { + if (cursor === undefined) return undefined + if (!CODA_PAGE_TOKEN_PATTERN.test(cursor)) throw new SelectorContextUnavailableError() + return cursor +} + +async function fetchPage( + args: ExecuteServerSelectorArgs, + accessToken: string, + path: string, + schema: T, + query: Record +): Promise>>> { + const body = await fetchProviderJson(buildCodaUrl(path, query), { + headers: codaHeaders(accessToken), + signal: args.signal, + }) + const parsed = pageSchema(schema).safeParse(body) + if (!parsed.success) throw new SelectorOptionsUnavailableError() + return parsed.data +} + +/** Reads every page of a bounded Coda list into one flat option set. */ +async function listAllPages( + args: ExecuteServerSelectorArgs, + path: string, + schema: T, + toOption: (item: z.infer) => SafeSelectorOption +): Promise { + const accessToken = await codaAccessToken(args) + const options: SafeSelectorOption[] = [] + let pageToken: string | undefined + let truncated = false + + for (let page = 0; page < CODA_MAX_FLAT_PAGES; page++) { + const data = await fetchPage(args, accessToken, path, schema, { + limit: CODA_PAGE_SIZE, + pageToken, + }) + const appended = appendSelectorOptions(options, (data.items ?? []).map(toOption)) + pageToken = data.nextPageToken + if (!pageToken) { + if (appended.overflow) truncated = true + break + } + if (appended.full || page === CODA_MAX_FLAT_PAGES - 1) { + truncated = true + break + } + } + + return listSelectorResult( + options, + undefined, + truncated + ? { + truncated: { + reason: 'provider-cap', + limit: MAX_SELECTOR_OPTIONS, + pages: CODA_MAX_FLAT_PAGES, + }, + } + : undefined + ) +} + +/** Resolves one resource by id; a missing or deleted resource resolves to no option. */ +async function getDetail( + args: ExecuteServerSelectorArgs, + path: string, + schema: T, + toOption: (item: z.infer) => SafeSelectorOption +): Promise { + const accessToken = await codaAccessToken(args) + const result = await fetchProviderJsonWithStatus( + buildCodaUrl(path), + { headers: codaHeaders(accessToken), signal: args.signal }, + { passthroughStatuses: [404, 410] } + ) + if (!result.ok) return detailSelectorResult(null) + const parsed = schema.safeParse(result.data) + if (!parsed.success) throw new SelectorOptionsUnavailableError() + return detailSelectorResult(toOption(parsed.data)) +} + +function namedOption(item: NamedItem): SafeSelectorOption { + return { id: item.id, label: truncate(item.name?.trim() || item.id, 200) } +} + +function tableOption(item: TableItem): SafeSelectorOption { + const name = truncate(item.name?.trim() || item.id, 200) + return { + id: item.id, + label: item.tableType === 'view' ? `${name} (view)` : name, + ...(item.tableType ? { meta: { tableType: item.tableType } } : {}), + } +} + +function columnOption(item: ColumnItem): SafeSelectorOption { + const formatType = item.format?.type + return { + id: item.id, + label: truncate(item.name?.trim() || item.id, 200), + ...(formatType ? { meta: { formatType } } : {}), + } +} + +function permissionOption(item: PermissionItem): SafeSelectorOption { + const principal = item.principal + const who = + principal?.type === 'anyone' + ? 'Anyone with the link' + : principal?.email || + principal?.groupName || + principal?.domain || + principal?.workspaceId || + item.id + return { + id: item.id, + label: `${who} (${item.access})`, + meta: { access: item.access, ...(principal?.type ? { principalType: principal.type } : {}) }, + } +} + +/** + * Docs and rows can number in the thousands, so they page through the selector + * cursor instead of being read eagerly. Docs support Coda's server-side search. + */ +async function executeDocs(args: ExecuteServerSelectorArgs) { + if (args.request.kind === 'detail') { + return getDetail( + args, + `/docs/${segment(args.request.id, 'docId')}`, + namedItemSchema, + namedOption + ) + } + const accessToken = await codaAccessToken(args) + const data = await fetchPage(args, accessToken, '/docs', namedItemSchema, { + limit: CODA_PAGE_SIZE, + query: args.request.search?.trim() || undefined, + pageToken: requireCursor(args.request.cursor), + }) + return listSelectorResult((data.items ?? []).map(namedOption), data.nextPageToken) +} + +async function executeRows(args: ExecuteServerSelectorArgs) { + if (args.request.kind === 'detail') { + return getDetail( + args, + `${tablePath(args)}/rows/${segment(args.request.id, 'rowId')}`, + namedItemSchema, + namedOption + ) + } + const accessToken = await codaAccessToken(args) + const data = await fetchPage(args, accessToken, `${tablePath(args)}/rows`, namedItemSchema, { + limit: CODA_PAGE_SIZE, + pageToken: requireCursor(args.request.cursor), + }) + return listSelectorResult((data.items ?? []).map(namedOption), data.nextPageToken) +} + +function docScopedAttachment(input: { + collection: string + idParam: string + schema: T + toOption: (item: z.infer) => SafeSelectorOption + scope?: (args: ExecuteServerSelectorArgs) => string +}): ServerSelectorAttachment { + const scope = input.scope ?? docPath + return { + credential, + integrationBlockTypes, + destination: 'fixed', + execute: async (args) => + args.request.kind === 'detail' + ? getDetail( + args, + `${scope(args)}/${input.collection}/${segment(args.request.id, input.idParam)}`, + input.schema, + input.toOption + ) + : listAllPages(args, `${scope(args)}/${input.collection}`, input.schema, input.toOption), + } +} + +async function executePermissions(args: ExecuteServerSelectorArgs) { + const listed = await listAllPages( + args, + `${docPath(args)}/acl/permissions`, + permissionItemSchema, + permissionOption + ) + if (args.request.kind === 'list' || listed.kind !== 'list') return listed + const id = args.request.id + return { + ...detailSelectorResult(listed.items.find((item) => item.id === id) ?? null), + ...(listed.diagnostics ? { diagnostics: listed.diagnostics } : {}), + } +} + +const credential = { + kind: 'stored', + field: 'oauthCredential', + serviceIds: ['coda'], +} as const + +/** + * The integration this selector reaches. Declared rather than derived: Coda is an + * API-key integration with no entry in the deployment OAuth catalog, so its + * service id maps to no block type. + */ +const integrationBlockTypes = ['coda'] as const + +export const codaSelectorAttachments = { + 'coda.docs': { credential, integrationBlockTypes, destination: 'fixed', execute: executeDocs }, + 'coda.pages': docScopedAttachment({ + collection: 'pages', + idParam: 'pageId', + schema: namedItemSchema, + toOption: namedOption, + }), + 'coda.tables': docScopedAttachment({ + collection: 'tables', + idParam: 'tableId', + schema: tableItemSchema, + toOption: tableOption, + }), + 'coda.columns': docScopedAttachment({ + collection: 'columns', + idParam: 'columnId', + schema: columnItemSchema, + toOption: columnOption, + scope: tablePath, + }), + 'coda.rows': { credential, integrationBlockTypes, destination: 'fixed', execute: executeRows }, + 'coda.formulas': docScopedAttachment({ + collection: 'formulas', + idParam: 'formulaId', + schema: namedItemSchema, + toOption: namedOption, + }), + 'coda.controls': docScopedAttachment({ + collection: 'controls', + idParam: 'controlId', + schema: namedItemSchema, + toOption: namedOption, + }), + 'coda.folders': { + credential, + integrationBlockTypes, + destination: 'fixed', + execute: async (args) => + args.request.kind === 'detail' + ? getDetail( + args, + `/folders/${segment(args.request.id, 'folderId')}`, + namedItemSchema, + namedOption + ) + : listAllPages(args, '/folders', namedItemSchema, namedOption), + }, + 'coda.permissions': { + credential, + integrationBlockTypes, + destination: 'fixed', + execute: executePermissions, + }, +} satisfies ServerSelectorAttachmentMap diff --git a/apps/sim/lib/selectors/server/registry.ts b/apps/sim/lib/selectors/server/registry.ts index 09441960e09..d1574ae2d19 100644 --- a/apps/sim/lib/selectors/server/registry.ts +++ b/apps/sim/lib/selectors/server/registry.ts @@ -8,6 +8,7 @@ import { bitbucketSelectorAttachments } from '@/lib/selectors/server/providers/b import { calcomSelectorAttachments } from '@/lib/selectors/server/providers/calcom' import { clickupSelectorAttachments } from '@/lib/selectors/server/providers/clickup' import { cloudWatchSelectorAttachments } from '@/lib/selectors/server/providers/cloudwatch' +import { codaSelectorAttachments } from '@/lib/selectors/server/providers/coda' import { confluenceSelectorAttachments } from '@/lib/selectors/server/providers/confluence' import { githubSelectorAttachments } from '@/lib/selectors/server/providers/github' import { googleSelectorAttachments } from '@/lib/selectors/server/providers/google' @@ -45,6 +46,7 @@ export const serverSelectorRegistry = { ...calcomSelectorAttachments, ...clickupSelectorAttachments, ...cloudWatchSelectorAttachments, + ...codaSelectorAttachments, ...confluenceSelectorAttachments, ...googleSelectorAttachments, ...githubSelectorAttachments, diff --git a/apps/sim/lib/selectors/types.ts b/apps/sim/lib/selectors/types.ts index 2a20eac3cde..6d665f17c6f 100644 --- a/apps/sim/lib/selectors/types.ts +++ b/apps/sim/lib/selectors/types.ts @@ -16,6 +16,7 @@ export const selectorContextKeys = [ 'driveId', 'excludeWorkflowId', 'baseId', + 'docId', 'datasetId', 'serviceDeskId', 'impersonateUserEmail', diff --git a/apps/sim/scripts/check-block-registry.ts b/apps/sim/scripts/check-block-registry.ts index 6264d8ebaad..694f9d4928e 100644 --- a/apps/sim/scripts/check-block-registry.ts +++ b/apps/sim/scripts/check-block-registry.ts @@ -37,17 +37,21 @@ const gitOpts = { encoding: 'utf-8' as const, cwd: gitRoot } type IdMap = Record> /** - * Extracts subblock IDs from the `subBlocks: [ ... ]` section of a block - * definition. Only grabs the top-level `id:` of each subblock object — - * ignores nested IDs inside `options`, `columns`, etc. + * Returns the index of the `[` opening the first `subBlocks:` array literal in + * `source`, or null when that `subBlocks` value is an expression instead. */ -function extractSubBlockIds(source: string): string[] { - const startIdx = source.indexOf('subBlocks:') - if (startIdx === -1) return [] - - const bracketStart = source.indexOf('[', startIdx) - if (bracketStart === -1) return [] +function findSubBlocksLiteral(source: string): number | null { + const match = /subBlocks:\s*(\S)/.exec(source) + if (!match || match[1] !== '[') return null + return match.index + match[0].length - 1 +} +/** + * Extracts subblock IDs from the `subBlocks: [ ... ]` array literal whose + * opening bracket is at `bracketStart`. Only grabs the top-level `id:` of each + * subblock object — ignores nested IDs inside `options`, `columns`, etc. + */ +function extractSubBlockIds(source: string, bracketStart: number): string[] { const ids: string[] = [] let braceDepth = 0 let bracketDepth = 0 @@ -93,22 +97,40 @@ type PreviousIdsResult = | { kind: 'noop' } | { kind: 'ok'; map: IdMap } +/** + * Reads a block's subblock IDs from its source at the base ref. A file can + * declare an untyped legacy block before the typed block, so a typed block + * with a `subBlocks` array literal is read from its own definition. A typed + * block that derives `subBlocks` (for example by filtering the legacy block's) + * cannot be evaluated here, so it is read from the legacy literal: IDs the + * derivation already dropped then look removed. That fails closed while the + * file is being edited, and the block is skipped while the file is unchanged, + * since this diff cannot have removed anything from it. + */ +function extractPreviousIds(content: string, definitionStart: number, fileChanged: boolean) { + const ownLiteral = findSubBlocksLiteral(content.slice(definitionStart)) + if (ownLiteral !== null) return extractSubBlockIds(content, definitionStart + ownLiteral) + if (!fileChanged) return [] + const legacyLiteral = findSubBlocksLiteral(content) + return legacyLiteral === null ? [] : extractSubBlockIds(content, legacyLiteral) +} + function getPreviousIds(): PreviousIdsResult { const registryPath = 'apps/sim/blocks/registry.ts' const blocksDir = 'apps/sim/blocks/blocks' - let hasChanges = false + let changedPaths: Set try { const diff = execSync( `git diff --name-only ${baseRef} -- ${registryPath} ${blocksDir}`, gitOpts ).trim() - hasChanges = diff.length > 0 + changedPaths = new Set(diff ? diff.split('\n') : []) } catch { return { kind: 'skip', reason: 'Could not diff against base ref' } } - if (!hasChanges) { + if (changedPaths.size === 0) { return { kind: 'noop' } } @@ -134,7 +156,7 @@ function getPreviousIds(): PreviousIdsResult { if (!typeMatch) continue const blockType = typeMatch[1] - const ids = extractSubBlockIds(content) + const ids = extractPreviousIds(content, typeMatch.index ?? 0, changedPaths.has(filePath)) if (ids.length === 0) continue map[blockType] = new Set(ids) diff --git a/apps/sim/tools/coda/add_custom_domain.ts b/apps/sim/tools/coda/add_custom_domain.ts new file mode 100644 index 00000000000..b0bea6607f2 --- /dev/null +++ b/apps/sim/tools/coda/add_custom_domain.ts @@ -0,0 +1,47 @@ +import type { CodaCustomDomainParams, CodaCustomDomainResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + CUSTOM_DOMAIN_PARAM, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaAddCustomDomainTool: ToolConfig = + { + id: 'coda_add_custom_domain', + name: 'Coda Add Custom Domain', + description: + 'Connect a custom domain to a published Coda doc. Requires a Coda plan with custom domains.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, docId: DOC_ID_PARAM, customDocDomain: CUSTOM_DOMAIN_PARAM }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId, 'domains')), + method: 'POST', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => ({ customDocDomain: String(params.customDocDomain ?? '').trim() }), + }, + + transformResponse: async (_response, params) => ({ + success: true, + output: { + docId: String(params?.docId ?? '').trim(), + customDocDomain: String(params?.customDocDomain ?? '').trim(), + }, + }), + + outputs: { + docId: { type: 'string', description: 'ID of the doc' }, + customDocDomain: { type: 'string', description: 'The custom domain that was added' }, + }, + } diff --git a/apps/sim/tools/coda/add_permission.ts b/apps/sim/tools/coda/add_permission.ts new file mode 100644 index 00000000000..4ea78b6a6a1 --- /dev/null +++ b/apps/sim/tools/coda/add_permission.ts @@ -0,0 +1,107 @@ +import type { CodaAddPermissionParams, CodaAddPermissionResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + optionalTrimmed, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +const PRINCIPAL_FIELD = { + email: 'email', + group: 'groupId', + domain: 'domain', + workspace: 'workspaceId', +} as const + +export const codaAddPermissionTool: ToolConfig = + { + id: 'coda_add_permission', + name: 'Coda Share Doc', + description: + 'Share a Coda doc with a user, group, domain, workspace, or anyone with the link. Sharing with an email sends a notification unless suppressed.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + access: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'Access level to grant: "readonly", "comment", or "write"', + }, + principalType: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'Who to share with: "email", "group", "domain", "workspace", or "anyone"', + }, + principal: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: + 'Email address, group ID, domain, or workspace ID matching principalType. Not used for "anyone".', + }, + suppressEmail: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Do not send a sharing notification email', + }, + }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId, 'acl', 'permissions')), + method: 'POST', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => { + const type = params.principalType + let principal: Record + if (type === 'anyone') { + principal = { type } + } else { + const field = Object.hasOwn(PRINCIPAL_FIELD, type) + ? PRINCIPAL_FIELD[type as keyof typeof PRINCIPAL_FIELD] + : undefined + if (!field) { + throw new Error('principalType must be one of: email, group, domain, workspace, anyone') + } + const value = optionalTrimmed(params.principal) + if (!value) throw new Error(`principal is required when principalType is "${type}"`) + principal = { type, [field]: value } + } + return { + access: params.access, + principal, + ...(typeof params.suppressEmail === 'boolean' + ? { suppressEmail: params.suppressEmail } + : {}), + } + }, + }, + + transformResponse: async (_response, params) => ({ + success: true, + output: { + docId: String(params?.docId ?? '').trim(), + access: params?.access ?? '', + principalType: params?.principalType ?? '', + }, + }), + + outputs: { + docId: { type: 'string', description: 'ID of the shared doc' }, + access: { type: 'string', description: 'Access level granted' }, + principalType: { type: 'string', description: 'Type of principal the doc was shared with' }, + }, + } diff --git a/apps/sim/tools/coda/change_user_role.ts b/apps/sim/tools/coda/change_user_role.ts new file mode 100644 index 00000000000..46251403548 --- /dev/null +++ b/apps/sim/tools/coda/change_user_role.ts @@ -0,0 +1,69 @@ +import type { CodaChangeUserRoleParams, CodaChangeUserRoleResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + codaPath, + WORKSPACE_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaChangeUserRoleTool: ToolConfig< + CodaChangeUserRoleParams, + CodaChangeUserRoleResponse +> = { + id: 'coda_change_user_role', + name: 'Coda Change User Role', + description: + 'Change the workspace role of a Coda user. Requires Admin access in a workspace that belongs to an organization.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + workspaceId: WORKSPACE_ID_PARAM, + email: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'Email address of the workspace member', + }, + newRole: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'New role: "Admin", "DocMaker", or "Editor"', + }, + }, + + request: { + url: (params) => + buildCodaUrl(codaPath('workspaces', [params.workspaceId, 'workspaceId'], 'users', 'role')), + method: 'POST', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => ({ email: String(params.email ?? '').trim(), newRole: params.newRole }), + }, + + transformResponse: async (response, params) => { + const data = (await response.json()) as { roleChangedAt: string } + return { + success: true, + output: { + email: String(params?.email ?? '').trim(), + newRole: params?.newRole ?? '', + roleChangedAt: data.roleChangedAt, + }, + } + }, + + outputs: { + email: { type: 'string', description: 'Email address of the member' }, + newRole: { type: 'string', description: 'Role assigned' }, + roleChangedAt: { type: 'string', description: 'When the role change took effect' }, + }, +} diff --git a/apps/sim/tools/coda/coda.live.test.ts b/apps/sim/tools/coda/coda.live.test.ts new file mode 100644 index 00000000000..9f5f01cbaa7 --- /dev/null +++ b/apps/sim/tools/coda/coda.live.test.ts @@ -0,0 +1,1135 @@ +/** + * Live end-to-end verification of the Coda integration against a real Coda account. + * + * Skipped unless `CODA_LIVE=1` and `CODA_API_TOKEN` are set, so it is inert in CI. Every + * operation runs the way a workflow run does: block field values go through the block's + * `tools.config.params`, then the real `executeTool` pipeline (request building, fetch, + * error extraction, `transformResponse`). Each output is checked against the tool's + * declared output schema. Selector attachments and the credential validator also run live. + * + * The suite only mutates resources it creates (a folder, a doc, and a copy of Coda's public + * API guide doc, whose button it pushes) and deletes them at the end. Sharing with an email + * address runs only when `CODA_LIVE_SHARE_EMAIL` is set; notifications are suppressed. + * + * CODA_LIVE=1 CODA_API_TOKEN=... ../../node_modules/.bin/vitest run tools/coda/coda.live.test.ts + * + * @vitest-environment node + */ +import { sleep } from '@sim/utils/helpers' +import { afterAll, beforeAll, describe, expect, it, vi } from 'vitest' + +vi.unmock('@/tools/registry') + +import { validateCodaServiceAccount } from '@/lib/credentials/token-service-accounts/validators/coda' +import { createSelectorProtectedValues } from '@/lib/selectors/server/protected-values' +import { codaSelectorAttachments } from '@/lib/selectors/server/providers/coda' +import type { ExecuteServerSelectorArgs } from '@/lib/selectors/server/types' +import type { SelectorContext, SelectorRequest } from '@/lib/selectors/types' +import { CodaBlock } from '@/blocks/blocks/coda' +import { executeTool } from '@/tools' +import { tools as toolRegistry } from '@/tools/registry' +import type { OutputProperty } from '@/tools/types' + +const LIVE = process.env.CODA_LIVE === '1' && Boolean(process.env.CODA_API_TOKEN) +const token = process.env.CODA_API_TOKEN ?? '' +const shareEmail = process.env.CODA_LIVE_SHARE_EMAIL +const TIMEOUT = 300_000 + +interface RunResult { + success: boolean + output: Record + error?: string +} + +function log(label: string, value: unknown) { + const rendered = typeof value === 'string' ? value : JSON.stringify(value) + process.stdout.write(` [coda-live] ${label}: ${rendered?.slice(0, 1200)}\n`) +} + +/** Recursively checks a tool output against its declared output schema. */ +function schemaViolations( + value: unknown, + schema: OutputProperty, + path: string, + violations: string[] +): void { + if (value === null) { + if (!schema.nullable) violations.push(`${path}: null but not declared nullable`) + return + } + if (value === undefined) { + if (!schema.optional) violations.push(`${path}: missing but not declared optional`) + return + } + switch (schema.type) { + case 'string': + if (typeof value !== 'string') + violations.push(`${path}: expected string, got ${typeof value}`) + return + case 'number': + if (typeof value !== 'number') + violations.push(`${path}: expected number, got ${typeof value}`) + return + case 'boolean': + if (typeof value !== 'boolean') + violations.push(`${path}: expected boolean, got ${typeof value}`) + return + case 'array': { + if (!Array.isArray(value)) { + violations.push(`${path}: expected array`) + return + } + if (schema.items) { + value.forEach((item, index) => + schemaViolations(item, schema.items as OutputProperty, `${path}[${index}]`, violations) + ) + } + return + } + case 'object': { + if (typeof value !== 'object' || Array.isArray(value)) { + violations.push(`${path}: expected object`) + return + } + if (schema.properties) { + objectViolations(value as Record, schema.properties, path, violations) + } + return + } + default: + return + } +} + +function objectViolations( + value: Record, + properties: Record, + path: string, + violations: string[] +) { + for (const [key, property] of Object.entries(properties)) { + schemaViolations(value[key], property, `${path}.${key}`, violations) + } + for (const key of Object.keys(value)) { + if (!(key in properties)) violations.push(`${path}.${key}: not declared in outputs`) + } +} + +/** + * Runs one block operation exactly like the generic block handler: the serialized field + * values are merged with `tools.config.params`, and the selected tool runs through + * `executeTool` with the credential's resolved access token. + */ +async function run(values: Record): Promise { + const config = CodaBlock.tools.config! + const toolId = config.tool!(values) as string + const mapped = config.params ? config.params(values) : {} + const result = (await executeTool(toolId, { + ...values, + ...mapped, + accessToken: token, + })) as RunResult + if (result.success) { + const tool = toolRegistry[toolId] + const violations: string[] = [] + objectViolations(result.output, tool.outputs ?? {}, toolId, violations) + expect(violations, `${toolId} output schema`).toEqual([]) + } + log(`${values.operation}`, result.success ? result.output : `ERROR ${result.error}`) + return result +} + +async function runOk(values: Record): Promise> { + const result = await run(values) + expect(result.error, `${values.operation} failed`).toBeUndefined() + expect(result.success).toBe(true) + return result.output +} + +async function waitForMutation(requestId: string) { + for (let attempt = 0; attempt < 60; attempt++) { + const status = await runOk({ operation: 'get_mutation_status', mutationRequestId: requestId }) + if (status.completed) return status + await sleep(2_000) + } + throw new Error(`mutation ${requestId} did not complete`) +} + +/** New docs return 409 until Coda finishes provisioning them for the API. */ +async function waitForDocReady(docId: string) { + for (let attempt = 0; attempt < 60; attempt++) { + const result = await executeTool('coda_list_pages', { accessToken: token, docId }) + if (result.success) return + await sleep(2_000) + } + throw new Error(`doc ${docId} never became accessible`) +} + +async function waitFor(label: string, probe: () => Promise): Promise { + for (let attempt = 0; attempt < 45; attempt++) { + const value = await probe() + if (value !== undefined) return value + await sleep(2_000) + } + throw new Error(`timed out waiting for ${label}`) +} + +function selectorArgs( + selectorKey: ExecuteServerSelectorArgs['selectorKey'], + request: SelectorRequest, + context: SelectorContext = {} +): ExecuteServerSelectorArgs { + return { + selectorKey, + context: { oauthCredential: 'live-credential', ...context }, + request, + scope: { kind: 'workspace', workspaceId: 'workspace-live' }, + workspaceId: 'workspace-live', + principal: { kind: 'session', userId: 'user-live', sessionId: 'session-live' }, + requesterUserId: 'user-live', + credential: { suppliedId: 'live-credential', fixedToken: token, providerId: 'coda' }, + references: new Map(), + protectedValues: createSelectorProtectedValues(), + } +} + +const state: { + workspaceId?: string + loginId?: string + myDocsFolderId?: string + folderId?: string + docId?: string + docBrowserLink?: string + homePageId?: string + subPageId?: string + embedPageId?: string + syncPageId?: string + tableId?: string + nameColumnId?: string + statusColumnId?: string + rowIds: string[] + permissionId?: string + published?: boolean + copyDocId?: string +} = { rowIds: [] } + +describe.skipIf(!LIVE).sequential('coda live end-to-end', () => { + beforeAll(() => { + vi.unstubAllGlobals() + expect(vi.isMockFunction(globalThis.fetch)).toBe(false) + }) + + afterAll(async () => { + if (!LIVE) return + if (state.docId) + await executeTool('coda_delete_doc', { accessToken: token, docId: state.docId }) + if (state.copyDocId) { + await executeTool('coda_delete_doc', { accessToken: token, docId: state.copyDocId }) + } + if (state.folderId) { + await sleep(3_000) + await executeTool('coda_delete_folder', { accessToken: token, folderId: state.folderId }) + } + }, TIMEOUT) + + it( + 'validates the token like the credential connect flow', + async () => { + const result = await validateCodaServiceAccount({ apiToken: token }) + log('validator', result) + expect(result.principal).toMatchObject({ kind: 'user' }) + await expect( + validateCodaServiceAccount({ apiToken: 'not-a-real-token' }) + ).rejects.toMatchObject({ code: 'invalid_credentials' }) + }, + TIMEOUT + ) + + it( + 'reads the account, categories, and folders', + async () => { + const me = await runOk({ operation: 'whoami' }) + state.workspaceId = me.workspace.id + state.loginId = me.loginId + const categories = await runOk({ operation: 'list_categories' }) + expect(categories.categories.length).toBeGreaterThan(0) + const folders = await runOk({ operation: 'list_folders', limit: '50' }) + state.myDocsFolderId = folders.folders[0]?.id + expect(state.myDocsFolderId).toBeTruthy() + await runOk({ + operation: 'list_folders', + workspaceFilter: state.workspaceId, + starred: 'false', + }) + await runOk({ operation: 'get_folder', folderId: state.myDocsFolderId }) + await runOk({ operation: 'get_analytics_last_updated' }) + }, + TIMEOUT + ) + + it( + 'creates, updates, reads, and lists a folder', + async () => { + const created = await runOk({ + operation: 'create_folder', + workspaceId: state.workspaceId, + folderName: ' Sim Coda E2E ', + folderDescription: 'Created by the Sim live test', + }) + state.folderId = created.folder.id + expect(created.folder.name).toBe('Sim Coda E2E') + const updated = await runOk({ + operation: 'update_folder', + folderId: state.folderId, + folderName: 'Sim Coda E2E (renamed)', + folderDescription: '', + }) + expect(updated.folder.id).toBe(state.folderId) + const renamed = await waitFor('folder rename', async () => { + const read = await runOk({ operation: 'get_folder', folderId: state.folderId }) + return read.folder.name === 'Sim Coda E2E (renamed)' ? read.folder : undefined + }) + expect(renamed.description).toBe('Created by the Sim live test') + await runOk({ + operation: 'list_folder_children', + folderId: state.myDocsFolderId, + limit: '10', + }) + }, + TIMEOUT + ) + + it( + 'creates a doc with an initial HTML page and table, then reads and updates it', + async () => { + const created = await runOk({ + operation: 'create_doc', + docTitle: 'Sim Coda E2E Doc', + folderId: state.folderId, + timezone: 'America/Los_Angeles', + pageName: 'Home', + pageSubtitle: 'Live test home', + iconName: 'rocket', + pageType: 'canvas', + contentFormat: 'html', + pageContent: + '

Tasks

Intro paragraph

NameStatus
SeedOpen
', + }) + state.docId = created.doc.id + state.docBrowserLink = created.doc.browserLink + expect(created.doc.folder?.id).toBe(state.folderId) + await waitForDocReady(state.docId!) + + const doc = await runOk({ operation: 'get_doc', docId: state.docId }) + expect(doc.doc.name).toBe('Sim Coda E2E Doc') + await runOk({ operation: 'update_doc', docId: state.docId, docTitle: 'Sim Coda E2E Doc v2' }) + await waitFor('doc rename', async () => { + const again = await runOk({ operation: 'get_doc', docId: state.docId }) + return again.doc.name === 'Sim Coda E2E Doc v2' ? true : undefined + }) + await runOk({ operation: 'update_doc', docId: state.docId, iconName: 'rocket' }) + const listed = await runOk({ + operation: 'list_docs', + docSearch: 'Sim Coda E2E', + isOwner: true, + folderId: state.folderId, + workspaceFilter: state.workspaceId, + starred: 'any', + limit: '5', + }) + expect(listed.docs.map((d: { id: string }) => d.id)).toContain(state.docId) + await runOk({ operation: 'list_docs', sourceDoc: state.docId, inGallery: false }) + }, + TIMEOUT + ) + + it( + 'lists docs, pages, tables, and folders through the dropdown selectors', + async () => { + const docs = await codaSelectorAttachments['coda.docs'].execute( + selectorArgs('coda.docs', { kind: 'list', search: 'Sim Coda E2E' }) + ) + log('selector coda.docs', docs) + expect(docs.kind === 'list' && docs.items.some((item) => item.id === state.docId)).toBe(true) + const docDetail = await codaSelectorAttachments['coda.docs'].execute( + selectorArgs('coda.docs', { kind: 'detail', id: state.docId! }) + ) + expect(docDetail).toMatchObject({ kind: 'detail', item: { id: state.docId } }) + + const pages = await codaSelectorAttachments['coda.pages'].execute( + selectorArgs('coda.pages', { kind: 'list' }, { docId: state.docId }) + ) + log('selector coda.pages', pages) + expect(pages.kind === 'list' && pages.items.length).toBeGreaterThan(0) + if (pages.kind === 'list') state.homePageId = pages.items[0].id + + const tables = await codaSelectorAttachments['coda.tables'].execute( + selectorArgs('coda.tables', { kind: 'list' }, { docId: state.docId }) + ) + log('selector coda.tables', tables) + if (tables.kind === 'list') state.tableId = tables.items[0]?.id + expect(state.tableId).toBeTruthy() + + const folders = await codaSelectorAttachments['coda.folders'].execute( + selectorArgs('coda.folders', { kind: 'list' }) + ) + expect(folders.kind === 'list' && folders.items.some((f) => f.id === state.folderId)).toBe( + true + ) + await expect( + codaSelectorAttachments['coda.pages'].execute( + selectorArgs( + 'coda.pages', + { kind: 'detail', id: 'canvas-doesnotexist' }, + { + docId: state.docId, + } + ) + ) + ).resolves.toEqual({ kind: 'detail', item: null }) + }, + TIMEOUT + ) + + it( + 'creates, updates, reads, exports, and deletes pages and content', + async () => { + const home = await runOk({ + operation: 'get_page', + docId: state.docId, + pageId: state.homePageId, + }) + expect(home.page.subtitle).toBe('Live test home') + + const sub = await runOk({ + operation: 'create_page', + docId: state.docId, + pageName: 'Child page', + parentPageId: state.homePageId, + pageType: 'canvas', + contentFormat: 'markdown', + pageContent: '# Child\n\n- one\n- two', + pageSubtitle: 'child subtitle', + iconName: 'star', + }) + state.subPageId = sub.pageId + await waitForMutation(sub.requestId) + + const embed = await runOk({ + operation: 'create_page', + docId: state.docId, + pageName: 'Embed page', + pageType: 'embed', + embedUrl: 'https://example.com', + renderMethod: 'standard', + }) + state.embedPageId = embed.pageId + await waitForMutation(embed.requestId) + + const sync = await run({ + operation: 'create_page', + docId: state.docId, + pageName: 'Sync page', + pageType: 'syncPage', + syncSourceDocId: state.docId, + syncMode: 'page', + syncSourcePageId: state.subPageId, + includeSubpages: false, + }) + if (sync.success) { + state.syncPageId = sync.output.pageId + await waitForMutation(sync.output.requestId) + } + + const pages = await runOk({ operation: 'list_pages', docId: state.docId, limit: '50' }) + expect(pages.pages.map((p: { id: string }) => p.id)).toContain(state.subPageId) + const child = await runOk({ + operation: 'get_page', + docId: state.docId, + pageId: state.subPageId, + }) + expect(child.page.parent?.id).toBe(state.homePageId) + + const updated = await runOk({ + operation: 'update_page', + docId: state.docId, + pageId: state.subPageId, + pageName: 'Child page renamed', + pageSubtitle: 'new subtitle', + pageVisibility: 'unchanged', + insertionMode: 'append', + contentFormat: 'markdown', + pageContent: 'Appended paragraph', + }) + await waitForMutation(updated.requestId) + const renamedPage = await runOk({ + operation: 'get_page', + docId: state.docId, + pageId: state.subPageId, + }) + expect(renamedPage.page.name).toBe('Child page renamed') + expect(renamedPage.page.subtitle).toBe('new subtitle') + + const hide = await run({ + operation: 'update_page', + docId: state.docId, + pageId: state.subPageId, + pageVisibility: 'hidden', + }) + if (hide.success) { + await waitForMutation(hide.output.requestId) + } else { + expect(hide.error).toMatch(/plan/i) + } + + const content = await runOk({ + operation: 'get_page_content', + docId: state.docId, + pageId: state.subPageId, + limit: '100', + }) + expect( + content.items.some((i: { content: string }) => i.content === 'Appended paragraph') + ).toBe(true) + const target = content.items.find( + (i: { content: string }) => i.content === 'Appended paragraph' + ) + + const replaced = await runOk({ + operation: 'update_page', + docId: state.docId, + pageId: state.subPageId, + insertionMode: 'replace', + elementId: target.id, + contentFormat: 'html', + pageContent: '

Replaced paragraph

', + }) + await waitForMutation(replaced.requestId) + const afterReplace = await runOk({ + operation: 'get_page_content', + docId: state.docId, + pageId: state.subPageId, + }) + const replacedItem = afterReplace.items.find( + (i: { content: string }) => i.content === 'Replaced paragraph' + ) + expect(replacedItem).toBeTruthy() + + const guard = await run({ + operation: 'delete_page_content', + docId: state.docId, + pageId: state.subPageId, + }) + expect(guard.success).toBe(false) + expect(guard.error).toContain('deleteAll') + + const deletedOne = await runOk({ + operation: 'delete_page_content', + docId: state.docId, + pageId: state.subPageId, + elementIds: replacedItem.id, + }) + await waitForMutation(deletedOne.requestId) + + const exported = await runOk({ + operation: 'export_page', + docId: state.docId, + pageId: state.homePageId, + outputFormat: 'markdown', + }) + const finished = await waitFor('export', async () => { + const status = await runOk({ + operation: 'get_page_export_status', + docId: state.docId, + pageId: state.homePageId, + exportId: exported.exportId, + }) + return status.status === 'complete' || status.status === 'failed' ? status : undefined + }) + expect(finished.status).toBe('complete') + const markdown = await (await fetch(finished.downloadLink)).text() + log('export markdown', markdown) + expect(markdown).toContain('Tasks') + + const clearAll = await runOk({ + operation: 'delete_page_content', + docId: state.docId, + pageId: state.subPageId, + deleteAllContent: true, + }) + await waitForMutation(clearAll.requestId) + + const removed = await runOk({ + operation: 'delete_page', + docId: state.docId, + pageId: state.embedPageId, + }) + await waitForMutation(removed.requestId) + }, + TIMEOUT + ) + + it( + 'reads the table schema and inserts, upserts, updates, and deletes rows', + async () => { + await runOk({ + operation: 'list_tables', + docId: state.docId, + tableTypes: 'table', + listSortBy: 'name', + }) + const allTables = await runOk({ operation: 'list_tables', docId: state.docId }) + expect(allTables.tables.map((t: { id: string }) => t.id)).toContain(state.tableId) + await runOk({ + operation: 'get_table', + docId: state.docId, + tableId: state.tableId, + useUpdatedTableLayouts: true, + }) + const columns = await runOk({ + operation: 'list_columns', + docId: state.docId, + tableId: state.tableId, + visibleOnly: true, + }) + state.nameColumnId = columns.columns.find((c: { name: string }) => c.name === 'Name')?.id + state.statusColumnId = columns.columns.find((c: { name: string }) => c.name === 'Status')?.id + expect(state.nameColumnId && state.statusColumnId).toBeTruthy() + await runOk({ + operation: 'get_column', + docId: state.docId, + tableId: state.tableId, + columnId: state.nameColumnId, + }) + + const columnOptions = await codaSelectorAttachments['coda.columns'].execute( + selectorArgs( + 'coda.columns', + { kind: 'list' }, + { docId: state.docId, tableId: state.tableId } + ) + ) + log('selector coda.columns', columnOptions) + expect(columnOptions.kind === 'list' && columnOptions.items.length).toBeGreaterThanOrEqual(2) + + const inserted = await runOk({ + operation: 'upsert_rows', + docId: state.docId, + tableId: state.tableId, + rows: JSON.stringify([ + { Name: 'Alpha', Status: 'Open' }, + { cells: [{ column: state.nameColumnId, value: 'Beta' }] }, + ]), + }) + expect(inserted.addedRowIds).toHaveLength(2) + await waitForMutation(inserted.requestId) + + const upserted = await runOk({ + operation: 'upsert_rows', + docId: state.docId, + tableId: state.tableId, + rows: [{ Name: 'Alpha', Status: 'Done' }], + keyColumns: 'Name', + disableParsing: true, + }) + expect(upserted.addedRowIds).toEqual([]) + await waitForMutation(upserted.requestId) + + const rows = await runOk({ + operation: 'list_rows', + docId: state.docId, + tableId: state.tableId, + useColumnNames: true, + rowSortBy: 'updatedAt', + valueFormat: 'simpleWithArrays', + limit: '50', + }) + const alpha = rows.rows.find( + (r: { values: Record }) => r.values.Name === 'Alpha' + ) + expect(alpha?.values.Status).toBe('Done') + expect(rows.nextSyncToken).toBeTruthy() + state.rowIds = rows.rows.map((r: { id: string }) => r.id) + + const filtered = await runOk({ + operation: 'list_rows', + docId: state.docId, + tableId: state.tableId, + rowFilter: `"Name":"Beta"`, + visibleOnly: true, + }) + expect(filtered.rows).toHaveLength(1) + + const rowOptions = await codaSelectorAttachments['coda.rows'].execute( + selectorArgs('coda.rows', { kind: 'list' }, { docId: state.docId, tableId: state.tableId }) + ) + log('selector coda.rows', rowOptions) + expect(rowOptions.kind === 'list' && rowOptions.items.length).toBe(state.rowIds.length) + + const one = await runOk({ + operation: 'get_row', + docId: state.docId, + tableId: state.tableId, + rowId: alpha.id, + valueFormat: 'rich', + }) + expect(one.row.parentTable?.id).toBe(state.tableId) + + const updated = await runOk({ + operation: 'update_row', + docId: state.docId, + tableId: state.tableId, + rowId: alpha.id, + cells: '{"Status": "Blocked"}', + }) + await waitForMutation(updated.requestId) + const changed = await runOk({ + operation: 'list_rows', + docId: state.docId, + tableId: state.tableId, + syncToken: rows.nextSyncToken, + useColumnNames: true, + }) + log('rows changed since sync token', changed.rows.length) + + const button = await run({ + operation: 'push_button', + docId: state.docId, + tableId: state.tableId, + rowId: alpha.id, + columnId: state.nameColumnId, + }) + expect(button.success).toBe(false) + expect(button.error).not.toContain('[object Object]') + + const deletedOne = await runOk({ + operation: 'delete_row', + docId: state.docId, + tableId: state.tableId, + rowId: alpha.id, + }) + await waitForMutation(deletedOne.requestId) + const remaining = state.rowIds.filter((id) => id !== alpha.id) + const deletedMany = await runOk({ + operation: 'delete_rows', + docId: state.docId, + tableId: state.tableId, + rowIds: remaining.join(', '), + }) + expect(deletedMany.rowIds).toEqual(remaining) + await waitForMutation(deletedMany.requestId) + }, + TIMEOUT + ) + + it( + 'reads formulas and controls and surfaces missing ones as readable errors', + async () => { + const formulas = await runOk({ + operation: 'list_formulas', + docId: state.docId, + listSortBy: 'name', + }) + const controls = await runOk({ operation: 'list_controls', docId: state.docId }) + for (const formula of formulas.formulas) { + await runOk({ operation: 'get_formula', docId: state.docId, formulaId: formula.id }) + } + for (const control of controls.controls) { + await runOk({ operation: 'get_control', docId: state.docId, controlId: control.id }) + } + const missingFormula = await run({ + operation: 'get_formula', + docId: state.docId, + formulaId: 'f-missing', + }) + expect(missingFormula.success).toBe(false) + const missingControl = await run({ + operation: 'get_control', + docId: state.docId, + controlId: 'ctrl-missing', + }) + expect(missingControl.success).toBe(false) + const automation = await run({ + operation: 'trigger_automation', + docId: state.docId, + ruleId: 'grid-auto-missing', + payload: '{"hello":"world"}', + }) + expect(automation.success).toBe(false) + expect(automation.error).not.toContain('[object Object]') + for (const key of ['coda.formulas', 'coda.controls'] as const) { + const result = await codaSelectorAttachments[key].execute( + selectorArgs(key, { kind: 'list' }, { docId: state.docId }) + ) + expect(result.kind).toBe('list') + } + }, + TIMEOUT + ) + + it( + 'manages sharing settings and permissions', + async () => { + const metadata = await runOk({ operation: 'get_sharing_metadata', docId: state.docId }) + expect(metadata.canShare).toBe(true) + const before = await runOk({ operation: 'get_acl_settings', docId: state.docId }) + const flipped = await runOk({ + operation: 'update_acl_settings', + docId: state.docId, + allowCopying: before.allowCopying ? 'false' : 'true', + allowEditorsToChangePermissions: 'unchanged', + allowViewersToRequestEditing: 'unchanged', + }) + expect(flipped.allowCopying).toBe(!before.allowCopying) + expect(flipped.allowViewersToRequestEditing).toBe(before.allowViewersToRequestEditing) + await runOk({ + operation: 'update_acl_settings', + docId: state.docId, + allowCopying: before.allowCopying ? 'true' : 'false', + }) + + await runOk({ + operation: 'search_principals', + docId: state.docId, + principalQuery: state.loginId?.split('@')[0], + }) + + const anyone = await run({ + operation: 'add_permission', + docId: state.docId, + access: 'readonly', + principalType: 'anyone', + }) + if (!anyone.success) expect(anyone.error).toMatch(/limit/i) + if (shareEmail) { + const shared = await runOk({ + operation: 'add_permission', + docId: state.docId, + access: 'comment', + principalType: 'email', + principal: shareEmail, + suppressEmail: true, + }) + expect(shared).toMatchObject({ access: 'comment', principalType: 'email' }) + const permissions = await waitFor('permission', async () => { + const listed = await runOk({ + operation: 'list_permissions', + docId: state.docId, + limit: '20', + }) + return listed.permissions.find( + (p: { principal: { email?: string } }) => p.principal.email === shareEmail + ) + }) + expect(permissions.access).toBe('comment') + state.permissionId = permissions.id + + const permissionOptions = await codaSelectorAttachments['coda.permissions'].execute( + selectorArgs('coda.permissions', { kind: 'list' }, { docId: state.docId }) + ) + log('selector coda.permissions', permissionOptions) + + expect( + permissionOptions.kind === 'list' && + permissionOptions.items.some((item) => item.id === state.permissionId) + ).toBe(true) + await runOk({ + operation: 'delete_permission', + docId: state.docId, + permissionId: state.permissionId, + }) + await waitFor('permission removal', async () => { + const listed = await runOk({ operation: 'list_permissions', docId: state.docId }) + return listed.permissions.some((p: { id: string }) => p.id === state.permissionId) + ? undefined + : true + }) + } + const bad = await run({ + operation: 'add_permission', + docId: state.docId, + access: 'readonly', + principalType: 'email', + principal: ' ', + }) + expect(bad.success).toBe(false) + }, + TIMEOUT + ) + + it( + 'publishes, inspects custom domains, and unpublishes', + async () => { + const categories = await runOk({ operation: 'list_categories' }) + const publish = await run({ + operation: 'publish_doc', + docId: state.docId, + slug: `sim-coda-e2e-${Date.now()}`, + publishMode: 'view', + discoverable: 'false', + categoryNames: categories.categories[0], + }) + if (!publish.success) expect(publish.error).toMatch(/maker profile/i) + if (publish.success) { + state.published = true + await waitForMutation(publish.output.requestId) + const doc = await runOk({ operation: 'get_doc', docId: state.docId }) + log('published doc', doc.doc.published) + } + const domains = await runOk({ operation: 'list_custom_domains', docId: state.docId }) + expect(domains.nextPageToken).toBeNull() + const provider = await runOk({ + operation: 'get_custom_domain_provider', + customDocDomain: 'example.com', + }) + expect(provider.provider).toBeTruthy() + const add = await run({ + operation: 'add_custom_domain', + docId: state.docId, + customDocDomain: 'coda-e2e.sim-test.invalid', + }) + if (!add.success) expect(add.error).toMatch(/plan/i) + if (add.success) { + await run({ + operation: 'delete_custom_domain', + docId: state.docId, + customDocDomain: 'coda-e2e.sim-test.invalid', + }) + } + const unpublish = await run({ operation: 'unpublish_doc', docId: state.docId }) + if (state.published) expect(unpublish.success).toBe(true) + else if (!unpublish.success) expect(unpublish.error).not.toContain('[object Object]') + }, + TIMEOUT + ) + + it( + 'reads workspace membership, roles, and analytics', + async () => { + const members = await run({ + operation: 'list_workspace_members', + workspaceId: state.workspaceId, + }) + if (!members.success) expect(members.error).toMatch(/organization/i) + await run({ + operation: 'list_workspace_members', + workspaceId: state.workspaceId, + includedRoles: 'Admin, DocMaker', + }) + await run({ operation: 'list_workspace_roles', workspaceId: state.workspaceId }) + if (members.success) { + const me = members.output.members[0] + await run({ + operation: 'change_user_role', + workspaceId: state.workspaceId, + memberEmail: me.email, + newRole: me.role, + }) + } + await run({ + operation: 'list_doc_analytics', + docIds: state.docId, + sinceDate: '2026-01-01', + untilDate: '2026-12-31', + analyticsScale: 'cumulative', + analyticsOrderBy: 'views', + analyticsDirection: 'descending', + limit: '10', + }) + await run({ operation: 'list_doc_analytics', docSearch: 'Sim', isPublished: false }) + await run({ operation: 'list_page_analytics', docId: state.docId, sinceDate: '2026-01-01' }) + await run({ + operation: 'get_doc_analytics_summary', + sinceDate: '2026-01-01', + workspaceFilter: state.workspaceId, + }) + }, + TIMEOUT + ) + + it( + 'copies a doc with formulas, controls, views, and button columns and exercises them', + async () => { + const copy = await runOk({ + operation: 'create_doc', + docTitle: 'Sim Coda E2E Copy', + sourceDoc: 'BynGmkjg07', + folderId: state.folderId, + }) + state.copyDocId = copy.doc.id + expect(copy.doc.sourceDoc?.id).toBe('BynGmkjg07') + await waitForDocReady(state.copyDocId!) + + const copies = await runOk({ operation: 'list_docs', sourceDoc: 'BynGmkjg07' }) + expect(copies.docs.map((d: { id: string }) => d.id)).toContain(state.copyDocId) + + const formulas = await runOk({ + operation: 'list_formulas', + docId: state.copyDocId, + limit: '100', + }) + expect(formulas.formulas.length).toBeGreaterThan(0) + const formula = await runOk({ + operation: 'get_formula', + docId: state.copyDocId, + formulaId: formulas.formulas[0].id, + }) + expect(formula.formula.id).toBe(formulas.formulas[0].id) + const byName = await runOk({ + operation: 'get_formula', + docId: state.copyDocId, + formulaId: formulas.formulas[0].name, + }) + expect(byName.formula.id).toBe(formulas.formulas[0].id) + + const controls = await runOk({ + operation: 'list_controls', + docId: state.copyDocId, + listSortBy: 'name', + }) + expect(controls.controls.length).toBeGreaterThan(0) + for (const control of controls.controls) { + const detail = await runOk({ + operation: 'get_control', + docId: state.copyDocId, + controlId: control.id, + }) + expect(detail.control.controlType).toBeTruthy() + } + for (const key of ['coda.formulas', 'coda.controls'] as const) { + const options = await codaSelectorAttachments[key].execute( + selectorArgs(key, { kind: 'list' }, { docId: state.copyDocId }) + ) + log(`selector ${key}`, options) + expect(options.kind === 'list' && options.items.length).toBeGreaterThan(0) + } + + const views = await runOk({ + operation: 'list_tables', + docId: state.copyDocId, + tableTypes: 'view', + }) + expect(views.tables.length).toBeGreaterThan(0) + expect(views.tables.every((t: { tableType: string }) => t.tableType === 'view')).toBe(true) + const view = await runOk({ + operation: 'get_table', + docId: state.copyDocId, + tableId: views.tables[0].id, + }) + expect(view.table.parentTable?.id).toBeTruthy() + const tableOptions = await codaSelectorAttachments['coda.tables'].execute( + selectorArgs('coda.tables', { kind: 'list' }, { docId: state.copyDocId }) + ) + expect( + tableOptions.kind === 'list' && + tableOptions.items.some((item) => item.label.endsWith('(view)')) + ).toBe(true) + + const calendar = await runOk({ + operation: 'list_tables', + docId: state.copyDocId, + tableTypes: 'table', + }) + const calendarTable = calendar.tables.find((t: { name: string }) => t.name === 'My Calendar') + const richRows = await runOk({ + operation: 'list_rows', + docId: state.copyDocId, + tableId: calendarTable.id, + valueFormat: 'rich', + rowSortBy: 'natural', + limit: '5', + }) + log('rich calendar rows', richRows.rows.slice(0, 2)) + const calendarColumns = await runOk({ + operation: 'list_columns', + docId: state.copyDocId, + tableId: 'My Calendar', + }) + expect( + calendarColumns.columns.some((c: { format: { type: string } }) => c.format.type === 'date') + ).toBe(true) + + const tasks = calendar.tables.find((t: { name: string }) => t.name === 'Tasks') + const taskColumns = await runOk({ + operation: 'list_columns', + docId: state.copyDocId, + tableId: tasks.id, + }) + const buttonColumn = taskColumns.columns.find( + (c: { format: { type: string } }) => c.format.type === 'button' + ) + const buttonDetail = await runOk({ + operation: 'get_column', + docId: state.copyDocId, + tableId: tasks.id, + columnId: buttonColumn.id, + }) + expect(buttonDetail.column.format.type).toBe('button') + const taskRows = await runOk({ + operation: 'list_rows', + docId: state.copyDocId, + tableId: tasks.id, + limit: '1', + }) + const rowOptions = await codaSelectorAttachments['coda.rows'].execute( + selectorArgs( + 'coda.rows', + { kind: 'detail', id: taskRows.rows[0].id }, + { + docId: state.copyDocId, + tableId: tasks.id, + } + ) + ) + expect(rowOptions).toMatchObject({ kind: 'detail', item: { id: taskRows.rows[0].id } }) + const pushed = await runOk({ + operation: 'push_button', + docId: state.copyDocId, + tableId: tasks.id, + rowId: taskRows.rows[0].id, + columnId: buttonColumn.id, + }) + expect(pushed).toMatchObject({ rowId: taskRows.rows[0].id, columnId: buttonColumn.id }) + await waitForMutation(pushed.requestId) + + const pagesCopy = await runOk({ operation: 'list_pages', docId: state.copyDocId, limit: '3' }) + if (pagesCopy.nextPageToken) { + const next = await runOk({ + operation: 'list_pages', + docId: state.copyDocId, + limit: '3', + pageToken: pagesCopy.nextPageToken, + }) + expect(next.pages[0]?.id).not.toBe(pagesCopy.pages[0]?.id) + } + + await runOk({ operation: 'delete_doc', docId: state.copyDocId }) + state.copyDocId = undefined + }, + TIMEOUT + ) + + it( + 'resolves browser links and cleans up', + async () => { + const resolved = await runOk({ + operation: 'resolve_browser_link', + browserUrl: state.docBrowserLink, + }) + expect(resolved.resource.id).toBe(state.docId) + await runOk({ + operation: 'resolve_browser_link', + browserUrl: state.docBrowserLink, + degradeGracefully: true, + }) + + const deleted = await runOk({ operation: 'delete_doc', docId: state.docId }) + expect(deleted.docId).toBe(state.docId) + state.docId = undefined + await sleep(5_000) + const folder = await run({ operation: 'delete_folder', folderId: state.folderId }) + if (folder.success) state.folderId = undefined + }, + TIMEOUT + ) +}) diff --git a/apps/sim/tools/coda/coda.test.ts b/apps/sim/tools/coda/coda.test.ts new file mode 100644 index 00000000000..c618bfd41d9 --- /dev/null +++ b/apps/sim/tools/coda/coda.test.ts @@ -0,0 +1,424 @@ +/** + * @vitest-environment node + */ +import { describe, expect, it } from 'vitest' +import { CodaBlock } from '@/blocks/blocks/coda' +import * as codaTools from '@/tools/coda' +import { codaAddPermissionTool } from '@/tools/coda/add_permission' +import { codaCreateDocTool } from '@/tools/coda/create_doc' +import { codaCreatePageTool } from '@/tools/coda/create_page' +import { codaDeletePageContentTool } from '@/tools/coda/delete_page_content' +import { codaDeleteRowsTool } from '@/tools/coda/delete_rows' +import { codaListDocsTool } from '@/tools/coda/list_docs' +import { codaListRowsTool } from '@/tools/coda/list_rows' +import { codaPublishDocTool } from '@/tools/coda/publish_doc' +import { codaResolveBrowserLinkTool } from '@/tools/coda/resolve_browser_link' +import { codaUpdateAclSettingsTool } from '@/tools/coda/update_acl_settings' +import { codaUpdatePageTool } from '@/tools/coda/update_page' +import { codaUpdateRowTool } from '@/tools/coda/update_row' +import { codaUpsertRowsTool } from '@/tools/coda/upsert_rows' +import { buildCodaUrl, CODA_FIELD_UPDATE_RETRY, CODA_RETRY } from '@/tools/coda/utils' +import { codaWhoamiTool } from '@/tools/coda/whoami' +import { ErrorExtractorId, extractErrorMessageWithId } from '@/tools/error-extractors' +import type { OutputProperty } from '@/tools/types' + +const table = { accessToken: 'token', docId: 'AbCDeFGH', tableId: 'grid-pqRst-U' } + +/** Lists output paths a tool returned as null whose schema does not declare `nullable`. */ +function findUndeclaredNulls( + value: unknown, + properties: Record | undefined, + path: string +): string[] { + if (!properties || value === null || typeof value !== 'object') return [] + return Object.entries(properties).flatMap(([key, schema]) => { + const child = (value as Record)[key] + const childPath = `${path}.${key}` + if (child === null) return schema.nullable ? [] : [childPath] + if (Array.isArray(child)) { + return child.flatMap((item) => findUndeclaredNulls(item, schema.items?.properties, childPath)) + } + return findUndeclaredNulls(child, schema.properties, childPath) + }) +} + +function resolveUrl

(url: string | ((params: P) => string), params: P): string { + return typeof url === 'function' ? url(params) : url +} + +describe('Coda request URLs', () => { + it('encodes path segments and omits unset query params', () => { + const url = resolveUrl(codaListRowsTool.request.url, { + ...table, + tableId: 'My Table', + query: '"Status":"Done"', + useColumnNames: true, + limit: 10, + }) + expect(url).toBe( + 'https://coda.io/apis/v1/docs/AbCDeFGH/tables/My%20Table/rows?query=%22Status%22%3A%22Done%22&useColumnNames=true&limit=10' + ) + }) + + it('rejects path traversal in resource identifiers', () => { + expect(() => resolveUrl(codaListRowsTool.request.url, { ...table, tableId: '..' })).toThrow( + 'path traversal' + ) + }) + + it('rejects a blank browser link instead of sending no url', () => { + expect(() => + resolveUrl(codaResolveBrowserLinkTool.request.url, { accessToken: 'token', url: ' ' }) + ).toThrow('url is required') + }) + + it('builds list docs URLs without a doc path', () => { + expect( + resolveUrl(codaListDocsTool.request.url, { + accessToken: 'token', + query: 'Roadmap', + isOwner: true, + }) + ).toBe('https://coda.io/apis/v1/docs?query=Roadmap&isOwner=true') + }) +}) + +describe('Coda row bodies', () => { + it('converts column maps to cells and parses key columns', () => { + const body = codaUpsertRowsTool.request.body!({ + ...table, + rows: JSON.stringify([{ 'c-name': 'Apple', 'c-price': 1.25 }]), + keyColumns: 'c-name, c-sku', + }) + expect(body).toEqual({ + rows: [ + { + cells: [ + { column: 'c-name', value: 'Apple' }, + { column: 'c-price', value: 1.25 }, + ], + }, + ], + keyColumns: ['c-name', 'c-sku'], + }) + }) + + it('passes through rows already in Coda cell format', () => { + const cells = [{ column: 'c-name', value: 'Pear' }] + expect(codaUpsertRowsTool.request.body!({ ...table, rows: [{ cells }] })).toEqual({ + rows: [{ cells }], + }) + }) + + it('maps a column named cells instead of reading it as the cells wrapper', () => { + expect( + codaUpdateRowTool.request.body!({ + ...table, + rowId: 'i-1', + cells: { cells: 'x', Status: 'Done' }, + }) + ).toEqual({ + row: { + cells: [ + { column: 'cells', value: 'x' }, + { column: 'Status', value: 'Done' }, + ], + }, + }) + expect( + codaUpdateRowTool.request.body!({ ...table, rowId: 'i-1', cells: { cells: 'x' } }) + ).toEqual({ row: { cells: [{ column: 'cells', value: 'x' }] } }) + }) + + it('rejects an empty upsert', () => { + expect(() => codaUpsertRowsTool.request.body!({ ...table, rows: '[]' })).toThrow( + 'at least one row' + ) + }) + + it('wraps row updates in a row object', () => { + expect( + codaUpdateRowTool.request.body!({ ...table, rowId: 'i-1', cells: { Status: 'Done' } }) + ).toEqual({ row: { cells: [{ column: 'Status', value: 'Done' }] } }) + }) + + it('accepts row IDs as a JSON array string', () => { + expect(codaDeleteRowsTool.request.body!({ ...table, rowIds: '["i-1", "i-2"]' })).toEqual({ + rowIds: ['i-1', 'i-2'], + }) + }) +}) + +describe('Coda page and permission bodies', () => { + const page = { accessToken: 'token', docId: 'AbCDeFGH', pageId: 'canvas-1' } + + it('requires an insertion mode when updating content', () => { + expect(() => codaUpdatePageTool.request.body!({ ...page, content: '# Hi' })).toThrow( + 'insertionMode' + ) + }) + + it('builds a content update with a default markdown format', () => { + expect( + codaUpdatePageTool.request.body!({ ...page, content: '# Hi', insertionMode: 'append' }) + ).toEqual({ + contentUpdate: { + insertionMode: 'append', + canvasContent: { format: 'markdown', content: '# Hi' }, + }, + }) + }) + + it('maps each principal type to its field', () => { + const base = { accessToken: 'token', docId: 'AbCDeFGH', access: 'write' as const } + expect( + codaAddPermissionTool.request.body!({ ...base, principalType: 'group', principal: 'grp-1' }) + ).toEqual({ access: 'write', principal: { type: 'group', groupId: 'grp-1' } }) + expect(codaAddPermissionTool.request.body!({ ...base, principalType: 'anyone' })).toEqual({ + access: 'write', + principal: { type: 'anyone' }, + }) + expect(() => + codaAddPermissionTool.request.body!({ ...base, principalType: 'email', principal: ' ' }) + ).toThrow('principal is required') + }) +}) + +describe('Coda block params', () => { + const mapParams = CodaBlock.tools.config!.params! + + it('maps operation-specific inputs onto tool params', () => { + const result = mapParams({ + operation: 'list_rows', + rowFilter: '"Status":"Done"', + docSearch: 'ignored', + rowSortBy: 'updatedAt', + limit: '50', + useColumnNames: true, + visibleOnly: false, + }) + expect(result).toMatchObject({ + query: '"Status":"Done"', + sortBy: 'updatedAt', + limit: 50, + useColumnNames: true, + visibleOnly: undefined, + }) + }) + + it('routes shared params by operation and maps page visibility', () => { + expect( + mapParams({ + operation: 'get_mutation_status', + mutationRequestId: 'req-1', + workspaceFilter: 'ws-f', + }) + ).toMatchObject({ requestId: 'req-1', workspaceId: 'ws-f' }) + expect( + mapParams({ operation: 'create_folder', folderName: 'Plans', workspaceId: 'ws-1' }) + ).toMatchObject({ name: 'Plans', workspaceId: 'ws-1' }) + expect(mapParams({ operation: 'update_page', pageVisibility: 'hidden' })).toMatchObject({ + isHidden: true, + }) + expect(mapParams({ operation: 'update_page', pageVisibility: 'unchanged' })).toMatchObject({ + isHidden: undefined, + }) + }) + + it('selects the tool from the operation', () => { + expect(CodaBlock.tools.config!.tool!({ operation: 'upsert_rows' })).toBe('coda_upsert_rows') + }) +}) + +describe('Coda page content and publishing bodies', () => { + it('builds embed and sync page content', () => { + expect( + codaCreatePageTool.request.body!({ + accessToken: 'token', + docId: 'AbCDeFGH', + pageType: 'embed', + embedUrl: ' https://example.com ', + }) + ).toEqual({ pageContent: { type: 'embed', url: 'https://example.com' } }) + expect( + codaCreatePageTool.request.body!({ + accessToken: 'token', + docId: 'AbCDeFGH', + pageType: 'syncPage', + sourceDocId: 'src', + syncMode: 'document', + }) + ).toEqual({ pageContent: { type: 'syncPage', mode: 'document', sourceDocId: 'src' } }) + expect(() => + codaCreatePageTool.request.body!({ + accessToken: 'token', + docId: 'AbCDeFGH', + pageType: 'syncPage', + sourceDocId: 'src', + }) + ).toThrow('sourcePageId') + }) + + it('nests initial page settings when creating a doc', () => { + expect( + codaCreateDocTool.request.body!({ + accessToken: 'token', + title: 'Plan', + pageName: 'Overview', + content: '# Hi', + }) + ).toEqual({ + title: 'Plan', + initialPage: { + name: 'Overview', + pageContent: { type: 'canvas', canvasContent: { format: 'markdown', content: '# Hi' } }, + }, + }) + }) + + it('only sends explicitly set sharing settings', () => { + expect( + codaUpdateAclSettingsTool.request.body!({ + accessToken: 'token', + docId: 'AbCDeFGH', + allowCopying: false, + }) + ).toEqual({ allowCopying: false }) + expect(() => + codaUpdateAclSettingsTool.request.body!({ accessToken: 'token', docId: 'AbCDeFGH' }) + ).toThrow('at least one') + }) + + it('splits publish categories and omits unset fields', () => { + expect( + codaPublishDocTool.request.body!({ + accessToken: 'token', + docId: 'AbCDeFGH', + categoryNames: 'Project management, Engineering', + mode: 'view', + }) + ).toEqual({ categoryNames: ['Project management', 'Engineering'], mode: 'view' }) + }) + + it('sends the bearer token from the resolved credential', () => { + expect(codaWhoamiTool.request.headers({ accessToken: 'secret' })).toEqual({ + Authorization: 'Bearer secret', + Accept: 'application/json', + }) + expect(codaWhoamiTool.oauth).toEqual({ required: true, provider: 'coda' }) + }) +}) + +describe('Coda delete page content', () => { + const page = { accessToken: 'token', docId: 'AbCDeFGH', pageId: 'canvas-1' } + + it('never clears a whole page without an explicit deleteAll', () => { + expect(() => codaDeletePageContentTool.request.body!({ ...page })).toThrow('deleteAll') + expect(codaDeletePageContentTool.request.body!({ ...page, deleteAll: true })).toEqual({}) + expect( + codaDeletePageContentTool.request.body!({ + ...page, + elementIds: 'cl-1, cl-2', + deleteAll: true, + }) + ).toEqual({ elementIds: ['cl-1', 'cl-2'] }) + }) +}) + +describe('Coda pagination and errors', () => { + it('sends only the page token when continuing a list', () => { + expect( + buildCodaUrl('/docs/doc/tables/grid/rows', { + limit: 10, + useColumnNames: true, + pageToken: 'eyJsaW1pd', + }) + ).toBe('https://coda.io/apis/v1/docs/doc/tables/grid/rows?pageToken=eyJsaW1pd') + expect(buildCodaUrl('/docs', { limit: 10, pageToken: ' ' })).toBe( + 'https://coda.io/apis/v1/docs?limit=10' + ) + }) + + it('surfaces Coda schema validation detail instead of a generic Bad Request', () => { + const data = { + statusCode: 400, + statusMessage: 'Bad Request', + message: 'Bad Request', + codaType: 'RequestSchemaValidationFailed', + codaDetail: { + issues: [ + { + code: 'invalid_union', + errors: [ + [{ code: 'custom', message: 'Invalid pageToken', path: ['pageToken'] }], + [ + { + code: 'unrecognized_keys', + keys: ['limit'], + path: [], + message: 'Unrecognized key: "limit"', + }, + ], + ], + path: [], + message: 'Invalid input', + }, + ], + }, + } + expect(extractErrorMessageWithId({ status: 400, data }, ErrorExtractorId.CODA_ERRORS)).toBe( + 'Bad Request: pageToken: Invalid pageToken; Unrecognized key: "limit"' + ) + expect( + extractErrorMessageWithId( + { status: 404, data: { statusMessage: 'Not Found', message: 'Doc has been deleted.' } }, + ErrorExtractorId.CODA_ERRORS + ) + ).toBe('Doc has been deleted.') + }) +}) + +describe('Coda tool registration', () => { + const allTools = Object.entries(codaTools).filter(([name]) => name.endsWith('Tool')) + + it('exposes all 60 tools through the barrel', () => { + expect(allTools).toHaveLength(60) + }) + + it.each(allTools)( + '%s declares every output it can return as null as nullable', + async (_, tool) => { + const config = tool as { + outputs: Record + transformResponse: (response: Response, params: object) => Promise<{ output: unknown }> + } + const sparseBody = { + items: [{ doc: {}, page: {}, metrics: [{}] }], + customDocDomains: [{}], + resource: {}, + id: 'x', + } + const { output } = await config.transformResponse( + new Response(JSON.stringify(sparseBody)), + table + ) + expect(findUndeclaredNulls(output, config.outputs, '')).toEqual([]) + } + ) + + it.each(allTools)( + '%s retries safely repeatable calls and authenticates with the Coda credential', + (_, tool) => { + const config = tool as { + request: { method: unknown; retry?: unknown } + oauth?: unknown + params: Record + } + expect(config.request.retry).toBe( + config.request.method === 'PATCH' ? CODA_FIELD_UPDATE_RETRY : CODA_RETRY + ) + expect(config.oauth).toEqual({ required: true, provider: 'coda' }) + expect(config.params.accessToken).toMatchObject({ required: true, visibility: 'hidden' }) + } + ) +}) diff --git a/apps/sim/tools/coda/create_doc.ts b/apps/sim/tools/coda/create_doc.ts new file mode 100644 index 00000000000..ac7669cf00d --- /dev/null +++ b/apps/sim/tools/coda/create_doc.ts @@ -0,0 +1,171 @@ +import type { CodaCreateDocParams, CodaCreateDocResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + buildPageCreateContent, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + DOC_PROPERTIES, + mapDoc, + optionalTrimmed, + type RawCodaDoc, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaCreateDocTool: ToolConfig = { + id: 'coda_create_doc', + name: 'Coda Create Doc', + description: + 'Create a Coda doc, optionally copying an existing doc and setting up its first page with Markdown, HTML, an embed, or a sync page. Requires Doc Maker access in the workspace.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + title: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Title of the new doc (defaults to "Untitled")', + }, + sourceDoc: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'ID of an existing doc to copy', + }, + timezone: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Timezone for the new doc (e.g., "America/Los_Angeles")', + }, + folderId: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'ID of the folder to create the doc in (defaults to "My docs")', + }, + pageName: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Name of the initial page', + }, + pageSubtitle: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Subtitle of the initial page', + }, + iconName: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Icon name for the initial page (e.g., "rocket")', + }, + imageUrl: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Cover image URL for the initial page', + }, + pageType: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Initial page content type: "canvas" (default), "embed", or "syncPage"', + }, + contentFormat: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Canvas content format: "markdown" (default) or "html"', + }, + content: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Canvas content for the initial page in the chosen format', + }, + embedUrl: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'URL to embed as a full page (pageType "embed")', + }, + renderMethod: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Embed render method: "standard" or "compatibility"', + }, + sourceDocId: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Doc to sync from (pageType "syncPage")', + }, + sourcePageId: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Page to sync (pageType "syncPage" with syncMode "page")', + }, + syncMode: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Sync page mode: "page" (default) or "document"', + }, + includeSubpages: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Include subpages in a single-page sync page', + }, + }, + + request: { + url: () => buildCodaUrl('/docs'), + method: 'POST', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => { + const pageContent = buildPageCreateContent(params) + const initialPage = { + ...(optionalTrimmed(params.pageName) ? { name: optionalTrimmed(params.pageName) } : {}), + ...(params.pageSubtitle ? { subtitle: params.pageSubtitle } : {}), + ...(optionalTrimmed(params.iconName) ? { iconName: optionalTrimmed(params.iconName) } : {}), + ...(optionalTrimmed(params.imageUrl) ? { imageUrl: optionalTrimmed(params.imageUrl) } : {}), + ...(pageContent ? { pageContent } : {}), + } + return { + ...(optionalTrimmed(params.title) ? { title: optionalTrimmed(params.title) } : {}), + ...(optionalTrimmed(params.sourceDoc) + ? { sourceDoc: optionalTrimmed(params.sourceDoc) } + : {}), + ...(optionalTrimmed(params.timezone) ? { timezone: optionalTrimmed(params.timezone) } : {}), + ...(optionalTrimmed(params.folderId) ? { folderId: optionalTrimmed(params.folderId) } : {}), + ...(Object.keys(initialPage).length > 0 ? { initialPage } : {}), + } + }, + }, + + transformResponse: async (response) => { + const data = (await response.json()) as RawCodaDoc & { requestId?: string } + return { success: true, output: { doc: mapDoc(data), requestId: data.requestId ?? null } } + }, + + outputs: { + doc: { type: 'object', description: 'The created doc', properties: DOC_PROPERTIES }, + requestId: { + type: 'string', + description: 'Coda request ID for the doc creation', + nullable: true, + }, + }, +} diff --git a/apps/sim/tools/coda/create_folder.ts b/apps/sim/tools/coda/create_folder.ts new file mode 100644 index 00000000000..c0bc25577d4 --- /dev/null +++ b/apps/sim/tools/coda/create_folder.ts @@ -0,0 +1,62 @@ +import type { CodaCreateFolderParams, CodaFolderResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + FOLDER_PROPERTIES, + mapFolder, + optionalTrimmed, + type RawCodaFolder, + WORKSPACE_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaCreateFolderTool: ToolConfig = { + id: 'coda_create_folder', + name: 'Coda Create Folder', + description: 'Create a folder in a Coda workspace', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + name: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'Name of the folder', + }, + workspaceId: WORKSPACE_ID_PARAM, + description: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Description of the folder', + }, + }, + + request: { + url: () => buildCodaUrl('/folders'), + method: 'POST', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => ({ + name: String(params.name ?? '').trim(), + workspaceId: String(params.workspaceId ?? '').trim(), + ...(optionalTrimmed(params.description) ? { description: params.description } : {}), + }), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as RawCodaFolder + return { success: true, output: { folder: mapFolder(data) } } + }, + + outputs: { + folder: { type: 'object', description: 'The created folder', properties: FOLDER_PROPERTIES }, + }, +} diff --git a/apps/sim/tools/coda/create_page.ts b/apps/sim/tools/coda/create_page.ts new file mode 100644 index 00000000000..7308c349be1 --- /dev/null +++ b/apps/sim/tools/coda/create_page.ts @@ -0,0 +1,144 @@ +import type { CodaCreatePageParams, CodaPageMutationResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + buildPageCreateContent, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + optionalTrimmed, + REQUEST_ID_OUTPUT, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaCreatePageTool: ToolConfig = { + id: 'coda_create_page', + name: 'Coda Create Page', + description: + 'Create a page in a Coda doc, optionally as a subpage, with Markdown or HTML content, a full-page embed, or a sync page from another doc. The page is created asynchronously. Requires Doc Maker access.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + name: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Name of the page', + }, + subtitle: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Subtitle of the page', + }, + iconName: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Name of the page icon (e.g., "rocket")', + }, + imageUrl: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'URL of a cover image for the page', + }, + parentPageId: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'ID of the parent page, to create this page as a subpage', + }, + pageType: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Page content type: "canvas" (default), "embed", or "syncPage"', + }, + contentFormat: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Canvas content format: "markdown" (default) or "html"', + }, + content: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Canvas page content in the chosen format', + }, + embedUrl: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'URL to embed as a full page (pageType "embed")', + }, + renderMethod: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Embed render method: "standard" or "compatibility"', + }, + sourceDocId: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Doc to sync from (pageType "syncPage")', + }, + sourcePageId: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Page to sync (pageType "syncPage" with syncMode "page")', + }, + syncMode: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Sync page mode: "page" (default) or "document"', + }, + includeSubpages: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Include subpages in a single-page sync page', + }, + }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId, 'pages')), + method: 'POST', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => { + const pageContent = buildPageCreateContent(params) + return { + ...(optionalTrimmed(params.name) ? { name: optionalTrimmed(params.name) } : {}), + ...(params.subtitle ? { subtitle: params.subtitle } : {}), + ...(optionalTrimmed(params.iconName) ? { iconName: optionalTrimmed(params.iconName) } : {}), + ...(optionalTrimmed(params.imageUrl) ? { imageUrl: optionalTrimmed(params.imageUrl) } : {}), + ...(optionalTrimmed(params.parentPageId) + ? { parentPageId: optionalTrimmed(params.parentPageId) } + : {}), + ...(pageContent ? { pageContent } : {}), + } + }, + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { requestId: string; id: string } + return { success: true, output: { requestId: data.requestId, pageId: data.id } } + }, + + outputs: { + requestId: REQUEST_ID_OUTPUT, + pageId: { type: 'string', description: 'ID of the created page' }, + }, +} diff --git a/apps/sim/tools/coda/delete_custom_domain.ts b/apps/sim/tools/coda/delete_custom_domain.ts new file mode 100644 index 00000000000..efb18baac18 --- /dev/null +++ b/apps/sim/tools/coda/delete_custom_domain.ts @@ -0,0 +1,50 @@ +import type { CodaCustomDomainParams, CodaCustomDomainResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + CUSTOM_DOMAIN_PARAM, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaDeleteCustomDomainTool: ToolConfig< + CodaCustomDomainParams, + CodaCustomDomainResponse +> = { + id: 'coda_delete_custom_domain', + name: 'Coda Delete Custom Domain', + description: 'Remove a custom domain from a published Coda doc', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, docId: DOC_ID_PARAM, customDocDomain: CUSTOM_DOMAIN_PARAM }, + + request: { + url: (params) => + buildCodaUrl( + codaDocPath(params.docId, 'domains', [params.customDocDomain, 'customDocDomain']) + ), + method: 'DELETE', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (_response, params) => ({ + success: true, + output: { + docId: String(params?.docId ?? '').trim(), + customDocDomain: String(params?.customDocDomain ?? '').trim(), + }, + }), + + outputs: { + docId: { type: 'string', description: 'ID of the doc' }, + customDocDomain: { type: 'string', description: 'The custom domain that was removed' }, + }, +} diff --git a/apps/sim/tools/coda/delete_doc.ts b/apps/sim/tools/coda/delete_doc.ts new file mode 100644 index 00000000000..8a1b0d9d668 --- /dev/null +++ b/apps/sim/tools/coda/delete_doc.ts @@ -0,0 +1,39 @@ +import type { CodaDocIdResponse, CodaDocParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaDeleteDocTool: ToolConfig = { + id: 'coda_delete_doc', + name: 'Coda Delete Doc', + description: 'Delete a Coda doc', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, docId: DOC_ID_PARAM }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId)), + method: 'DELETE', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (_response, params) => ({ + success: true, + output: { docId: String(params?.docId ?? '').trim() }, + }), + + outputs: { + docId: { type: 'string', description: 'ID of the deleted doc' }, + }, +} diff --git a/apps/sim/tools/coda/delete_folder.ts b/apps/sim/tools/coda/delete_folder.ts new file mode 100644 index 00000000000..20eb2bc6e20 --- /dev/null +++ b/apps/sim/tools/coda/delete_folder.ts @@ -0,0 +1,39 @@ +import type { CodaDeleteFolderResponse, CodaFolderParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + codaPath, + FOLDER_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaDeleteFolderTool: ToolConfig = { + id: 'coda_delete_folder', + name: 'Coda Delete Folder', + description: 'Delete an empty Coda folder (it must contain no docs)', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, folderId: FOLDER_ID_PARAM }, + + request: { + url: (params) => buildCodaUrl(codaPath('folders', [params.folderId, 'folderId'])), + method: 'DELETE', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (_response, params) => ({ + success: true, + output: { folderId: String(params?.folderId ?? '').trim() }, + }), + + outputs: { + folderId: { type: 'string', description: 'ID of the deleted folder' }, + }, +} diff --git a/apps/sim/tools/coda/delete_page.ts b/apps/sim/tools/coda/delete_page.ts new file mode 100644 index 00000000000..6db84298b33 --- /dev/null +++ b/apps/sim/tools/coda/delete_page.ts @@ -0,0 +1,42 @@ +import type { CodaPageMutationResponse, CodaPageParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + PAGE_ID_PARAM, + REQUEST_ID_OUTPUT, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaDeletePageTool: ToolConfig = { + id: 'coda_delete_page', + name: 'Coda Delete Page', + description: 'Delete a page from a Coda doc. Applied asynchronously.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, docId: DOC_ID_PARAM, pageId: PAGE_ID_PARAM }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId, 'pages', [params.pageId, 'pageId'])), + method: 'DELETE', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { requestId: string; id: string } + return { success: true, output: { requestId: data.requestId, pageId: data.id } } + }, + + outputs: { + requestId: REQUEST_ID_OUTPUT, + pageId: { type: 'string', description: 'ID of the deleted page' }, + }, +} diff --git a/apps/sim/tools/coda/delete_page_content.ts b/apps/sim/tools/coda/delete_page_content.ts new file mode 100644 index 00000000000..020325aa1f8 --- /dev/null +++ b/apps/sim/tools/coda/delete_page_content.ts @@ -0,0 +1,73 @@ +import type { CodaDeletePageContentParams, CodaPageMutationResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + PAGE_ID_PARAM, + parseStringList, + REQUEST_ID_OUTPUT, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaDeletePageContentTool: ToolConfig< + CodaDeletePageContentParams, + CodaPageMutationResponse +> = { + id: 'coda_delete_page_content', + name: 'Coda Delete Page Content', + description: + 'Delete specific content elements from a Coda page, or all of its content when no element IDs are given. Applied asynchronously.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + pageId: PAGE_ID_PARAM, + elementIds: { + type: 'json', + required: false, + visibility: 'user-or-llm', + description: + 'Element IDs to delete (from Get Page Content), as an array or comma-separated list', + }, + deleteAll: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Set to true, with no element IDs, to delete all content from the page', + }, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'pages', [params.pageId, 'pageId'], 'content')), + method: 'DELETE', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => { + const elementIds = parseStringList(params.elementIds, 'elementIds') + if (elementIds.length > 0) return { elementIds } + if (params.deleteAll !== true) { + throw new Error('Provide elementIds, or set deleteAll to true to delete all page content') + } + return {} + }, + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { requestId: string; id: string } + return { success: true, output: { requestId: data.requestId, pageId: data.id } } + }, + + outputs: { + requestId: REQUEST_ID_OUTPUT, + pageId: { type: 'string', description: 'ID of the page whose content was deleted' }, + }, +} diff --git a/apps/sim/tools/coda/delete_permission.ts b/apps/sim/tools/coda/delete_permission.ts new file mode 100644 index 00000000000..52682da97bc --- /dev/null +++ b/apps/sim/tools/coda/delete_permission.ts @@ -0,0 +1,58 @@ +import type { CodaDeletePermissionParams, CodaDeletePermissionResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaDeletePermissionTool: ToolConfig< + CodaDeletePermissionParams, + CodaDeletePermissionResponse +> = { + id: 'coda_delete_permission', + name: 'Coda Remove Permission', + description: 'Revoke a sharing permission on a Coda doc', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + permissionId: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'ID of the permission to remove (from List Permissions)', + }, + }, + + request: { + url: (params) => + buildCodaUrl( + codaDocPath(params.docId, 'acl', 'permissions', [params.permissionId, 'permissionId']) + ), + method: 'DELETE', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (_response, params) => ({ + success: true, + output: { + docId: String(params?.docId ?? '').trim(), + permissionId: String(params?.permissionId ?? '').trim(), + }, + }), + + outputs: { + docId: { type: 'string', description: 'ID of the doc' }, + permissionId: { type: 'string', description: 'ID of the removed permission' }, + }, +} diff --git a/apps/sim/tools/coda/delete_row.ts b/apps/sim/tools/coda/delete_row.ts new file mode 100644 index 00000000000..8861092e66c --- /dev/null +++ b/apps/sim/tools/coda/delete_row.ts @@ -0,0 +1,49 @@ +import type { CodaRowMutationResponse, CodaRowParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + REQUEST_ID_OUTPUT, + ROW_ID_PARAM, + TABLE_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaDeleteRowTool: ToolConfig = { + id: 'coda_delete_row', + name: 'Coda Delete Row', + description: 'Delete a row from a Coda table or view. Applied asynchronously.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, docId: DOC_ID_PARAM, tableId: TABLE_ID_PARAM, rowId: ROW_ID_PARAM }, + + request: { + url: (params) => + buildCodaUrl( + codaDocPath(params.docId, 'tables', [params.tableId, 'tableId'], 'rows', [ + params.rowId, + 'rowId', + ]) + ), + method: 'DELETE', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { requestId: string; id: string } + return { success: true, output: { requestId: data.requestId, rowId: data.id } } + }, + + outputs: { + requestId: REQUEST_ID_OUTPUT, + rowId: { type: 'string', description: 'ID of the deleted row' }, + }, +} diff --git a/apps/sim/tools/coda/delete_rows.ts b/apps/sim/tools/coda/delete_rows.ts new file mode 100644 index 00000000000..29ce1bb5a2e --- /dev/null +++ b/apps/sim/tools/coda/delete_rows.ts @@ -0,0 +1,64 @@ +import type { CodaDeleteRowsParams, CodaDeleteRowsResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + parseStringList, + REQUEST_ID_OUTPUT, + TABLE_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaDeleteRowsTool: ToolConfig = { + id: 'coda_delete_rows', + name: 'Coda Delete Rows', + description: 'Delete multiple rows from a Coda table or view by ID. Applied asynchronously.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + tableId: TABLE_ID_PARAM, + rowIds: { + type: 'json', + required: true, + visibility: 'user-or-llm', + description: + 'Row IDs to delete, as an array or comma-separated list (e.g., ["i-bCdeFgh", "i-CdEfgHi"])', + }, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'tables', [params.tableId, 'tableId'], 'rows')), + method: 'DELETE', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => { + const rowIds = parseStringList(params.rowIds, 'rowIds') + if (rowIds.length === 0) throw new Error('rowIds must contain at least one row ID') + return { rowIds } + }, + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { requestId: string; rowIds?: string[] } + return { success: true, output: { requestId: data.requestId, rowIds: data.rowIds ?? [] } } + }, + + outputs: { + requestId: REQUEST_ID_OUTPUT, + rowIds: { + type: 'array', + description: 'IDs of the rows queued for deletion', + items: { type: 'string', description: 'Row ID' }, + }, + }, +} diff --git a/apps/sim/tools/coda/export_page.ts b/apps/sim/tools/coda/export_page.ts new file mode 100644 index 00000000000..4f78d348636 --- /dev/null +++ b/apps/sim/tools/coda/export_page.ts @@ -0,0 +1,55 @@ +import type { CodaExportPageParams, CodaExportPageResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + PAGE_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaExportPageTool: ToolConfig = { + id: 'coda_export_page', + name: 'Coda Export Page', + description: + 'Start exporting a Coda page as HTML or Markdown. Poll Get Page Export Status with the returned export ID for the download link.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + pageId: PAGE_ID_PARAM, + outputFormat: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'Export format: "markdown" or "html"', + }, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'pages', [params.pageId, 'pageId'], 'export')), + method: 'POST', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => ({ outputFormat: params.outputFormat }), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { id: string; status: string; href: string } + return { success: true, output: { exportId: data.id, status: data.status, href: data.href } } + }, + + outputs: { + exportId: { type: 'string', description: 'ID of the export request' }, + status: { type: 'string', description: 'Export status (inProgress, failed, complete)' }, + href: { type: 'string', description: 'API link that reports the export status' }, + }, +} diff --git a/apps/sim/tools/coda/get_acl_settings.ts b/apps/sim/tools/coda/get_acl_settings.ts new file mode 100644 index 00000000000..fe4df28451e --- /dev/null +++ b/apps/sim/tools/coda/get_acl_settings.ts @@ -0,0 +1,45 @@ +import type { CodaAclSettingsResponse, CodaDocParams } from '@/tools/coda/types' +import { + ACL_SETTINGS_OUTPUTS, + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetAclSettingsTool: ToolConfig = { + id: 'coda_get_acl_settings', + name: 'Coda Get Sharing Settings', + description: 'Get the sharing settings of a Coda doc', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, docId: DOC_ID_PARAM }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId, 'acl', 'settings')), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as CodaAclSettingsResponse['output'] + return { + success: true, + output: { + allowEditorsToChangePermissions: data.allowEditorsToChangePermissions, + allowCopying: data.allowCopying, + allowViewersToRequestEditing: data.allowViewersToRequestEditing, + }, + } + }, + + outputs: ACL_SETTINGS_OUTPUTS, +} diff --git a/apps/sim/tools/coda/get_analytics_last_updated.ts b/apps/sim/tools/coda/get_analytics_last_updated.ts new file mode 100644 index 00000000000..d7bf9ba6431 --- /dev/null +++ b/apps/sim/tools/coda/get_analytics_last_updated.ts @@ -0,0 +1,53 @@ +import type { CodaAnalyticsLastUpdatedResponse, CodaAuthParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetAnalyticsLastUpdatedTool: ToolConfig< + CodaAuthParams, + CodaAnalyticsLastUpdatedResponse +> = { + id: 'coda_get_analytics_last_updated', + name: 'Coda Get Analytics Last Updated', + description: + 'Get the dates (Pacific time) Coda analytics were last refreshed, to know how current analytics data is', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams }, + + request: { + url: () => buildCodaUrl('/analytics/updated'), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as CodaAnalyticsLastUpdatedResponse['output'] + return { + success: true, + output: { + docAnalyticsLastUpdated: data.docAnalyticsLastUpdated, + packAnalyticsLastUpdated: data.packAnalyticsLastUpdated, + packFormulaAnalyticsLastUpdated: data.packFormulaAnalyticsLastUpdated, + }, + } + }, + + outputs: { + docAnalyticsLastUpdated: { type: 'string', description: 'Date doc analytics last updated' }, + packAnalyticsLastUpdated: { type: 'string', description: 'Date Pack analytics last updated' }, + packFormulaAnalyticsLastUpdated: { + type: 'string', + description: 'Date Pack formula analytics last updated', + }, + }, +} diff --git a/apps/sim/tools/coda/get_column.ts b/apps/sim/tools/coda/get_column.ts new file mode 100644 index 00000000000..fa1cf7cfc10 --- /dev/null +++ b/apps/sim/tools/coda/get_column.ts @@ -0,0 +1,59 @@ +import type { CodaColumnResponse, CodaGetColumnParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + COLUMN_PROPERTIES, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + mapColumn, + type RawCodaColumn, + TABLE_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetColumnTool: ToolConfig = { + id: 'coda_get_column', + name: 'Coda Get Column', + description: 'Get details about a column in a Coda table, including its full format settings', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + tableId: TABLE_ID_PARAM, + columnId: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'ID or name of the column (IDs are recommended, e.g., "c-tuVwxYz")', + }, + }, + + request: { + url: (params) => + buildCodaUrl( + codaDocPath(params.docId, 'tables', [params.tableId, 'tableId'], 'columns', [ + params.columnId, + 'columnId', + ]) + ), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as RawCodaColumn + return { success: true, output: { column: mapColumn(data) } } + }, + + outputs: { + column: { type: 'object', description: 'Column details', properties: COLUMN_PROPERTIES }, + }, +} diff --git a/apps/sim/tools/coda/get_control.ts b/apps/sim/tools/coda/get_control.ts new file mode 100644 index 00000000000..80e364e8d55 --- /dev/null +++ b/apps/sim/tools/coda/get_control.ts @@ -0,0 +1,72 @@ +import type { CodaControlResponse, CodaGetControlParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + mapControl, + NAMED_REFERENCE_PROPERTIES, + type RawCodaNamedReference, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetControlTool: ToolConfig = { + id: 'coda_get_control', + name: 'Coda Get Control', + description: 'Get the type and current value of a control in a Coda doc', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + controlId: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'ID or name of the control (IDs are recommended, e.g., "ctrl-cDefGhij")', + }, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'controls', [params.controlId, 'controlId'])), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as RawCodaNamedReference & { + controlType?: string + value?: unknown + } + return { success: true, output: { control: mapControl(data) } } + }, + + outputs: { + control: { + type: 'object', + description: 'Control details', + properties: { + ...NAMED_REFERENCE_PROPERTIES, + controlType: { + type: 'string', + description: + 'Control type (aiBlock, button, checkbox, datePicker, dateRangePicker, dateTimePicker, lookup, multiselect, select, scale, slider, reaction, textbox, timePicker)', + nullable: true, + }, + value: { + type: 'json', + description: 'Current value (string, number, boolean, or array of these)', + nullable: true, + }, + }, + }, + }, +} diff --git a/apps/sim/tools/coda/get_custom_domain_provider.ts b/apps/sim/tools/coda/get_custom_domain_provider.ts new file mode 100644 index 00000000000..ec601098d9a --- /dev/null +++ b/apps/sim/tools/coda/get_custom_domain_provider.ts @@ -0,0 +1,54 @@ +import type { + CodaGetCustomDomainProviderParams, + CodaGetCustomDomainProviderResponse, +} from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + CUSTOM_DOMAIN_PARAM, + codaAuthParams, + codaHeaders, + codaOAuth, + codaPath, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetCustomDomainProviderTool: ToolConfig< + CodaGetCustomDomainProviderParams, + CodaGetCustomDomainProviderResponse +> = { + id: 'coda_get_custom_domain_provider', + name: 'Coda Get Custom Domain Provider', + description: + 'Look up the DNS provider (GoDaddy, Namecheap, Hover, Network Solutions, Google Domains, or Other) of a custom domain', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, customDocDomain: CUSTOM_DOMAIN_PARAM }, + + request: { + url: (params) => + buildCodaUrl(codaPath('domains', 'provider', [params.customDocDomain, 'customDocDomain'])), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response, params) => { + const data = (await response.json()) as { provider: string } + return { + success: true, + output: { + customDocDomain: String(params?.customDocDomain ?? '').trim(), + provider: data.provider, + }, + } + }, + + outputs: { + customDocDomain: { type: 'string', description: 'The custom domain' }, + provider: { type: 'string', description: 'DNS provider of the domain' }, + }, +} diff --git a/apps/sim/tools/coda/get_doc.ts b/apps/sim/tools/coda/get_doc.ts new file mode 100644 index 00000000000..56b82aada5a --- /dev/null +++ b/apps/sim/tools/coda/get_doc.ts @@ -0,0 +1,43 @@ +import type { CodaDocParams, CodaDocResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + DOC_PROPERTIES, + mapDoc, + type RawCodaDoc, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetDocTool: ToolConfig = { + id: 'coda_get_doc', + name: 'Coda Get Doc', + description: + 'Get metadata for a Coda doc, including its owner, workspace, folder, size, and publishing settings', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, docId: DOC_ID_PARAM }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId)), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as RawCodaDoc + return { success: true, output: { doc: mapDoc(data) } } + }, + + outputs: { + doc: { type: 'object', description: 'Doc metadata', properties: DOC_PROPERTIES }, + }, +} diff --git a/apps/sim/tools/coda/get_doc_analytics_summary.ts b/apps/sim/tools/coda/get_doc_analytics_summary.ts new file mode 100644 index 00000000000..82543342c68 --- /dev/null +++ b/apps/sim/tools/coda/get_doc_analytics_summary.ts @@ -0,0 +1,76 @@ +import type { + CodaDocAnalyticsSummaryParams, + CodaDocAnalyticsSummaryResponse, +} from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + optionalTrimmed, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetDocAnalyticsSummaryTool: ToolConfig< + CodaDocAnalyticsSummaryParams, + CodaDocAnalyticsSummaryResponse +> = { + id: 'coda_get_doc_analytics_summary', + name: 'Coda Get Doc Analytics Summary', + description: 'Get the total number of sessions across the Coda docs the user can access', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + isPublished: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Only include published docs', + }, + sinceDate: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Only include activity on or after this date (YYYY-MM-DD)', + }, + untilDate: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Only include activity on or before this date (YYYY-MM-DD)', + }, + workspaceId: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Only include docs in this workspace', + }, + }, + + request: { + url: (params) => + buildCodaUrl('/analytics/docs/summary', { + isPublished: params.isPublished, + sinceDate: optionalTrimmed(params.sinceDate), + untilDate: optionalTrimmed(params.untilDate), + workspaceId: optionalTrimmed(params.workspaceId), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { totalSessions: number } + return { success: true, output: { totalSessions: data.totalSessions } } + }, + + outputs: { + totalSessions: { type: 'number', description: 'Total sessions across all matching docs' }, + }, +} diff --git a/apps/sim/tools/coda/get_folder.ts b/apps/sim/tools/coda/get_folder.ts new file mode 100644 index 00000000000..7a3db5aace6 --- /dev/null +++ b/apps/sim/tools/coda/get_folder.ts @@ -0,0 +1,42 @@ +import type { CodaFolderParams, CodaFolderResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + codaPath, + FOLDER_ID_PARAM, + FOLDER_PROPERTIES, + mapFolder, + type RawCodaFolder, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetFolderTool: ToolConfig = { + id: 'coda_get_folder', + name: 'Coda Get Folder', + description: 'Get details about a Coda folder', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, folderId: FOLDER_ID_PARAM }, + + request: { + url: (params) => buildCodaUrl(codaPath('folders', [params.folderId, 'folderId'])), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as RawCodaFolder + return { success: true, output: { folder: mapFolder(data) } } + }, + + outputs: { + folder: { type: 'object', description: 'Folder details', properties: FOLDER_PROPERTIES }, + }, +} diff --git a/apps/sim/tools/coda/get_formula.ts b/apps/sim/tools/coda/get_formula.ts new file mode 100644 index 00000000000..3f66c9fc83c --- /dev/null +++ b/apps/sim/tools/coda/get_formula.ts @@ -0,0 +1,63 @@ +import type { CodaFormulaResponse, CodaGetFormulaParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + mapFormula, + NAMED_REFERENCE_PROPERTIES, + type RawCodaNamedReference, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetFormulaTool: ToolConfig = { + id: 'coda_get_formula', + name: 'Coda Get Formula', + description: 'Get the current computed value of a named formula in a Coda doc', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + formulaId: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'ID or name of the formula (IDs are recommended, e.g., "f-fgHijkLm")', + }, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'formulas', [params.formulaId, 'formulaId'])), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as RawCodaNamedReference & { value?: unknown } + return { success: true, output: { formula: mapFormula(data) } } + }, + + outputs: { + formula: { + type: 'object', + description: 'Formula details', + properties: { + ...NAMED_REFERENCE_PROPERTIES, + value: { + type: 'json', + description: 'Computed value (string, number, boolean, or array of these)', + nullable: true, + }, + }, + }, + }, +} diff --git a/apps/sim/tools/coda/get_mutation_status.ts b/apps/sim/tools/coda/get_mutation_status.ts new file mode 100644 index 00000000000..99fdc4354a2 --- /dev/null +++ b/apps/sim/tools/coda/get_mutation_status.ts @@ -0,0 +1,55 @@ +import type { CodaGetMutationStatusParams, CodaGetMutationStatusResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + codaPath, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetMutationStatusTool: ToolConfig< + CodaGetMutationStatusParams, + CodaGetMutationStatusResponse +> = { + id: 'coda_get_mutation_status', + name: 'Coda Get Mutation Status', + description: + 'Check whether a queued Coda change (row, page, publish, or automation request) has been applied. Status is kept for about a day.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + requestId: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'Request ID returned by a Coda write operation', + }, + }, + + request: { + url: (params) => buildCodaUrl(codaPath('mutationStatus', [params.requestId, 'requestId'])), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { completed: boolean; warning?: string } + return { success: true, output: { completed: data.completed, warning: data.warning ?? null } } + }, + + outputs: { + completed: { type: 'boolean', description: 'Whether the change has been applied' }, + warning: { + type: 'string', + description: 'Warning if the change completed with caveats', + nullable: true, + }, + }, +} diff --git a/apps/sim/tools/coda/get_page.ts b/apps/sim/tools/coda/get_page.ts new file mode 100644 index 00000000000..0a8e48625de --- /dev/null +++ b/apps/sim/tools/coda/get_page.ts @@ -0,0 +1,43 @@ +import type { CodaPageParams, CodaPageResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + mapPage, + PAGE_ID_PARAM, + PAGE_PROPERTIES, + type RawCodaPage, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetPageTool: ToolConfig = { + id: 'coda_get_page', + name: 'Coda Get Page', + description: 'Get metadata for a page in a Coda doc', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, docId: DOC_ID_PARAM, pageId: PAGE_ID_PARAM }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId, 'pages', [params.pageId, 'pageId'])), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as RawCodaPage + return { success: true, output: { page: mapPage(data) } } + }, + + outputs: { + page: { type: 'object', description: 'Page metadata', properties: PAGE_PROPERTIES }, + }, +} diff --git a/apps/sim/tools/coda/get_page_content.ts b/apps/sim/tools/coda/get_page_content.ts new file mode 100644 index 00000000000..686fe4cf034 --- /dev/null +++ b/apps/sim/tools/coda/get_page_content.ts @@ -0,0 +1,110 @@ +import type { + CodaGetPageContentParams, + CodaGetPageContentResponse, + CodaPageContentItem, +} from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + NEXT_PAGE_TOKEN_OUTPUT, + optionalTrimmed, + PAGE_ID_PARAM, + PAGE_TOKEN_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +interface RawPageContentItem { + id: string + type: string + itemContent?: { style?: string; format?: string; content?: string; lineLevel?: number } +} + +export const codaGetPageContentTool: ToolConfig< + CodaGetPageContentParams, + CodaGetPageContentResponse +> = { + id: 'coda_get_page_content', + name: 'Coda Get Page Content', + description: + 'Read the content of a Coda canvas page as plain-text lines with their styles (headings, paragraphs, lists, quotes, code) and element IDs', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + pageId: PAGE_ID_PARAM, + limit: { + type: 'number', + required: false, + visibility: 'user-or-llm', + description: 'Maximum number of content items to return (1-500, default 50)', + }, + pageToken: PAGE_TOKEN_PARAM, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'pages', [params.pageId, 'pageId'], 'content'), { + limit: params.limit, + pageToken: optionalTrimmed(params.pageToken), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { + items?: RawPageContentItem[] + nextPageToken?: string + } + const items: CodaPageContentItem[] = (data.items ?? []).map((item) => ({ + id: item.id, + type: item.type, + style: item.itemContent?.style ?? null, + format: item.itemContent?.format ?? null, + content: item.itemContent?.content ?? null, + lineLevel: item.itemContent?.lineLevel ?? null, + })) + return { success: true, output: { items, nextPageToken: data.nextPageToken || null } } + }, + + outputs: { + items: { + type: 'array', + description: 'Content elements on the page, in order', + items: { + type: 'object', + properties: { + id: { + type: 'string', + description: 'Element ID, usable with Update Page and Delete Page Content', + }, + type: { type: 'string', description: 'Element type (line)' }, + style: { + type: 'string', + description: + 'Line style (paragraph, h1, h2, h3, bulletedList, numberedList, checkboxList, collapsibleList, blockQuote, pullQuote, code)', + nullable: true, + }, + format: { type: 'string', description: 'Content format (plainText)', nullable: true }, + content: { type: 'string', description: 'Element text', nullable: true }, + lineLevel: { + type: 'number', + description: 'Indentation level for paragraphs, quotes, and list items', + nullable: true, + }, + }, + }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/get_page_export_status.ts b/apps/sim/tools/coda/get_page_export_status.ts new file mode 100644 index 00000000000..c218548e512 --- /dev/null +++ b/apps/sim/tools/coda/get_page_export_status.ts @@ -0,0 +1,90 @@ +import type { + CodaGetPageExportStatusParams, + CodaPageExportStatusResponse, +} from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + PAGE_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetPageExportStatusTool: ToolConfig< + CodaGetPageExportStatusParams, + CodaPageExportStatusResponse +> = { + id: 'coda_get_page_export_status', + name: 'Coda Get Page Export Status', + description: + 'Check a Coda page export and get its download link once complete. Download links expire shortly after they are issued.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + pageId: PAGE_ID_PARAM, + exportId: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'Export ID returned by Export Page', + }, + }, + + request: { + url: (params) => + buildCodaUrl( + codaDocPath(params.docId, 'pages', [params.pageId, 'pageId'], 'export', [ + params.exportId, + 'exportId', + ]) + ), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { + id: string + status: string + href: string + downloadLink?: string + error?: string + } + return { + success: true, + output: { + exportId: data.id, + status: data.status, + href: data.href, + downloadLink: data.downloadLink ?? null, + exportError: data.error ?? null, + }, + } + }, + + outputs: { + exportId: { type: 'string', description: 'ID of the export request' }, + status: { type: 'string', description: 'Export status (inProgress, failed, complete)' }, + href: { type: 'string', description: 'API link that reports the export status' }, + downloadLink: { + type: 'string', + description: 'Short-lived download link for the exported file, once complete', + nullable: true, + }, + exportError: { + type: 'string', + description: 'Error message if the export failed', + nullable: true, + }, + }, +} diff --git a/apps/sim/tools/coda/get_row.ts b/apps/sim/tools/coda/get_row.ts new file mode 100644 index 00000000000..750230327e0 --- /dev/null +++ b/apps/sim/tools/coda/get_row.ts @@ -0,0 +1,68 @@ +import type { CodaGetRowParams, CodaRowResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + mapRow, + type RawCodaRow, + ROW_ID_PARAM, + ROW_PROPERTIES, + TABLE_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetRowTool: ToolConfig = { + id: 'coda_get_row', + name: 'Coda Get Row', + description: 'Get a single row from a Coda table, including all of its cell values', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + tableId: TABLE_ID_PARAM, + rowId: ROW_ID_PARAM, + useColumnNames: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Key cell values by column name instead of column ID', + }, + valueFormat: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Cell value format: "simple" (default), "simpleWithArrays", or "rich"', + }, + }, + + request: { + url: (params) => + buildCodaUrl( + codaDocPath(params.docId, 'tables', [params.tableId, 'tableId'], 'rows', [ + params.rowId, + 'rowId', + ]), + { useColumnNames: params.useColumnNames, valueFormat: params.valueFormat } + ), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as RawCodaRow + return { success: true, output: { row: mapRow(data) } } + }, + + outputs: { + row: { type: 'object', description: 'Row details and values', properties: ROW_PROPERTIES }, + }, +} diff --git a/apps/sim/tools/coda/get_sharing_metadata.ts b/apps/sim/tools/coda/get_sharing_metadata.ts new file mode 100644 index 00000000000..f4722b22cf3 --- /dev/null +++ b/apps/sim/tools/coda/get_sharing_metadata.ts @@ -0,0 +1,57 @@ +import type { CodaDocParams, CodaSharingMetadataResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetSharingMetadataTool: ToolConfig = { + id: 'coda_get_sharing_metadata', + name: 'Coda Get Sharing Metadata', + description: + 'Check whether the connected user can share or copy a Coda doc, and whether they can share it with the workspace or organization', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, docId: DOC_ID_PARAM }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId, 'acl', 'metadata')), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as CodaSharingMetadataResponse['output'] + return { + success: true, + output: { + canShare: data.canShare, + canShareWithWorkspace: data.canShareWithWorkspace, + canShareWithOrg: data.canShareWithOrg, + canCopy: data.canCopy, + }, + } + }, + + outputs: { + canShare: { type: 'boolean', description: 'Whether the user can share the doc' }, + canShareWithWorkspace: { + type: 'boolean', + description: 'Whether the user can share the doc with the workspace', + }, + canShareWithOrg: { + type: 'boolean', + description: 'Whether the user can share the doc with the organization', + }, + canCopy: { type: 'boolean', description: 'Whether the user can copy the doc' }, + }, +} diff --git a/apps/sim/tools/coda/get_table.ts b/apps/sim/tools/coda/get_table.ts new file mode 100644 index 00000000000..82dbf132270 --- /dev/null +++ b/apps/sim/tools/coda/get_table.ts @@ -0,0 +1,58 @@ +import type { CodaGetTableParams, CodaTableResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + mapTable, + type RawCodaTable, + TABLE_ID_PARAM, + TABLE_PROPERTIES, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaGetTableTool: ToolConfig = { + id: 'coda_get_table', + name: 'Coda Get Table', + description: + 'Get details about a table or view in a Coda doc, including its row count, sorts, layout, and filter', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + tableId: TABLE_ID_PARAM, + useUpdatedTableLayouts: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: + 'Report detail and form layouts as "detail" and "form" instead of "masterDetail" for both', + }, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'tables', [params.tableId, 'tableId']), { + useUpdatedTableLayouts: params.useUpdatedTableLayouts, + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as RawCodaTable + return { success: true, output: { table: mapTable(data) } } + }, + + outputs: { + table: { type: 'object', description: 'Table details', properties: TABLE_PROPERTIES }, + }, +} diff --git a/apps/sim/tools/coda/index.ts b/apps/sim/tools/coda/index.ts new file mode 100644 index 00000000000..585386d8954 --- /dev/null +++ b/apps/sim/tools/coda/index.ts @@ -0,0 +1,125 @@ +import { codaAddCustomDomainTool } from '@/tools/coda/add_custom_domain' +import { codaAddPermissionTool } from '@/tools/coda/add_permission' +import { codaChangeUserRoleTool } from '@/tools/coda/change_user_role' +import { codaCreateDocTool } from '@/tools/coda/create_doc' +import { codaCreateFolderTool } from '@/tools/coda/create_folder' +import { codaCreatePageTool } from '@/tools/coda/create_page' +import { codaDeleteCustomDomainTool } from '@/tools/coda/delete_custom_domain' +import { codaDeleteDocTool } from '@/tools/coda/delete_doc' +import { codaDeleteFolderTool } from '@/tools/coda/delete_folder' +import { codaDeletePageTool } from '@/tools/coda/delete_page' +import { codaDeletePageContentTool } from '@/tools/coda/delete_page_content' +import { codaDeletePermissionTool } from '@/tools/coda/delete_permission' +import { codaDeleteRowTool } from '@/tools/coda/delete_row' +import { codaDeleteRowsTool } from '@/tools/coda/delete_rows' +import { codaExportPageTool } from '@/tools/coda/export_page' +import { codaGetAclSettingsTool } from '@/tools/coda/get_acl_settings' +import { codaGetAnalyticsLastUpdatedTool } from '@/tools/coda/get_analytics_last_updated' +import { codaGetColumnTool } from '@/tools/coda/get_column' +import { codaGetControlTool } from '@/tools/coda/get_control' +import { codaGetCustomDomainProviderTool } from '@/tools/coda/get_custom_domain_provider' +import { codaGetDocTool } from '@/tools/coda/get_doc' +import { codaGetDocAnalyticsSummaryTool } from '@/tools/coda/get_doc_analytics_summary' +import { codaGetFolderTool } from '@/tools/coda/get_folder' +import { codaGetFormulaTool } from '@/tools/coda/get_formula' +import { codaGetMutationStatusTool } from '@/tools/coda/get_mutation_status' +import { codaGetPageTool } from '@/tools/coda/get_page' +import { codaGetPageContentTool } from '@/tools/coda/get_page_content' +import { codaGetPageExportStatusTool } from '@/tools/coda/get_page_export_status' +import { codaGetRowTool } from '@/tools/coda/get_row' +import { codaGetSharingMetadataTool } from '@/tools/coda/get_sharing_metadata' +import { codaGetTableTool } from '@/tools/coda/get_table' +import { codaListCategoriesTool } from '@/tools/coda/list_categories' +import { codaListColumnsTool } from '@/tools/coda/list_columns' +import { codaListControlsTool } from '@/tools/coda/list_controls' +import { codaListCustomDomainsTool } from '@/tools/coda/list_custom_domains' +import { codaListDocAnalyticsTool } from '@/tools/coda/list_doc_analytics' +import { codaListDocsTool } from '@/tools/coda/list_docs' +import { codaListFolderChildrenTool } from '@/tools/coda/list_folder_children' +import { codaListFoldersTool } from '@/tools/coda/list_folders' +import { codaListFormulasTool } from '@/tools/coda/list_formulas' +import { codaListPageAnalyticsTool } from '@/tools/coda/list_page_analytics' +import { codaListPagesTool } from '@/tools/coda/list_pages' +import { codaListPermissionsTool } from '@/tools/coda/list_permissions' +import { codaListRowsTool } from '@/tools/coda/list_rows' +import { codaListTablesTool } from '@/tools/coda/list_tables' +import { codaListWorkspaceMembersTool } from '@/tools/coda/list_workspace_members' +import { codaListWorkspaceRolesTool } from '@/tools/coda/list_workspace_roles' +import { codaPublishDocTool } from '@/tools/coda/publish_doc' +import { codaPushButtonTool } from '@/tools/coda/push_button' +import { codaResolveBrowserLinkTool } from '@/tools/coda/resolve_browser_link' +import { codaSearchPrincipalsTool } from '@/tools/coda/search_principals' +import { codaTriggerAutomationTool } from '@/tools/coda/trigger_automation' +import { codaUnpublishDocTool } from '@/tools/coda/unpublish_doc' +import { codaUpdateAclSettingsTool } from '@/tools/coda/update_acl_settings' +import { codaUpdateDocTool } from '@/tools/coda/update_doc' +import { codaUpdateFolderTool } from '@/tools/coda/update_folder' +import { codaUpdatePageTool } from '@/tools/coda/update_page' +import { codaUpdateRowTool } from '@/tools/coda/update_row' +import { codaUpsertRowsTool } from '@/tools/coda/upsert_rows' +import { codaWhoamiTool } from '@/tools/coda/whoami' + +export { + codaAddCustomDomainTool, + codaAddPermissionTool, + codaChangeUserRoleTool, + codaCreateDocTool, + codaCreateFolderTool, + codaCreatePageTool, + codaDeleteCustomDomainTool, + codaDeleteDocTool, + codaDeleteFolderTool, + codaDeletePageContentTool, + codaDeletePageTool, + codaDeletePermissionTool, + codaDeleteRowTool, + codaDeleteRowsTool, + codaExportPageTool, + codaGetAclSettingsTool, + codaGetAnalyticsLastUpdatedTool, + codaGetColumnTool, + codaGetControlTool, + codaGetCustomDomainProviderTool, + codaGetDocAnalyticsSummaryTool, + codaGetDocTool, + codaGetFolderTool, + codaGetFormulaTool, + codaGetMutationStatusTool, + codaGetPageContentTool, + codaGetPageExportStatusTool, + codaGetPageTool, + codaGetRowTool, + codaGetSharingMetadataTool, + codaGetTableTool, + codaListCategoriesTool, + codaListColumnsTool, + codaListControlsTool, + codaListCustomDomainsTool, + codaListDocAnalyticsTool, + codaListDocsTool, + codaListFolderChildrenTool, + codaListFoldersTool, + codaListFormulasTool, + codaListPageAnalyticsTool, + codaListPagesTool, + codaListPermissionsTool, + codaListRowsTool, + codaListTablesTool, + codaListWorkspaceMembersTool, + codaListWorkspaceRolesTool, + codaPublishDocTool, + codaPushButtonTool, + codaResolveBrowserLinkTool, + codaSearchPrincipalsTool, + codaTriggerAutomationTool, + codaUnpublishDocTool, + codaUpdateAclSettingsTool, + codaUpdateDocTool, + codaUpdateFolderTool, + codaUpdatePageTool, + codaUpdateRowTool, + codaUpsertRowsTool, + codaWhoamiTool, +} + +export * from './types' diff --git a/apps/sim/tools/coda/list_categories.ts b/apps/sim/tools/coda/list_categories.ts new file mode 100644 index 00000000000..21d1cd8e960 --- /dev/null +++ b/apps/sim/tools/coda/list_categories.ts @@ -0,0 +1,48 @@ +import type { CodaAuthParams, CodaListCategoriesResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaListCategoriesTool: ToolConfig = { + id: 'coda_list_categories', + name: 'Coda List Doc Categories', + description: 'List the categories that can be applied to a published Coda doc', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams }, + + request: { + url: () => buildCodaUrl('/categories'), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { items?: Array<{ name?: string }> } + return { + success: true, + output: { + categories: (data.items ?? []) + .map((category) => category.name) + .filter((name): name is string => typeof name === 'string'), + }, + } + }, + + outputs: { + categories: { + type: 'array', + description: 'Category names usable when publishing a doc', + items: { type: 'string', description: 'Category name' }, + }, + }, +} diff --git a/apps/sim/tools/coda/list_columns.ts b/apps/sim/tools/coda/list_columns.ts new file mode 100644 index 00000000000..8ab4f5d4a94 --- /dev/null +++ b/apps/sim/tools/coda/list_columns.ts @@ -0,0 +1,80 @@ +import type { CodaListColumnsParams, CodaListColumnsResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + COLUMN_PROPERTIES, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + mapColumn, + NEXT_PAGE_TOKEN_OUTPUT, + optionalTrimmed, + PAGE_TOKEN_PARAM, + type RawCodaColumn, + TABLE_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaListColumnsTool: ToolConfig = { + id: 'coda_list_columns', + name: 'Coda List Columns', + description: + 'List the columns of a Coda table with their IDs, formats, and formulas. Use column IDs when reading and writing rows.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + tableId: TABLE_ID_PARAM, + visibleOnly: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Only return visible columns (applies to base tables, not views)', + }, + limit: { + type: 'number', + required: false, + visibility: 'user-or-llm', + description: 'Maximum number of columns to return (1-100, default 25)', + }, + pageToken: PAGE_TOKEN_PARAM, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'tables', [params.tableId, 'tableId'], 'columns'), { + visibleOnly: params.visibleOnly, + limit: params.limit, + pageToken: optionalTrimmed(params.pageToken), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { items?: RawCodaColumn[]; nextPageToken?: string } + return { + success: true, + output: { + columns: (data.items ?? []).map(mapColumn), + nextPageToken: data.nextPageToken || null, + }, + } + }, + + outputs: { + columns: { + type: 'array', + description: 'Columns in the table', + items: { type: 'object', properties: COLUMN_PROPERTIES }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/list_controls.ts b/apps/sim/tools/coda/list_controls.ts new file mode 100644 index 00000000000..7daa3d63410 --- /dev/null +++ b/apps/sim/tools/coda/list_controls.ts @@ -0,0 +1,73 @@ +import type { CodaListControlsResponse, CodaListDocItemsParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + LIMIT_PARAM, + mapNamedReference, + NAMED_REFERENCE_PROPERTIES, + NEXT_PAGE_TOKEN_OUTPUT, + optionalTrimmed, + PAGE_TOKEN_PARAM, + type RawCodaNamedReference, + SORT_BY_NAME_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaListControlsTool: ToolConfig = { + id: 'coda_list_controls', + name: 'Coda List Controls', + description: + 'List the controls (sliders, selects, checkboxes, date pickers, buttons, etc.) in a Coda doc', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + sortBy: SORT_BY_NAME_PARAM, + limit: LIMIT_PARAM, + pageToken: PAGE_TOKEN_PARAM, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'controls'), { + sortBy: params.sortBy, + limit: params.limit, + pageToken: optionalTrimmed(params.pageToken), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { + items?: RawCodaNamedReference[] + nextPageToken?: string + } + return { + success: true, + output: { + controls: (data.items ?? []).map(mapNamedReference), + nextPageToken: data.nextPageToken || null, + }, + } + }, + + outputs: { + controls: { + type: 'array', + description: 'Controls in the doc', + items: { type: 'object', properties: NAMED_REFERENCE_PROPERTIES }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/list_custom_domains.ts b/apps/sim/tools/coda/list_custom_domains.ts new file mode 100644 index 00000000000..8ddb09ed44e --- /dev/null +++ b/apps/sim/tools/coda/list_custom_domains.ts @@ -0,0 +1,86 @@ +import type { + CodaCustomDomain, + CodaDocParams, + CodaListCustomDomainsResponse, +} from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + NEXT_PAGE_TOKEN_OUTPUT, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +type RawCustomDomain = Omit & { + lastVerifiedTimestamp?: string +} + +export const codaListCustomDomainsTool: ToolConfig = { + id: 'coda_list_custom_domains', + name: 'Coda List Custom Domains', + description: 'List the custom domains connected to a published Coda doc and their setup status', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, docId: DOC_ID_PARAM }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId, 'domains')), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { + customDocDomains?: RawCustomDomain[] + nextPageToken?: string + } + return { + success: true, + output: { + customDomains: (data.customDocDomains ?? []).map((domain) => ({ + customDocDomain: domain.customDocDomain, + hasCertificate: domain.hasCertificate, + hasDnsDocId: domain.hasDnsDocId, + setupStatus: domain.setupStatus, + domainStatus: domain.domainStatus, + lastVerifiedTimestamp: domain.lastVerifiedTimestamp ?? null, + })), + nextPageToken: data.nextPageToken || null, + }, + } + }, + + outputs: { + customDomains: { + type: 'array', + description: 'Custom domains for the published doc', + items: { + type: 'object', + properties: { + customDocDomain: { type: 'string', description: 'The custom domain' }, + hasCertificate: { type: 'boolean', description: 'Whether the domain has a certificate' }, + hasDnsDocId: { + type: 'boolean', + description: 'Whether the domain DNS points back to this doc', + }, + setupStatus: { type: 'string', description: 'Setup status (pending, succeeded, failed)' }, + domainStatus: { type: 'string', description: 'connected or notConnected' }, + lastVerifiedTimestamp: { + type: 'string', + description: 'When the DNS settings were last checked', + nullable: true, + }, + }, + }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/list_doc_analytics.ts b/apps/sim/tools/coda/list_doc_analytics.ts new file mode 100644 index 00000000000..12ca60f6dd9 --- /dev/null +++ b/apps/sim/tools/coda/list_doc_analytics.ts @@ -0,0 +1,275 @@ +import type { + CodaDocAnalyticsItem, + CodaListDocAnalyticsParams, + CodaListDocAnalyticsResponse, +} from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + ICON_PROPERTIES, + joinListParam, + NEXT_PAGE_TOKEN_OUTPUT, + optionalTrimmed, + PAGE_TOKEN_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +const DOC_METRIC_KEYS = [ + 'views', + 'copies', + 'likes', + 'sessionsMobile', + 'sessionsDesktop', + 'sessionsOther', + 'totalSessions', + 'aiCreditsChat', + 'aiCreditsBlock', + 'aiCreditsColumn', + 'aiCreditsAssistant', + 'aiCreditsReviewer', + 'aiCredits', +] as const + +interface RawDocAnalyticsItem { + doc: { + id: string + title: string + href: string + browserLink: string + icon?: { name?: string; type?: string; browserLink?: string } + createdAt?: string + publishedAt?: string + } + metrics?: Array & { date?: string }> +} + +function toNumberOrNull(value: unknown): number | null { + return typeof value === 'number' ? value : null +} + +export const codaListDocAnalyticsTool: ToolConfig< + CodaListDocAnalyticsParams, + CodaListDocAnalyticsResponse +> = { + id: 'coda_list_doc_analytics', + name: 'Coda List Doc Analytics', + description: + 'Get per-day or cumulative analytics (views, copies, likes, sessions by device, AI credits) for Coda docs', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docIds: { + type: 'json', + required: false, + visibility: 'user-or-llm', + description: 'Doc IDs to fetch analytics for, as an array or comma-separated list', + }, + workspaceId: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Only include docs in this workspace', + }, + query: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Search term used to filter docs', + }, + isPublished: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Only include published docs', + }, + sinceDate: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Only include activity on or after this date (YYYY-MM-DD)', + }, + untilDate: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Only include activity on or before this date (YYYY-MM-DD)', + }, + scale: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Aggregation: "daily" (default) or "cumulative"', + }, + orderBy: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: + 'Sort field: date, docId, title, createdAt, publishedAt, likes, copies, views, sessionsDesktop, sessionsMobile, sessionsOther, totalSessions, or an aiCredits field', + }, + direction: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Sort direction: "ascending" or "descending"', + }, + limit: { + type: 'number', + required: false, + visibility: 'user-or-llm', + description: 'Maximum number of results to return (1-5000, default 1000)', + }, + pageToken: PAGE_TOKEN_PARAM, + }, + + request: { + url: (params) => + buildCodaUrl('/analytics/docs', { + docIds: joinListParam(params.docIds, 'docIds'), + workspaceId: optionalTrimmed(params.workspaceId), + query: optionalTrimmed(params.query), + isPublished: params.isPublished, + sinceDate: optionalTrimmed(params.sinceDate), + untilDate: optionalTrimmed(params.untilDate), + scale: params.scale, + orderBy: params.orderBy, + direction: params.direction, + limit: params.limit, + pageToken: optionalTrimmed(params.pageToken), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { + items?: RawDocAnalyticsItem[] + nextPageToken?: string + } + const items: CodaDocAnalyticsItem[] = (data.items ?? []).map((item) => ({ + doc: { + id: item.doc.id, + title: item.doc.title, + href: item.doc.href, + browserLink: item.doc.browserLink, + icon: item.doc.icon + ? { + name: item.doc.icon.name ?? null, + type: item.doc.icon.type ?? null, + browserLink: item.doc.icon.browserLink ?? null, + } + : null, + createdAt: item.doc.createdAt ?? null, + publishedAt: item.doc.publishedAt ?? null, + }, + metrics: (item.metrics ?? []).map((metric) => { + const projected: Record = { date: metric.date ?? null } + for (const key of DOC_METRIC_KEYS) projected[key] = toNumberOrNull(metric[key]) + return projected + }), + })) + return { success: true, output: { items, nextPageToken: data.nextPageToken || null } } + }, + + outputs: { + items: { + type: 'array', + description: 'Analytics per doc', + items: { + type: 'object', + properties: { + doc: { + type: 'object', + description: 'Doc the metrics belong to', + properties: { + id: { type: 'string', description: 'Doc ID' }, + title: { type: 'string', description: 'Doc title' }, + href: { type: 'string', description: 'API link to the doc' }, + browserLink: { type: 'string', description: 'Browser link to the doc' }, + icon: { + type: 'object', + description: 'Doc icon', + nullable: true, + properties: ICON_PROPERTIES, + }, + createdAt: { type: 'string', description: 'Doc creation time', nullable: true }, + publishedAt: { type: 'string', description: 'Doc publish time', nullable: true }, + }, + }, + metrics: { + type: 'array', + description: 'Metrics per date', + items: { + type: 'object', + properties: { + date: { + type: 'string', + description: 'Date of the data (YYYY-MM-DD)', + nullable: true, + }, + views: { type: 'number', description: 'Doc views', nullable: true }, + copies: { type: 'number', description: 'Doc copies', nullable: true }, + likes: { type: 'number', description: 'Doc likes', nullable: true }, + sessionsMobile: { + type: 'number', + description: 'Unique mobile visitors', + nullable: true, + }, + sessionsDesktop: { + type: 'number', + description: 'Unique desktop visitors', + nullable: true, + }, + sessionsOther: { + type: 'number', + description: 'Unique visitors on other devices', + nullable: true, + }, + totalSessions: { + type: 'number', + description: 'Sessions across all devices', + nullable: true, + }, + aiCreditsChat: { + type: 'number', + description: 'AI credits used by chat', + nullable: true, + }, + aiCreditsBlock: { + type: 'number', + description: 'AI credits used by AI blocks', + nullable: true, + }, + aiCreditsColumn: { + type: 'number', + description: 'AI credits used by AI columns', + nullable: true, + }, + aiCreditsAssistant: { + type: 'number', + description: 'AI credits used by the assistant', + nullable: true, + }, + aiCreditsReviewer: { + type: 'number', + description: 'AI credits used by the reviewer', + nullable: true, + }, + aiCredits: { type: 'number', description: 'Total AI credits used', nullable: true }, + }, + }, + }, + }, + }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/list_docs.ts b/apps/sim/tools/coda/list_docs.ts new file mode 100644 index 00000000000..d6c98143381 --- /dev/null +++ b/apps/sim/tools/coda/list_docs.ts @@ -0,0 +1,120 @@ +import type { CodaListDocsParams, CodaListDocsResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + DOC_PROPERTIES, + LIMIT_PARAM, + mapDoc, + NEXT_PAGE_TOKEN_OUTPUT, + optionalTrimmed, + PAGE_TOKEN_PARAM, + type RawCodaDoc, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaListDocsTool: ToolConfig = { + id: 'coda_list_docs', + name: 'Coda List Docs', + description: + 'List Coda docs the user has opened, most recently used first, filtered by search, owner, publishing, stars, workspace, folder, or source doc', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + query: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Search term used to filter docs', + }, + isOwner: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Only return docs owned by the user', + }, + isPublished: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Only return published docs', + }, + isStarred: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'true returns only starred docs; false returns only unstarred docs', + }, + inGallery: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Only return docs visible in the gallery', + }, + sourceDoc: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Only return docs copied from this doc ID', + }, + workspaceId: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Only return docs in this workspace (e.g., "ws-1Ab234")', + }, + folderId: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Only return docs in this folder (e.g., "fl-1Ab234")', + }, + limit: LIMIT_PARAM, + pageToken: PAGE_TOKEN_PARAM, + }, + + request: { + url: (params) => + buildCodaUrl('/docs', { + query: optionalTrimmed(params.query), + isOwner: params.isOwner, + isPublished: params.isPublished, + isStarred: params.isStarred, + inGallery: params.inGallery, + sourceDoc: optionalTrimmed(params.sourceDoc), + workspaceId: optionalTrimmed(params.workspaceId), + folderId: optionalTrimmed(params.folderId), + limit: params.limit, + pageToken: optionalTrimmed(params.pageToken), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { items?: RawCodaDoc[]; nextPageToken?: string } + return { + success: true, + output: { + docs: (data.items ?? []).map(mapDoc), + nextPageToken: data.nextPageToken || null, + }, + } + }, + + outputs: { + docs: { + type: 'array', + description: 'Docs matching the filters', + items: { type: 'object', properties: DOC_PROPERTIES }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/list_folder_children.ts b/apps/sim/tools/coda/list_folder_children.ts new file mode 100644 index 00000000000..484e67be709 --- /dev/null +++ b/apps/sim/tools/coda/list_folder_children.ts @@ -0,0 +1,86 @@ +import type { + CodaListFolderChildrenParams, + CodaListFolderChildrenResponse, +} from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + codaPath, + FOLDER_CHILD_PROPERTIES, + FOLDER_ID_PARAM, + LIMIT_PARAM, + mapFolder, + NEXT_PAGE_TOKEN_OUTPUT, + optionalTrimmed, + PAGE_TOKEN_PARAM, + type RawCodaFolder, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaListFolderChildrenTool: ToolConfig< + CodaListFolderChildrenParams, + CodaListFolderChildrenResponse +> = { + id: 'coda_list_folder_children', + name: 'Coda List Subfolders', + description: + 'List the direct subfolders of a Coda folder. Subfolders you cannot access but manage the parent of are returned with only an ID and restricted visibility.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + folderId: FOLDER_ID_PARAM, + limit: LIMIT_PARAM, + pageToken: PAGE_TOKEN_PARAM, + }, + + request: { + url: (params) => + buildCodaUrl(codaPath('folders', [params.folderId, 'folderId'], 'children'), { + limit: params.limit, + pageToken: optionalTrimmed(params.pageToken), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { items?: RawCodaFolder[]; nextPageToken?: string } + return { + success: true, + output: { + children: (data.items ?? []).map((folder) => { + const { icon: _icon, ...child } = mapFolder(folder) + return { ...child, visibility: folder.visibility ?? 'visible' } + }), + nextPageToken: data.nextPageToken || null, + }, + } + }, + + outputs: { + children: { + type: 'array', + description: 'Direct subfolders', + items: { + type: 'object', + properties: { + ...FOLDER_CHILD_PROPERTIES, + visibility: { + type: 'string', + description: + 'visible, or restricted when only the ID is returned because you cannot access the subfolder', + }, + }, + }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/list_folders.ts b/apps/sim/tools/coda/list_folders.ts new file mode 100644 index 00000000000..9e42fa5ae17 --- /dev/null +++ b/apps/sim/tools/coda/list_folders.ts @@ -0,0 +1,77 @@ +import type { CodaListFoldersParams, CodaListFoldersResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + FOLDER_PROPERTIES, + LIMIT_PARAM, + mapFolder, + NEXT_PAGE_TOKEN_OUTPUT, + optionalTrimmed, + PAGE_TOKEN_PARAM, + type RawCodaFolder, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaListFoldersTool: ToolConfig = { + id: 'coda_list_folders', + name: 'Coda List Folders', + description: 'List the Coda folders the user can access, optionally within one workspace', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + workspaceId: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Only return folders in this workspace (e.g., "ws-1Ab234")', + }, + isStarred: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'true returns only starred folders; false returns only unstarred folders', + }, + limit: LIMIT_PARAM, + pageToken: PAGE_TOKEN_PARAM, + }, + + request: { + url: (params) => + buildCodaUrl('/folders', { + workspaceId: optionalTrimmed(params.workspaceId), + isStarred: params.isStarred, + limit: params.limit, + pageToken: optionalTrimmed(params.pageToken), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { items?: RawCodaFolder[]; nextPageToken?: string } + return { + success: true, + output: { + folders: (data.items ?? []).map(mapFolder), + nextPageToken: data.nextPageToken || null, + }, + } + }, + + outputs: { + folders: { + type: 'array', + description: 'Folders the user can access', + items: { type: 'object', properties: FOLDER_PROPERTIES }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/list_formulas.ts b/apps/sim/tools/coda/list_formulas.ts new file mode 100644 index 00000000000..b63a4c27d86 --- /dev/null +++ b/apps/sim/tools/coda/list_formulas.ts @@ -0,0 +1,72 @@ +import type { CodaListDocItemsParams, CodaListFormulasResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + LIMIT_PARAM, + mapNamedReference, + NAMED_REFERENCE_PROPERTIES, + NEXT_PAGE_TOKEN_OUTPUT, + optionalTrimmed, + PAGE_TOKEN_PARAM, + type RawCodaNamedReference, + SORT_BY_NAME_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaListFormulasTool: ToolConfig = { + id: 'coda_list_formulas', + name: 'Coda List Formulas', + description: 'List the named formulas in a Coda doc', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + sortBy: SORT_BY_NAME_PARAM, + limit: LIMIT_PARAM, + pageToken: PAGE_TOKEN_PARAM, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'formulas'), { + sortBy: params.sortBy, + limit: params.limit, + pageToken: optionalTrimmed(params.pageToken), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { + items?: RawCodaNamedReference[] + nextPageToken?: string + } + return { + success: true, + output: { + formulas: (data.items ?? []).map(mapNamedReference), + nextPageToken: data.nextPageToken || null, + }, + } + }, + + outputs: { + formulas: { + type: 'array', + description: 'Named formulas in the doc', + items: { type: 'object', properties: NAMED_REFERENCE_PROPERTIES }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/list_page_analytics.ts b/apps/sim/tools/coda/list_page_analytics.ts new file mode 100644 index 00000000000..d517df97f19 --- /dev/null +++ b/apps/sim/tools/coda/list_page_analytics.ts @@ -0,0 +1,179 @@ +import type { + CodaListPageAnalyticsParams, + CodaListPageAnalyticsResponse, + CodaPageAnalyticsItem, +} from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + codaPath, + DOC_ID_PARAM, + ICON_PROPERTIES, + NEXT_PAGE_TOKEN_OUTPUT, + optionalTrimmed, + PAGE_TOKEN_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +const PAGE_METRIC_KEYS = [ + 'views', + 'sessions', + 'users', + 'averageSecondsViewed', + 'medianSecondsViewed', + 'tabs', +] as const + +interface RawPageAnalyticsItem { + page: { id: string; name: string; icon?: { name?: string; type?: string; browserLink?: string } } + metrics?: Array & { date?: string }> +} + +export const codaListPageAnalyticsTool: ToolConfig< + CodaListPageAnalyticsParams, + CodaListPageAnalyticsResponse +> = { + id: 'coda_list_page_analytics', + name: 'Coda List Page Analytics', + description: + 'Get daily analytics (views, sessions, users, time viewed) for each page of a Coda doc. Only available for docs in Enterprise workspaces.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + sinceDate: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Only include activity on or after this date (YYYY-MM-DD)', + }, + untilDate: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Only include activity on or before this date (YYYY-MM-DD)', + }, + limit: { + type: 'number', + required: false, + visibility: 'user-or-llm', + description: 'Maximum number of results to return (1-5000, default 1000)', + }, + pageToken: PAGE_TOKEN_PARAM, + }, + + request: { + url: (params) => + buildCodaUrl(codaPath('analytics', 'docs', [params.docId, 'docId'], 'pages'), { + sinceDate: optionalTrimmed(params.sinceDate), + untilDate: optionalTrimmed(params.untilDate), + limit: params.limit, + pageToken: optionalTrimmed(params.pageToken), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { + items?: RawPageAnalyticsItem[] + nextPageToken?: string + } + const items: CodaPageAnalyticsItem[] = (data.items ?? []).map((item) => ({ + page: { + id: item.page.id, + name: item.page.name, + icon: item.page.icon + ? { + name: item.page.icon.name ?? null, + type: item.page.icon.type ?? null, + browserLink: item.page.icon.browserLink ?? null, + } + : null, + }, + metrics: (item.metrics ?? []).map((metric) => { + const projected: Record = { date: metric.date ?? null } + for (const key of PAGE_METRIC_KEYS) { + projected[key] = typeof metric[key] === 'number' ? (metric[key] as number) : null + } + return projected + }), + })) + return { success: true, output: { items, nextPageToken: data.nextPageToken || null } } + }, + + outputs: { + items: { + type: 'array', + description: 'Analytics per page', + items: { + type: 'object', + properties: { + page: { + type: 'object', + description: 'Page the metrics belong to', + properties: { + id: { type: 'string', description: 'Page ID' }, + name: { type: 'string', description: 'Page name' }, + icon: { + type: 'object', + description: 'Page icon', + nullable: true, + properties: ICON_PROPERTIES, + }, + }, + }, + metrics: { + type: 'array', + description: 'Metrics per date', + items: { + type: 'object', + properties: { + date: { + type: 'string', + description: 'Date of the data (YYYY-MM-DD)', + nullable: true, + }, + views: { type: 'number', description: 'Page views that day', nullable: true }, + sessions: { + type: 'number', + description: 'Unique browsers that viewed the page', + nullable: true, + }, + users: { + type: 'number', + description: 'Unique Coda users that viewed the page', + nullable: true, + }, + averageSecondsViewed: { + type: 'number', + description: 'Average seconds the page was viewed', + nullable: true, + }, + medianSecondsViewed: { + type: 'number', + description: 'Median seconds the page was viewed', + nullable: true, + }, + tabs: { + type: 'number', + description: 'Unique tabs that opened the doc', + nullable: true, + }, + }, + }, + }, + }, + }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/list_pages.ts b/apps/sim/tools/coda/list_pages.ts new file mode 100644 index 00000000000..0e439b93645 --- /dev/null +++ b/apps/sim/tools/coda/list_pages.ts @@ -0,0 +1,66 @@ +import type { CodaListPagesParams, CodaListPagesResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + LIMIT_PARAM, + mapPage, + NEXT_PAGE_TOKEN_OUTPUT, + optionalTrimmed, + PAGE_PROPERTIES, + PAGE_TOKEN_PARAM, + type RawCodaPage, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaListPagesTool: ToolConfig = { + id: 'coda_list_pages', + name: 'Coda List Pages', + description: 'List the pages in a Coda doc, including their hierarchy', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + limit: LIMIT_PARAM, + pageToken: PAGE_TOKEN_PARAM, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'pages'), { + limit: params.limit, + pageToken: optionalTrimmed(params.pageToken), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { items?: RawCodaPage[]; nextPageToken?: string } + return { + success: true, + output: { + pages: (data.items ?? []).map(mapPage), + nextPageToken: data.nextPageToken || null, + }, + } + }, + + outputs: { + pages: { + type: 'array', + description: 'Pages in the doc', + items: { type: 'object', properties: PAGE_PROPERTIES }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/list_permissions.ts b/apps/sim/tools/coda/list_permissions.ts new file mode 100644 index 00000000000..8329573c7b3 --- /dev/null +++ b/apps/sim/tools/coda/list_permissions.ts @@ -0,0 +1,72 @@ +import type { CodaListPermissionsParams, CodaListPermissionsResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + LIMIT_PARAM, + mapPermission, + NEXT_PAGE_TOKEN_OUTPUT, + optionalTrimmed, + PAGE_TOKEN_PARAM, + PERMISSION_PROPERTIES, + type RawCodaPermission, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaListPermissionsTool: ToolConfig< + CodaListPermissionsParams, + CodaListPermissionsResponse +> = { + id: 'coda_list_permissions', + name: 'Coda List Permissions', + description: 'List who a Coda doc is shared with and their access levels', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + limit: LIMIT_PARAM, + pageToken: PAGE_TOKEN_PARAM, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'acl', 'permissions'), { + limit: params.limit, + pageToken: optionalTrimmed(params.pageToken), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { + items?: RawCodaPermission[] + nextPageToken?: string + } + return { + success: true, + output: { + permissions: (data.items ?? []).map(mapPermission), + nextPageToken: data.nextPageToken || null, + }, + } + }, + + outputs: { + permissions: { + type: 'array', + description: 'Permissions granted on the doc', + items: { type: 'object', properties: PERMISSION_PROPERTIES }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/list_rows.ts b/apps/sim/tools/coda/list_rows.ts new file mode 100644 index 00000000000..4d6f978b494 --- /dev/null +++ b/apps/sim/tools/coda/list_rows.ts @@ -0,0 +1,123 @@ +import type { CodaListRowsParams, CodaListRowsResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + LIMIT_PARAM, + mapRow, + NEXT_PAGE_TOKEN_OUTPUT, + optionalTrimmed, + PAGE_TOKEN_PARAM, + type RawCodaRow, + ROW_PROPERTIES, + TABLE_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaListRowsTool: ToolConfig = { + id: 'coda_list_rows', + name: 'Coda List Rows', + description: + 'List rows in a Coda table or view, optionally filtered by a column value, sorted, or limited to rows changed since a sync token', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + tableId: TABLE_ID_PARAM, + query: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: + 'Filter as :. Quote column names and string values, e.g., c-tuVwxYz:"Apple" or "Status":"Done"', + }, + sortBy: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: + 'Sort order: "createdAt" (default), "updatedAt", or "natural" (view order; implies visibleOnly)', + }, + useColumnNames: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Key cell values by column name instead of column ID', + }, + valueFormat: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Cell value format: "simple" (default), "simpleWithArrays", or "rich"', + }, + visibleOnly: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Only return visible rows and columns', + }, + syncToken: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'nextSyncToken from a previous call, to return only rows changed since then', + }, + limit: LIMIT_PARAM, + pageToken: PAGE_TOKEN_PARAM, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'tables', [params.tableId, 'tableId'], 'rows'), { + query: optionalTrimmed(params.query), + sortBy: params.sortBy, + useColumnNames: params.useColumnNames, + valueFormat: params.valueFormat, + visibleOnly: params.visibleOnly, + syncToken: optionalTrimmed(params.syncToken), + limit: params.limit, + pageToken: optionalTrimmed(params.pageToken), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { + items?: RawCodaRow[] + nextPageToken?: string + nextSyncToken?: string + } + return { + success: true, + output: { + rows: (data.items ?? []).map(mapRow), + nextPageToken: data.nextPageToken || null, + nextSyncToken: data.nextSyncToken ?? null, + }, + } + }, + + outputs: { + rows: { + type: 'array', + description: 'Rows in the table', + items: { type: 'object', properties: ROW_PROPERTIES }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + nextSyncToken: { + type: 'string', + description: 'Token to pass as syncToken later to fetch only rows changed after this call', + nullable: true, + }, + }, +} diff --git a/apps/sim/tools/coda/list_tables.ts b/apps/sim/tools/coda/list_tables.ts new file mode 100644 index 00000000000..6597124bd97 --- /dev/null +++ b/apps/sim/tools/coda/list_tables.ts @@ -0,0 +1,81 @@ +import type { CodaListTablesParams, CodaListTablesResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + joinListParam, + LIMIT_PARAM, + mapTableReference, + NEXT_PAGE_TOKEN_OUTPUT, + optionalTrimmed, + PAGE_TOKEN_PARAM, + type RawCodaTableReference, + SORT_BY_NAME_PARAM, + TABLE_REFERENCE_PROPERTIES, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaListTablesTool: ToolConfig = { + id: 'coda_list_tables', + name: 'Coda List Tables', + description: 'List the tables and views in a Coda doc', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + tableTypes: { + type: 'json', + required: false, + visibility: 'user-or-llm', + description: + 'Table types to include, as an array or comma-separated list of "table", "view", "database" (defaults to all)', + }, + sortBy: SORT_BY_NAME_PARAM, + limit: LIMIT_PARAM, + pageToken: PAGE_TOKEN_PARAM, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'tables'), { + tableTypes: joinListParam(params.tableTypes, 'tableTypes'), + sortBy: params.sortBy, + limit: params.limit, + pageToken: optionalTrimmed(params.pageToken), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { + items?: RawCodaTableReference[] + nextPageToken?: string + } + return { + success: true, + output: { + tables: (data.items ?? []).map(mapTableReference), + nextPageToken: data.nextPageToken || null, + }, + } + }, + + outputs: { + tables: { + type: 'array', + description: 'Tables and views in the doc', + items: { type: 'object', properties: TABLE_REFERENCE_PROPERTIES }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/list_workspace_members.ts b/apps/sim/tools/coda/list_workspace_members.ts new file mode 100644 index 00000000000..8b7d8eb9468 --- /dev/null +++ b/apps/sim/tools/coda/list_workspace_members.ts @@ -0,0 +1,150 @@ +import type { + CodaListWorkspaceMembersParams, + CodaListWorkspaceMembersResponse, + CodaWorkspaceMember, +} from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + codaPath, + joinListParam, + NEXT_PAGE_TOKEN_OUTPUT, + optionalTrimmed, + PAGE_TOKEN_PARAM, + WORKSPACE_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +type RawWorkspaceMember = Partial & { + email: string + name: string + role: string + registeredAt: string +} + +export const codaListWorkspaceMembersTool: ToolConfig< + CodaListWorkspaceMembersParams, + CodaListWorkspaceMembersResponse +> = { + id: 'coda_list_workspace_members', + name: 'Coda List Workspace Members', + description: + 'List the members of a Coda workspace with their roles and doc activity, requesting user first. The workspace must belong to an organization.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + workspaceId: WORKSPACE_ID_PARAM, + includedRoles: { + type: 'json', + required: false, + visibility: 'user-or-llm', + description: + 'Only return members with these roles, as an array or comma-separated list of "Admin", "DocMaker", "Editor"', + }, + pageToken: PAGE_TOKEN_PARAM, + }, + + request: { + url: (params) => + buildCodaUrl(codaPath('workspaces', [params.workspaceId, 'workspaceId'], 'users'), { + includedRoles: joinListParam(params.includedRoles, 'includedRoles'), + pageToken: optionalTrimmed(params.pageToken), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { + items?: RawWorkspaceMember[] + nextPageToken?: string + } + return { + success: true, + output: { + members: (data.items ?? []).map((member) => ({ + email: member.email, + name: member.name, + role: member.role, + pictureUrl: member.pictureUrl ?? null, + registeredAt: member.registeredAt, + roleChangedAt: member.roleChangedAt ?? null, + lastActiveAt: member.lastActiveAt ?? null, + ownedDocs: member.ownedDocs ?? null, + docsLastActiveAt: member.docsLastActiveAt ?? null, + docCollaboratorCount: member.docCollaboratorCount ?? null, + totalDocs: member.totalDocs ?? null, + totalDocsLastActiveAt: member.totalDocsLastActiveAt ?? null, + totalDocCollaboratorsLast90Days: member.totalDocCollaboratorsLast90Days ?? null, + })), + nextPageToken: data.nextPageToken || null, + }, + } + }, + + outputs: { + members: { + type: 'array', + description: 'Workspace members', + items: { + type: 'object', + properties: { + email: { type: 'string', description: 'Email address' }, + name: { type: 'string', description: 'Name' }, + role: { type: 'string', description: 'Workspace role (Admin, DocMaker, Editor)' }, + pictureUrl: { type: 'string', description: 'Avatar link', nullable: true }, + registeredAt: { type: 'string', description: 'When the user joined the workspace' }, + roleChangedAt: { + type: 'string', + description: 'When the role last changed', + nullable: true, + }, + lastActiveAt: { + type: 'string', + description: 'Date the user last acted in any workspace', + nullable: true, + }, + ownedDocs: { + type: 'number', + description: 'Docs the user owns in this workspace', + nullable: true, + }, + docsLastActiveAt: { + type: 'string', + description: 'Date anyone last accessed a doc the user owns', + nullable: true, + }, + docCollaboratorCount: { + type: 'number', + description: 'Collaborators on docs the user owns in the last 90 days', + nullable: true, + }, + totalDocs: { + type: 'number', + description: 'Docs the user owns, manages, or added pages to in the last 90 days', + nullable: true, + }, + totalDocsLastActiveAt: { + type: 'string', + description: 'Date anyone last accessed a doc the user owns or contributed to', + nullable: true, + }, + totalDocCollaboratorsLast90Days: { + type: 'number', + description: 'Unique viewers of docs the user owns, manages, or added pages to', + nullable: true, + }, + }, + }, + }, + nextPageToken: NEXT_PAGE_TOKEN_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/list_workspace_roles.ts b/apps/sim/tools/coda/list_workspace_roles.ts new file mode 100644 index 00000000000..e0e3a5ec204 --- /dev/null +++ b/apps/sim/tools/coda/list_workspace_roles.ts @@ -0,0 +1,76 @@ +import type { + CodaListWorkspaceRolesResponse, + CodaWorkspaceParams, + CodaWorkspaceRoleActivity, +} from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + codaPath, + WORKSPACE_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaListWorkspaceRolesTool: ToolConfig< + CodaWorkspaceParams, + CodaListWorkspaceRolesResponse +> = { + id: 'coda_list_workspace_roles', + name: 'Coda List Workspace Role Activity', + description: + 'Get monthly counts of active and inactive Admins, Doc Makers, and Editors in a workspace. The workspace must belong to an organization.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, workspaceId: WORKSPACE_ID_PARAM }, + + request: { + url: (params) => + buildCodaUrl(codaPath('workspaces', [params.workspaceId, 'workspaceId'], 'roles')), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { items?: CodaWorkspaceRoleActivity[] } + return { + success: true, + output: { + roleActivity: (data.items ?? []).map((item) => ({ + month: item.month, + activeAdminCount: item.activeAdminCount, + activeDocMakerCount: item.activeDocMakerCount, + activeEditorCount: item.activeEditorCount, + inactiveAdminCount: item.inactiveAdminCount, + inactiveDocMakerCount: item.inactiveDocMakerCount, + inactiveEditorCount: item.inactiveEditorCount, + })), + }, + } + }, + + outputs: { + roleActivity: { + type: 'array', + description: 'Role counts per month', + items: { + type: 'object', + properties: { + month: { type: 'string', description: 'Month of the data (YYYY-MM-DD)' }, + activeAdminCount: { type: 'number', description: 'Active Admins' }, + activeDocMakerCount: { type: 'number', description: 'Active Doc Makers' }, + activeEditorCount: { type: 'number', description: 'Active Editors' }, + inactiveAdminCount: { type: 'number', description: 'Inactive Admins' }, + inactiveDocMakerCount: { type: 'number', description: 'Inactive Doc Makers' }, + inactiveEditorCount: { type: 'number', description: 'Inactive Editors' }, + }, + }, + }, + }, +} diff --git a/apps/sim/tools/coda/publish_doc.ts b/apps/sim/tools/coda/publish_doc.ts new file mode 100644 index 00000000000..07ac562099a --- /dev/null +++ b/apps/sim/tools/coda/publish_doc.ts @@ -0,0 +1,80 @@ +import type { CodaPublishDocParams, CodaRequestIdResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + optionalTrimmed, + parseStringList, + REQUEST_ID_OUTPUT, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaPublishDocTool: ToolConfig = { + id: 'coda_publish_doc', + name: 'Coda Publish Doc', + description: + 'Publish a Coda doc or update its publishing settings: URL slug, discoverability, categories, and interaction mode. The doc owner needs a Coda maker profile.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + slug: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'URL slug for the published doc (e.g., "my-doc")', + }, + discoverable: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Whether the published doc is discoverable in the gallery', + }, + categoryNames: { + type: 'json', + required: false, + visibility: 'user-or-llm', + description: + 'Category names to apply, as an array or comma-separated list (see List Doc Categories)', + }, + mode: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Interaction mode for viewers: "view", "play", or "edit"', + }, + }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId, 'publish')), + method: 'PUT', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => { + const categoryNames = parseStringList(params.categoryNames, 'categoryNames') + return { + ...(optionalTrimmed(params.slug) ? { slug: optionalTrimmed(params.slug) } : {}), + ...(typeof params.discoverable === 'boolean' ? { discoverable: params.discoverable } : {}), + ...(categoryNames.length > 0 ? { categoryNames } : {}), + ...(params.mode ? { mode: params.mode } : {}), + } + }, + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { requestId: string } + return { success: true, output: { requestId: data.requestId } } + }, + + outputs: { + requestId: REQUEST_ID_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/push_button.ts b/apps/sim/tools/coda/push_button.ts new file mode 100644 index 00000000000..5f1c69a1489 --- /dev/null +++ b/apps/sim/tools/coda/push_button.ts @@ -0,0 +1,70 @@ +import type { CodaPushButtonParams, CodaPushButtonResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + REQUEST_ID_OUTPUT, + ROW_ID_PARAM, + TABLE_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaPushButtonTool: ToolConfig = { + id: 'coda_push_button', + name: 'Coda Push Button', + description: + 'Push a button column on a row of a Coda table, running its action. The button can perform any action in the doc.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + tableId: TABLE_ID_PARAM, + rowId: ROW_ID_PARAM, + columnId: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'ID or name of the button column (e.g., "c-tuVwxYz")', + }, + }, + + request: { + url: (params) => + buildCodaUrl( + codaDocPath( + params.docId, + 'tables', + [params.tableId, 'tableId'], + 'rows', + [params.rowId, 'rowId'], + 'buttons', + [params.columnId, 'columnId'] + ) + ), + method: 'POST', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { requestId: string; rowId: string; columnId: string } + return { + success: true, + output: { requestId: data.requestId, rowId: data.rowId, columnId: data.columnId }, + } + }, + + outputs: { + requestId: REQUEST_ID_OUTPUT, + rowId: { type: 'string', description: 'ID of the row containing the button' }, + columnId: { type: 'string', description: 'ID of the button column' }, + }, +} diff --git a/apps/sim/tools/coda/resolve_browser_link.ts b/apps/sim/tools/coda/resolve_browser_link.ts new file mode 100644 index 00000000000..2622ec6f155 --- /dev/null +++ b/apps/sim/tools/coda/resolve_browser_link.ts @@ -0,0 +1,95 @@ +import type { + CodaResolveBrowserLinkParams, + CodaResolveBrowserLinkResponse, +} from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + requiredTrimmed, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaResolveBrowserLinkTool: ToolConfig< + CodaResolveBrowserLinkParams, + CodaResolveBrowserLinkResponse +> = { + id: 'coda_resolve_browser_link', + name: 'Coda Resolve Browser Link', + description: + 'Resolve a Coda browser URL (doc, page, table, row, etc.) into its resource type and ID for use in other Coda operations', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + url: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'Coda browser link, e.g., https://coda.io/d/_dAbCDeFGH/Launch-Status_sumnO', + }, + degradeGracefully: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: + 'If the linked object was deleted, resolve the nearest existing parent (up to the doc) instead of failing', + }, + }, + + request: { + url: (params) => + buildCodaUrl('/resolveBrowserLink', { + url: requiredTrimmed(params.url, 'url'), + degradeGracefully: params.degradeGracefully, + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { + browserLink?: string + resource: { type: string; id: string; name?: string; href: string } + } + return { + success: true, + output: { + browserLink: data.browserLink ?? null, + resource: { + type: data.resource.type, + id: data.resource.id, + name: data.resource.name ?? null, + href: data.resource.href, + }, + }, + } + }, + + outputs: { + browserLink: { + type: 'string', + description: 'Canonical browser link to the resource', + nullable: true, + }, + resource: { + type: 'object', + description: 'The resolved resource', + properties: { + type: { + type: 'string', + description: 'Resource type (doc, page, table, row, column, formula, control, etc.)', + }, + id: { type: 'string', description: 'Resource ID' }, + name: { type: 'string', description: 'Resource name', nullable: true }, + href: { type: 'string', description: 'API link to the resource' }, + }, + }, + }, +} diff --git a/apps/sim/tools/coda/search_principals.ts b/apps/sim/tools/coda/search_principals.ts new file mode 100644 index 00000000000..ec1153eb59e --- /dev/null +++ b/apps/sim/tools/coda/search_principals.ts @@ -0,0 +1,96 @@ +import type { CodaSearchPrincipalsParams, CodaSearchPrincipalsResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + optionalTrimmed, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +interface RawSearchPrincipals { + users?: Array<{ name: string; loginId: string; pictureLink?: string }> + groups?: Array<{ groupId: string; groupName: string }> +} + +export const codaSearchPrincipalsTool: ToolConfig< + CodaSearchPrincipalsParams, + CodaSearchPrincipalsResponse +> = { + id: 'coda_search_principals', + name: 'Coda Search Principals', + description: + 'Search for users and groups a Coda doc can be shared with (up to 20 of each). Returns nothing without a query.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + query: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Name or email to search for', + }, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'acl', 'principals', 'search'), { + query: optionalTrimmed(params.query), + }), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as RawSearchPrincipals + return { + success: true, + output: { + users: (data.users ?? []).map((user) => ({ + name: user.name, + loginId: user.loginId, + pictureLink: user.pictureLink ?? null, + })), + groups: (data.groups ?? []).map((group) => ({ + groupId: group.groupId, + groupName: group.groupName, + })), + }, + } + }, + + outputs: { + users: { + type: 'array', + description: 'Matching users', + items: { + type: 'object', + properties: { + name: { type: 'string', description: 'User name' }, + loginId: { type: 'string', description: 'User email address' }, + pictureLink: { type: 'string', description: 'Avatar link', nullable: true }, + }, + }, + }, + groups: { + type: 'array', + description: 'Matching groups', + items: { + type: 'object', + properties: { + groupId: { type: 'string', description: 'Group ID' }, + groupName: { type: 'string', description: 'Group name' }, + }, + }, + }, + }, +} diff --git a/apps/sim/tools/coda/trigger_automation.ts b/apps/sim/tools/coda/trigger_automation.ts new file mode 100644 index 00000000000..664d0713d66 --- /dev/null +++ b/apps/sim/tools/coda/trigger_automation.ts @@ -0,0 +1,69 @@ +import type { CodaRequestIdResponse, CodaTriggerAutomationParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + parseJsonInput, + REQUEST_ID_OUTPUT, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaTriggerAutomationTool: ToolConfig< + CodaTriggerAutomationParams, + CodaRequestIdResponse +> = { + id: 'coda_trigger_automation', + name: 'Coda Trigger Automation', + description: + 'Trigger a webhook-invoked automation in a Coda doc, optionally passing a JSON payload the automation can read', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + ruleId: { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'ID of the automation rule (e.g., "grid-auto-b3Jmey6jBS")', + }, + payload: { + type: 'json', + required: false, + visibility: 'user-or-llm', + description: 'JSON object passed to the automation', + }, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'hooks', 'automation', [params.ruleId, 'ruleId'])), + method: 'POST', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => { + const payload = parseJsonInput(params.payload, 'payload') + if (payload === undefined || payload === null) return {} + if (typeof payload !== 'object' || Array.isArray(payload)) { + throw new Error('payload must be a JSON object') + } + return payload as Record + }, + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { requestId: string } + return { success: true, output: { requestId: data.requestId } } + }, + + outputs: { + requestId: REQUEST_ID_OUTPUT, + }, +} diff --git a/apps/sim/tools/coda/types.ts b/apps/sim/tools/coda/types.ts new file mode 100644 index 00000000000..b32167c0b5a --- /dev/null +++ b/apps/sim/tools/coda/types.ts @@ -0,0 +1,780 @@ +import type { ToolResponse } from '@/tools/types' + +export interface CodaAuthParams { + accessToken: string +} + +export interface CodaPaginationParams { + limit?: number + pageToken?: string +} + +export interface CodaDocParams extends CodaAuthParams { + docId: string +} + +export interface CodaPageParams extends CodaDocParams { + pageId: string +} + +export interface CodaTableParams extends CodaDocParams { + tableId: string +} + +export interface CodaRowParams extends CodaTableParams { + rowId: string +} + +export interface CodaIcon { + name: string | null + type: string | null + browserLink: string | null +} + +export interface CodaPerson { + name: string | null + email: string | null +} + +export interface CodaPageRef { + id: string + name: string | null + href: string | null + browserLink: string | null +} + +export interface CodaTableRef { + id: string + name: string | null + tableType: string | null + href: string | null + browserLink: string | null +} + +export interface CodaWorkspaceRef { + id: string + name: string | null + organizationId: string | null + browserLink: string | null +} + +export interface CodaDoc { + id: string + name: string + href: string + browserLink: string + icon: CodaIcon | null + owner: string | null + ownerName: string | null + createdAt: string | null + updatedAt: string | null + workspace: CodaWorkspaceRef | null + folder: { id: string; name: string | null; browserLink: string | null } | null + sourceDoc: { id: string; href: string | null; browserLink: string | null } | null + docSize: { + totalRowCount: number | null + tableAndViewCount: number | null + baseTableCount: number | null + pageCount: number | null + overApiSizeLimit: boolean | null + } | null + published: { + description: string | null + browserLink: string | null + imageLink: string | null + discoverable: boolean | null + earnCredit: boolean | null + mode: string | null + categories: string[] + } | null +} + +export interface CodaPage { + id: string + name: string + subtitle: string | null + href: string + browserLink: string + contentType: string | null + isHidden: boolean | null + isEffectivelyHidden: boolean | null + icon: CodaIcon | null + image: { + browserLink: string | null + type: string | null + width: number | null + height: number | null + } | null + parent: CodaPageRef | null + children: CodaPageRef[] + authors: CodaPerson[] + createdAt: string | null + createdBy: CodaPerson | null + updatedAt: string | null + updatedBy: CodaPerson | null +} + +export interface CodaTableReference { + id: string + name: string + tableType: string | null + href: string + browserLink: string + parent: CodaPageRef | null +} + +export interface CodaTable extends CodaTableReference { + parentTable: CodaTableRef | null + displayColumnId: string | null + rowCount: number | null + sorts: Array<{ columnId: string | null; direction: string | null }> + layout: string | null + filter: { + valid: boolean | null + isVolatile: boolean | null + hasUserFormula: boolean | null + hasTodayFormula: boolean | null + hasNowFormula: boolean | null + } | null + createdAt: string | null + updatedAt: string | null +} + +export interface CodaColumn { + id: string + name: string + href: string + display: boolean | null + calculated: boolean | null + formula: string | null + defaultValue: string | null + format: Record | null + parentTable: CodaTableRef | null +} + +export interface CodaRow { + id: string + name: string + index: number | null + href: string + browserLink: string + createdAt: string | null + updatedAt: string | null + values: Record + parentTable: CodaTableRef | null +} + +export interface CodaNamedReference { + id: string + name: string + href: string + parent: CodaPageRef | null +} + +export interface CodaFormula extends CodaNamedReference { + value: unknown +} + +export interface CodaControl extends CodaNamedReference { + controlType: string | null + value: unknown +} + +export interface CodaFolder { + id: string + name: string | null + browserLink: string | null + description: string | null + icon: CodaIcon | null + iconColor: string | null + createdAt: string | null + canEdit: boolean | null + workspace: CodaWorkspaceRef | null +} + +export interface CodaPermission { + id: string + access: string + principal: { + type: string | null + email: string | null + groupId: string | null + groupName: string | null + domain: string | null + workspaceId: string | null + internalAccessType: string | null + } +} + +export type CodaListResponse = ToolResponse & { + output: Record & { nextPageToken: string | null } +} + +export interface CodaRequestIdResponse extends ToolResponse { + output: { requestId: string } +} + +export interface CodaWhoamiResponse extends ToolResponse { + output: { + name: string + loginId: string + pictureLink: string | null + scoped: boolean | null + tokenName: string | null + workspace: CodaWorkspaceRef | null + } +} + +export interface CodaListDocsParams extends CodaAuthParams, CodaPaginationParams { + query?: string + isOwner?: boolean + isPublished?: boolean + isStarred?: boolean + inGallery?: boolean + sourceDoc?: string + workspaceId?: string + folderId?: string +} + +export type CodaListDocsResponse = CodaListResponse<'docs', CodaDoc> + +export interface CodaDocResponse extends ToolResponse { + output: { doc: CodaDoc } +} + +export interface CodaPageContentParams { + pageType?: string + contentFormat?: string + content?: string + embedUrl?: string + renderMethod?: string + sourceDocId?: string + sourcePageId?: string + syncMode?: string + includeSubpages?: boolean +} + +export interface CodaCreateDocParams extends CodaAuthParams, CodaPageContentParams { + title?: string + sourceDoc?: string + timezone?: string + folderId?: string + pageName?: string + pageSubtitle?: string + iconName?: string + imageUrl?: string +} + +export interface CodaCreateDocResponse extends ToolResponse { + output: { doc: CodaDoc; requestId: string | null } +} + +export interface CodaUpdateDocParams extends CodaDocParams { + title?: string + iconName?: string +} + +export interface CodaDocIdResponse extends ToolResponse { + output: { docId: string } +} + +export interface CodaListCategoriesResponse extends ToolResponse { + output: { categories: string[] } +} + +export interface CodaPublishDocParams extends CodaDocParams { + slug?: string + discoverable?: boolean + categoryNames?: unknown + mode?: string +} + +export interface CodaSharingMetadataResponse extends ToolResponse { + output: { + canShare: boolean + canShareWithWorkspace: boolean + canShareWithOrg: boolean + canCopy: boolean + } +} + +export interface CodaAclSettingsParams extends CodaDocParams { + allowEditorsToChangePermissions?: boolean + allowCopying?: boolean + allowViewersToRequestEditing?: boolean +} + +export interface CodaAclSettingsResponse extends ToolResponse { + output: { + allowEditorsToChangePermissions: boolean + allowCopying: boolean + allowViewersToRequestEditing: boolean + } +} + +export interface CodaSearchPrincipalsParams extends CodaDocParams { + query?: string +} + +export interface CodaSearchPrincipalsResponse extends ToolResponse { + output: { + users: Array<{ name: string; loginId: string; pictureLink: string | null }> + groups: Array<{ groupId: string; groupName: string }> + } +} + +export interface CodaListPermissionsParams extends CodaDocParams, CodaPaginationParams {} + +export type CodaListPermissionsResponse = CodaListResponse<'permissions', CodaPermission> + +export type CodaPrincipalType = 'email' | 'group' | 'domain' | 'workspace' | 'anyone' + +export interface CodaAddPermissionParams extends CodaDocParams { + access: 'readonly' | 'write' | 'comment' + principalType: CodaPrincipalType + principal?: string + suppressEmail?: boolean +} + +export interface CodaAddPermissionResponse extends ToolResponse { + output: { docId: string; access: string; principalType: string } +} + +export interface CodaDeletePermissionParams extends CodaDocParams { + permissionId: string +} + +export interface CodaDeletePermissionResponse extends ToolResponse { + output: { docId: string; permissionId: string } +} + +export interface CodaListPagesParams extends CodaDocParams, CodaPaginationParams {} + +export type CodaListPagesResponse = CodaListResponse<'pages', CodaPage> + +export interface CodaPageResponse extends ToolResponse { + output: { page: CodaPage } +} + +export interface CodaCreatePageParams extends CodaDocParams, CodaPageContentParams { + name?: string + subtitle?: string + iconName?: string + imageUrl?: string + parentPageId?: string +} + +export interface CodaUpdatePageParams extends CodaPageParams { + name?: string + subtitle?: string + iconName?: string + imageUrl?: string + isHidden?: boolean + insertionMode?: string + elementId?: string + contentFormat?: string + content?: string +} + +export interface CodaPageMutationResponse extends ToolResponse { + output: { requestId: string; pageId: string } +} + +export interface CodaDeletePageContentParams extends CodaPageParams { + elementIds?: unknown + deleteAll?: boolean +} + +export interface CodaGetPageContentParams extends CodaPageParams, CodaPaginationParams {} + +export interface CodaPageContentItem { + id: string + type: string + style: string | null + format: string | null + content: string | null + lineLevel: number | null +} + +export type CodaGetPageContentResponse = CodaListResponse<'items', CodaPageContentItem> + +export interface CodaExportPageParams extends CodaPageParams { + outputFormat: string +} + +export interface CodaExportPageResponse extends ToolResponse { + output: { exportId: string; status: string; href: string } +} + +export interface CodaGetPageExportStatusParams extends CodaPageParams { + exportId: string +} + +export interface CodaPageExportStatusResponse extends ToolResponse { + output: { + exportId: string + status: string + href: string + downloadLink: string | null + exportError: string | null + } +} + +export interface CodaListTablesParams extends CodaDocParams, CodaPaginationParams { + sortBy?: string + tableTypes?: unknown +} + +export type CodaListTablesResponse = CodaListResponse<'tables', CodaTableReference> + +export interface CodaGetTableParams extends CodaTableParams { + useUpdatedTableLayouts?: boolean +} + +export interface CodaTableResponse extends ToolResponse { + output: { table: CodaTable } +} + +export interface CodaListColumnsParams extends CodaTableParams, CodaPaginationParams { + visibleOnly?: boolean +} + +export type CodaListColumnsResponse = CodaListResponse<'columns', CodaColumn> + +export interface CodaGetColumnParams extends CodaTableParams { + columnId: string +} + +export interface CodaColumnResponse extends ToolResponse { + output: { column: CodaColumn } +} + +export interface CodaListRowsParams extends CodaTableParams, CodaPaginationParams { + query?: string + sortBy?: string + useColumnNames?: boolean + valueFormat?: string + visibleOnly?: boolean + syncToken?: string +} + +export interface CodaListRowsResponse extends ToolResponse { + output: { rows: CodaRow[]; nextPageToken: string | null; nextSyncToken: string | null } +} + +export interface CodaGetRowParams extends CodaRowParams { + useColumnNames?: boolean + valueFormat?: string +} + +export interface CodaRowResponse extends ToolResponse { + output: { row: CodaRow } +} + +export interface CodaUpsertRowsParams extends CodaTableParams { + rows: unknown + keyColumns?: unknown + disableParsing?: boolean +} + +export interface CodaUpsertRowsResponse extends ToolResponse { + output: { requestId: string; addedRowIds: string[] } +} + +export interface CodaUpdateRowParams extends CodaRowParams { + cells: unknown + disableParsing?: boolean +} + +export interface CodaRowMutationResponse extends ToolResponse { + output: { requestId: string; rowId: string } +} + +export interface CodaDeleteRowsParams extends CodaTableParams { + rowIds: unknown +} + +export interface CodaDeleteRowsResponse extends ToolResponse { + output: { requestId: string; rowIds: string[] } +} + +export interface CodaPushButtonParams extends CodaRowParams { + columnId: string +} + +export interface CodaPushButtonResponse extends ToolResponse { + output: { requestId: string; rowId: string; columnId: string } +} + +export interface CodaListDocItemsParams extends CodaDocParams, CodaPaginationParams { + sortBy?: string +} + +export type CodaListFormulasResponse = CodaListResponse<'formulas', CodaNamedReference> + +export interface CodaGetFormulaParams extends CodaDocParams { + formulaId: string +} + +export interface CodaFormulaResponse extends ToolResponse { + output: { formula: CodaFormula } +} + +export type CodaListControlsResponse = CodaListResponse<'controls', CodaNamedReference> + +export interface CodaGetControlParams extends CodaDocParams { + controlId: string +} + +export interface CodaControlResponse extends ToolResponse { + output: { control: CodaControl } +} + +export interface CodaListFoldersParams extends CodaAuthParams, CodaPaginationParams { + workspaceId?: string + isStarred?: boolean +} + +export type CodaListFoldersResponse = CodaListResponse<'folders', CodaFolder> + +export interface CodaFolderParams extends CodaAuthParams { + folderId: string +} + +export interface CodaFolderResponse extends ToolResponse { + output: { folder: CodaFolder } +} + +export interface CodaCreateFolderParams extends CodaAuthParams { + name: string + workspaceId: string + description?: string +} + +export interface CodaUpdateFolderParams extends CodaFolderParams { + name?: string + description?: string +} + +export interface CodaDeleteFolderResponse extends ToolResponse { + output: { folderId: string } +} + +export interface CodaListFolderChildrenParams extends CodaFolderParams, CodaPaginationParams {} + +export type CodaFolderChild = Omit & { visibility: string } + +export type CodaListFolderChildrenResponse = CodaListResponse<'children', CodaFolderChild> + +export interface CodaWorkspaceParams extends CodaAuthParams { + workspaceId: string +} + +export interface CodaListWorkspaceMembersParams extends CodaWorkspaceParams { + includedRoles?: unknown + pageToken?: string +} + +export interface CodaWorkspaceMember { + email: string + name: string + role: string + pictureUrl: string | null + registeredAt: string + roleChangedAt: string | null + lastActiveAt: string | null + ownedDocs: number | null + docsLastActiveAt: string | null + docCollaboratorCount: number | null + totalDocs: number | null + totalDocsLastActiveAt: string | null + totalDocCollaboratorsLast90Days: number | null +} + +export type CodaListWorkspaceMembersResponse = CodaListResponse<'members', CodaWorkspaceMember> + +export interface CodaChangeUserRoleParams extends CodaWorkspaceParams { + email: string + newRole: string +} + +export interface CodaChangeUserRoleResponse extends ToolResponse { + output: { email: string; newRole: string; roleChangedAt: string } +} + +export interface CodaWorkspaceRoleActivity { + month: string + activeAdminCount: number + activeDocMakerCount: number + activeEditorCount: number + inactiveAdminCount: number + inactiveDocMakerCount: number + inactiveEditorCount: number +} + +export interface CodaListWorkspaceRolesResponse extends ToolResponse { + output: { roleActivity: CodaWorkspaceRoleActivity[] } +} + +export interface CodaListDocAnalyticsParams extends CodaAuthParams, CodaPaginationParams { + docIds?: unknown + workspaceId?: string + query?: string + isPublished?: boolean + sinceDate?: string + untilDate?: string + scale?: string + orderBy?: string + direction?: string +} + +export interface CodaDocAnalyticsItem { + doc: { + id: string + title: string + href: string + browserLink: string + icon: CodaIcon | null + createdAt: string | null + publishedAt: string | null + } + metrics: Array> +} + +export type CodaListDocAnalyticsResponse = CodaListResponse<'items', CodaDocAnalyticsItem> + +export interface CodaListPageAnalyticsParams extends CodaDocParams, CodaPaginationParams { + sinceDate?: string + untilDate?: string +} + +export interface CodaPageAnalyticsItem { + page: { id: string; name: string; icon: CodaIcon | null } + metrics: Array> +} + +export type CodaListPageAnalyticsResponse = CodaListResponse<'items', CodaPageAnalyticsItem> + +export interface CodaDocAnalyticsSummaryParams extends CodaAuthParams { + isPublished?: boolean + sinceDate?: string + untilDate?: string + workspaceId?: string +} + +export interface CodaDocAnalyticsSummaryResponse extends ToolResponse { + output: { totalSessions: number } +} + +export interface CodaAnalyticsLastUpdatedResponse extends ToolResponse { + output: { + docAnalyticsLastUpdated: string + packAnalyticsLastUpdated: string + packFormulaAnalyticsLastUpdated: string + } +} + +export interface CodaCustomDomain { + customDocDomain: string + hasCertificate: boolean + hasDnsDocId: boolean + setupStatus: string + domainStatus: string + lastVerifiedTimestamp: string | null +} + +export interface CodaListCustomDomainsResponse extends ToolResponse { + output: { customDomains: CodaCustomDomain[]; nextPageToken: string | null } +} + +export interface CodaCustomDomainParams extends CodaDocParams { + customDocDomain: string +} + +export interface CodaCustomDomainResponse extends ToolResponse { + output: { docId: string; customDocDomain: string } +} + +export interface CodaGetCustomDomainProviderParams extends CodaAuthParams { + customDocDomain: string +} + +export interface CodaGetCustomDomainProviderResponse extends ToolResponse { + output: { customDocDomain: string; provider: string } +} + +export interface CodaResolveBrowserLinkParams extends CodaAuthParams { + url: string + degradeGracefully?: boolean +} + +export interface CodaResolveBrowserLinkResponse extends ToolResponse { + output: { + browserLink: string | null + resource: { type: string; id: string; name: string | null; href: string } + } +} + +export interface CodaGetMutationStatusParams extends CodaAuthParams { + requestId: string +} + +export interface CodaGetMutationStatusResponse extends ToolResponse { + output: { completed: boolean; warning: string | null } +} + +export interface CodaTriggerAutomationParams extends CodaDocParams { + ruleId: string + payload?: unknown +} + +export type CodaResponse = + | CodaWhoamiResponse + | CodaListDocsResponse + | CodaDocResponse + | CodaCreateDocResponse + | CodaDocIdResponse + | CodaListCategoriesResponse + | CodaRequestIdResponse + | CodaSharingMetadataResponse + | CodaAclSettingsResponse + | CodaSearchPrincipalsResponse + | CodaListPermissionsResponse + | CodaAddPermissionResponse + | CodaDeletePermissionResponse + | CodaListPagesResponse + | CodaPageResponse + | CodaPageMutationResponse + | CodaGetPageContentResponse + | CodaExportPageResponse + | CodaPageExportStatusResponse + | CodaListTablesResponse + | CodaTableResponse + | CodaListColumnsResponse + | CodaColumnResponse + | CodaListRowsResponse + | CodaRowResponse + | CodaUpsertRowsResponse + | CodaRowMutationResponse + | CodaDeleteRowsResponse + | CodaPushButtonResponse + | CodaListFormulasResponse + | CodaFormulaResponse + | CodaListControlsResponse + | CodaControlResponse + | CodaListFoldersResponse + | CodaFolderResponse + | CodaDeleteFolderResponse + | CodaListFolderChildrenResponse + | CodaListWorkspaceMembersResponse + | CodaChangeUserRoleResponse + | CodaListWorkspaceRolesResponse + | CodaListDocAnalyticsResponse + | CodaListPageAnalyticsResponse + | CodaDocAnalyticsSummaryResponse + | CodaAnalyticsLastUpdatedResponse + | CodaListCustomDomainsResponse + | CodaCustomDomainResponse + | CodaGetCustomDomainProviderResponse + | CodaResolveBrowserLinkResponse + | CodaGetMutationStatusResponse diff --git a/apps/sim/tools/coda/unpublish_doc.ts b/apps/sim/tools/coda/unpublish_doc.ts new file mode 100644 index 00000000000..6527b3bc374 --- /dev/null +++ b/apps/sim/tools/coda/unpublish_doc.ts @@ -0,0 +1,39 @@ +import type { CodaDocIdResponse, CodaDocParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaUnpublishDocTool: ToolConfig = { + id: 'coda_unpublish_doc', + name: 'Coda Unpublish Doc', + description: 'Unpublish a Coda doc', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams, docId: DOC_ID_PARAM }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId, 'publish')), + method: 'DELETE', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (_response, params) => ({ + success: true, + output: { docId: String(params?.docId ?? '').trim() }, + }), + + outputs: { + docId: { type: 'string', description: 'ID of the unpublished doc' }, + }, +} diff --git a/apps/sim/tools/coda/update_acl_settings.ts b/apps/sim/tools/coda/update_acl_settings.ts new file mode 100644 index 00000000000..17bb1a782e7 --- /dev/null +++ b/apps/sim/tools/coda/update_acl_settings.ts @@ -0,0 +1,84 @@ +import type { CodaAclSettingsParams, CodaAclSettingsResponse } from '@/tools/coda/types' +import { + ACL_SETTINGS_OUTPUTS, + buildCodaUrl, + CODA_FIELD_UPDATE_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +const SETTING_KEYS = [ + 'allowEditorsToChangePermissions', + 'allowCopying', + 'allowViewersToRequestEditing', +] as const + +export const codaUpdateAclSettingsTool: ToolConfig = + { + id: 'coda_update_acl_settings', + name: 'Coda Update Sharing Settings', + description: + 'Update who can change permissions, copy, or request edit access on a Coda doc; unset settings are left unchanged', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + allowEditorsToChangePermissions: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Allow editors to change doc permissions', + }, + allowCopying: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Allow viewers to copy the doc', + }, + allowViewersToRequestEditing: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Allow viewers to request edit access', + }, + }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId, 'acl', 'settings')), + method: 'PATCH', + retry: CODA_FIELD_UPDATE_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => { + const body: Record = {} + for (const key of SETTING_KEYS) { + if (typeof params[key] === 'boolean') body[key] = params[key] + } + if (Object.keys(body).length === 0) { + throw new Error('Provide at least one sharing setting to update') + } + return body + }, + }, + + transformResponse: async (response) => { + const data = (await response.json()) as CodaAclSettingsResponse['output'] + return { + success: true, + output: { + allowEditorsToChangePermissions: data.allowEditorsToChangePermissions, + allowCopying: data.allowCopying, + allowViewersToRequestEditing: data.allowViewersToRequestEditing, + }, + } + }, + + outputs: ACL_SETTINGS_OUTPUTS, + } diff --git a/apps/sim/tools/coda/update_doc.ts b/apps/sim/tools/coda/update_doc.ts new file mode 100644 index 00000000000..2f19ffdb6a1 --- /dev/null +++ b/apps/sim/tools/coda/update_doc.ts @@ -0,0 +1,62 @@ +import type { CodaDocIdResponse, CodaUpdateDocParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_FIELD_UPDATE_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + optionalTrimmed, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaUpdateDocTool: ToolConfig = { + id: 'coda_update_doc', + name: 'Coda Update Doc', + description: + 'Rename a Coda doc or change its icon. Renaming requires Doc Maker access in the workspace.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + title: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'New title of the doc', + }, + iconName: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Name of the icon to use (e.g., "rocket")', + }, + }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId)), + method: 'PATCH', + retry: CODA_FIELD_UPDATE_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => { + const title = optionalTrimmed(params.title) + const iconName = optionalTrimmed(params.iconName) + if (!title && !iconName) throw new Error('Provide a title or iconName to update') + return { ...(title ? { title } : {}), ...(iconName ? { iconName } : {}) } + }, + }, + + transformResponse: async (_response, params) => ({ + success: true, + output: { docId: String(params?.docId ?? '').trim() }, + }), + + outputs: { + docId: { type: 'string', description: 'ID of the updated doc' }, + }, +} diff --git a/apps/sim/tools/coda/update_folder.ts b/apps/sim/tools/coda/update_folder.ts new file mode 100644 index 00000000000..f2f7b0df8d0 --- /dev/null +++ b/apps/sim/tools/coda/update_folder.ts @@ -0,0 +1,70 @@ +import type { CodaFolderResponse, CodaUpdateFolderParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_FIELD_UPDATE_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + codaPath, + FOLDER_ID_PARAM, + FOLDER_PROPERTIES, + mapFolder, + optionalTrimmed, + type RawCodaFolder, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaUpdateFolderTool: ToolConfig = { + id: 'coda_update_folder', + name: 'Coda Update Folder', + description: + 'Rename a Coda folder or change its description. Coda can return the folder as it was before the change; read it again to confirm.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + folderId: FOLDER_ID_PARAM, + name: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'New name of the folder', + }, + description: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'New description of the folder', + }, + }, + + request: { + url: (params) => buildCodaUrl(codaPath('folders', [params.folderId, 'folderId'])), + method: 'PATCH', + retry: CODA_FIELD_UPDATE_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => { + const name = optionalTrimmed(params.name) + const description = params.description ? params.description : undefined + if (!name && description === undefined) { + throw new Error('Provide a name or description to update') + } + return { + ...(name ? { name } : {}), + ...(description !== undefined ? { description } : {}), + } + }, + }, + + transformResponse: async (response) => { + const data = (await response.json()) as RawCodaFolder + return { success: true, output: { folder: mapFolder(data) } } + }, + + outputs: { + folder: { type: 'object', description: 'The updated folder', properties: FOLDER_PROPERTIES }, + }, +} diff --git a/apps/sim/tools/coda/update_page.ts b/apps/sim/tools/coda/update_page.ts new file mode 100644 index 00000000000..19644c869d6 --- /dev/null +++ b/apps/sim/tools/coda/update_page.ts @@ -0,0 +1,128 @@ +import type { CodaPageMutationResponse, CodaUpdatePageParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + optionalTrimmed, + PAGE_ID_PARAM, + REQUEST_ID_OUTPUT, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaUpdatePageTool: ToolConfig = { + id: 'coda_update_page', + name: 'Coda Update Page', + description: + 'Update a Coda page: rename it, change its subtitle, icon, cover, or visibility, and append, prepend, or replace content with Markdown or HTML. Applied asynchronously.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + pageId: PAGE_ID_PARAM, + name: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'New name of the page', + }, + subtitle: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'New subtitle of the page (an empty value leaves the subtitle unchanged)', + }, + iconName: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Name of the page icon (e.g., "rocket")', + }, + imageUrl: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'URL of a cover image for the page', + }, + isHidden: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: + 'Whether the page is hidden (requires a paid Coda plan; ignored for pages that cannot be hidden)', + }, + insertionMode: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: + 'How to apply content: "append", "prepend", or "replace". Required when content is provided.', + }, + elementId: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: + 'Page element to insert relative to or replace (e.g., "cl-lzqh0Q0poT"); omit to apply to the whole page', + }, + contentFormat: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Content format: "markdown" (default) or "html"', + }, + content: { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Content to add to the page in the chosen format', + }, + }, + + request: { + url: (params) => buildCodaUrl(codaDocPath(params.docId, 'pages', [params.pageId, 'pageId'])), + method: 'PUT', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => { + const body: Record = {} + if (optionalTrimmed(params.name)) body.name = optionalTrimmed(params.name) + if (params.subtitle) body.subtitle = params.subtitle + if (optionalTrimmed(params.iconName)) body.iconName = optionalTrimmed(params.iconName) + if (optionalTrimmed(params.imageUrl)) body.imageUrl = optionalTrimmed(params.imageUrl) + if (typeof params.isHidden === 'boolean') body.isHidden = params.isHidden + if (params.content) { + if (!params.insertionMode) { + throw new Error('insertionMode is required when updating page content') + } + const elementId = optionalTrimmed(params.elementId) + body.contentUpdate = { + insertionMode: params.insertionMode, + ...(elementId ? { elementId } : {}), + canvasContent: { format: params.contentFormat || 'markdown', content: params.content }, + } + } + if (Object.keys(body).length === 0) { + throw new Error('Provide at least one page property or content to update') + } + return body + }, + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { requestId: string; id: string } + return { success: true, output: { requestId: data.requestId, pageId: data.id } } + }, + + outputs: { + requestId: REQUEST_ID_OUTPUT, + pageId: { type: 'string', description: 'ID of the updated page' }, + }, +} diff --git a/apps/sim/tools/coda/update_row.ts b/apps/sim/tools/coda/update_row.ts new file mode 100644 index 00000000000..c044fcd75bd --- /dev/null +++ b/apps/sim/tools/coda/update_row.ts @@ -0,0 +1,75 @@ +import type { CodaRowMutationResponse, CodaUpdateRowParams } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + parseJsonInput, + REQUEST_ID_OUTPUT, + ROW_ID_PARAM, + TABLE_ID_PARAM, + toCodaCells, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaUpdateRowTool: ToolConfig = { + id: 'coda_update_row', + name: 'Coda Update Row', + description: 'Update cell values in a row of a Coda table. Applied asynchronously.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + tableId: TABLE_ID_PARAM, + rowId: ROW_ID_PARAM, + cells: { + type: 'json', + required: true, + visibility: 'user-or-llm', + description: + 'Object mapping column IDs (or names) to new values, e.g., {"c-tuVwxYz": "Done"}, or Coda cells [{"column": "c-tuVwxYz", "value": "Done"}]', + }, + disableParsing: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Store values exactly as given without parsing them', + }, + }, + + request: { + url: (params) => + buildCodaUrl( + codaDocPath(params.docId, 'tables', [params.tableId, 'tableId'], 'rows', [ + params.rowId, + 'rowId', + ]), + { disableParsing: params.disableParsing } + ), + method: 'PUT', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => { + const cells = toCodaCells(parseJsonInput(params.cells, 'cells'), 'cells') + if (cells.length === 0) throw new Error('cells must contain at least one column value') + return { row: { cells } } + }, + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { requestId: string; id: string } + return { success: true, output: { requestId: data.requestId, rowId: data.id } } + }, + + outputs: { + requestId: REQUEST_ID_OUTPUT, + rowId: { type: 'string', description: 'ID of the updated row' }, + }, +} diff --git a/apps/sim/tools/coda/upsert_rows.ts b/apps/sim/tools/coda/upsert_rows.ts new file mode 100644 index 00000000000..aa3e3be7b3f --- /dev/null +++ b/apps/sim/tools/coda/upsert_rows.ts @@ -0,0 +1,90 @@ +import type { CodaUpsertRowsParams, CodaUpsertRowsResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaDocPath, + codaHeaders, + codaOAuth, + DOC_ID_PARAM, + parseJsonInput, + parseStringList, + REQUEST_ID_OUTPUT, + TABLE_ID_PARAM, + toCodaCells, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +export const codaUpsertRowsTool: ToolConfig = { + id: 'coda_upsert_rows', + name: 'Coda Insert or Upsert Rows', + description: + 'Insert rows into a Coda base table, or update matching rows when key columns are given. Only works on base tables, not views. Applied asynchronously.', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { + ...codaAuthParams, + docId: DOC_ID_PARAM, + tableId: TABLE_ID_PARAM, + rows: { + type: 'json', + required: true, + visibility: 'user-or-llm', + description: + 'Array of rows. Each row maps column IDs (or names) to values, e.g., [{"c-tuVwxYz": "Apple", "c-bCdeFgh": 12}], or uses Coda cells [{"cells": [{"column": "c-tuVwxYz", "value": "Apple"}]}]', + }, + keyColumns: { + type: 'json', + required: false, + visibility: 'user-or-llm', + description: + 'Column IDs (or names) to match existing rows on, as an array or comma-separated list. Matching rows are updated instead of inserted.', + }, + disableParsing: { + type: 'boolean', + required: false, + visibility: 'user-or-llm', + description: 'Store values exactly as given without parsing them', + }, + }, + + request: { + url: (params) => + buildCodaUrl(codaDocPath(params.docId, 'tables', [params.tableId, 'tableId'], 'rows'), { + disableParsing: params.disableParsing, + }), + method: 'POST', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken, true), + body: (params) => { + const parsed = parseJsonInput(params.rows, 'rows') + const rows = Array.isArray(parsed) ? parsed : parsed === undefined ? [] : [parsed] + if (rows.length === 0) throw new Error('rows must contain at least one row') + const keyColumns = parseStringList(params.keyColumns, 'keyColumns') + return { + rows: rows.map((row, index) => ({ cells: toCodaCells(row, `rows[${index}]`) })), + ...(keyColumns.length > 0 ? { keyColumns } : {}), + } + }, + }, + + transformResponse: async (response) => { + const data = (await response.json()) as { requestId: string; addedRowIds?: string[] } + return { + success: true, + output: { requestId: data.requestId, addedRowIds: data.addedRowIds ?? [] }, + } + }, + + outputs: { + requestId: REQUEST_ID_OUTPUT, + addedRowIds: { + type: 'array', + description: 'IDs of rows that will be added (only returned when no key columns are set)', + items: { type: 'string', description: 'Row ID' }, + }, + }, +} diff --git a/apps/sim/tools/coda/utils.ts b/apps/sim/tools/coda/utils.ts new file mode 100644 index 00000000000..bf44386e11a --- /dev/null +++ b/apps/sim/tools/coda/utils.ts @@ -0,0 +1,1106 @@ +import { omit } from '@sim/utils/object' +import type { + CodaColumn, + CodaControl, + CodaDoc, + CodaFolder, + CodaFormula, + CodaNamedReference, + CodaPage, + CodaPermission, + CodaRow, + CodaTable, + CodaTableReference, +} from '@/tools/coda/types' +import type { OutputProperty, ToolConfig, ToolRetryConfig } from '@/tools/types' +import { safeUrlPathSegment } from '@/tools/url-path' + +export const CODA_API_BASE = 'https://coda.io/apis/v1' + +type QueryValue = string | number | boolean | null | undefined + +/** + * Builds a Coda API URL from already-guarded path segments and optional query params. + * Empty query values are omitted so unset optional filters are never sent. A page token + * already encodes the original query, and Coda rejects any other parameter sent with it + * (for example `limit` on pages, or `useColumnNames` on rows), so only the token is sent. + */ +export function buildCodaUrl(path: string, query?: Record): string { + const url = new URL(`${CODA_API_BASE}${path}`) + const pageToken = query?.pageToken + const effectiveQuery = + typeof pageToken === 'string' && pageToken.trim() !== '' ? { pageToken } : (query ?? {}) + for (const [key, value] of Object.entries(effectiveQuery)) { + if (value === undefined || value === null) continue + if (typeof value === 'string' && value.trim() === '') continue + url.searchParams.set(key, String(value)) + } + return url.toString() +} + +/** + * Joins literal path segments with traversal-guarded, percent-encoded identifiers. + * A string is a literal segment; a `[value, paramName]` tuple is a caller-supplied id. + */ +export function codaPath(...segments: Array): string { + return segments + .map((segment) => + typeof segment === 'string' ? `/${segment}` : `/${safeUrlPathSegment(segment[0], segment[1])}` + ) + .join('') +} + +/** Guards and encodes a doc-scoped path: `/docs/{docId}` plus any extra segments. */ +export function codaDocPath(docId: string, ...segments: Array): string { + return codaPath('docs', [docId, 'docId'], ...segments) +} + +/** Headers for every Coda API request; shared with the credential validator. */ +export function codaHeaders(accessToken: string, hasBody = false): Record { + return { + Authorization: `Bearer ${accessToken}`, + Accept: 'application/json', + ...(hasBody ? { 'Content-Type': 'application/json' } : {}), + } +} + +/** Parses a JSON value that may arrive as a serialized string from a block input. */ +export function parseJsonInput(value: unknown, paramName: string): unknown { + if (typeof value !== 'string') return value + const trimmed = value.trim() + if (!trimmed) return undefined + try { + return JSON.parse(trimmed) + } catch { + throw new Error(`${paramName} must be valid JSON`) + } +} + +/** Normalizes a list given as an array, JSON array string, or comma-separated string. */ +export function parseStringList(value: unknown, paramName: string): string[] { + if (value === undefined || value === null || value === '') return [] + if (typeof value === 'string' && !value.trim().startsWith('[')) { + return value + .split(',') + .map((item) => item.trim()) + .filter(Boolean) + } + const parsed = parseJsonInput(value, paramName) + if (!Array.isArray(parsed)) { + throw new Error(`${paramName} must be an array or a comma-separated list`) + } + return parsed.map((item) => String(item).trim()).filter(Boolean) +} + +/** Joins a list param into Coda's comma-delimited query format, or undefined when empty. */ +export function joinListParam(value: unknown, paramName: string): string | undefined { + const items = parseStringList(value, paramName) + return items.length > 0 ? items.join(',') : undefined +} + +/** Trims an optional string param, returning undefined when blank. */ +export function optionalTrimmed(value: unknown): string | undefined { + if (value === undefined || value === null) return undefined + const trimmed = String(value).trim() + return trimmed || undefined +} + +/** + * Trims a required string param, throwing when it is blank. The executor's required check + * accepts whitespace, which would otherwise drop the value from the query string. + */ +export function requiredTrimmed(value: unknown, paramName: string): string { + const trimmed = optionalTrimmed(value) + if (!trimmed) throw new Error(`${paramName} is required`) + return trimmed +} + +interface CellEdit { + column: string + value: unknown +} + +function isCellArray(value: unknown): value is CellEdit[] { + return ( + Array.isArray(value) && + value.every( + (cell) => + cell !== null && + typeof cell === 'object' && + typeof (cell as { column?: unknown }).column === 'string' && + 'value' in cell + ) + ) +} + +/** + * Converts a row given either as Coda cells (`[{ column, value }]`), a `{ cells: [...] }` + * object, or a plain `{ columnIdOrName: value }` map into Coda's cell-edit array. An object + * is only read as the `cells` wrapper when that is its sole key and holds cell edits, so a + * column named `cells` still maps normally. + */ +export function toCodaCells(row: unknown, paramName: string): CellEdit[] { + if (isCellArray(row)) return row + if (row === null || typeof row !== 'object' || Array.isArray(row)) { + throw new Error(`${paramName} must be an object mapping columns to values`) + } + const entries = Object.entries(row) + if (entries.length === 1 && entries[0][0] === 'cells' && isCellArray(entries[0][1])) { + return entries[0][1] + } + return entries.map(([column, value]) => ({ column, value })) +} + +/** Builds Coda's `PageCreateContent` union from flat tool params, or undefined when absent. */ +export function buildPageCreateContent(params: { + pageType?: string + contentFormat?: string + content?: string + embedUrl?: string + renderMethod?: string + sourceDocId?: string + sourcePageId?: string + syncMode?: string + includeSubpages?: boolean +}): Record | undefined { + const pageType = params.pageType || 'canvas' + if (pageType === 'canvas') { + if (!params.content) return undefined + return { + type: 'canvas', + canvasContent: { format: params.contentFormat || 'markdown', content: params.content }, + } + } + if (pageType === 'embed') { + const url = optionalTrimmed(params.embedUrl) + if (!url) throw new Error('embedUrl is required when pageType is "embed"') + return { + type: 'embed', + url, + ...(params.renderMethod ? { renderMethod: params.renderMethod } : {}), + } + } + if (pageType === 'syncPage') { + const sourceDocId = optionalTrimmed(params.sourceDocId) + if (!sourceDocId) throw new Error('sourceDocId is required when pageType is "syncPage"') + if ((params.syncMode || 'page') === 'document') { + return { type: 'syncPage', mode: 'document', sourceDocId } + } + const sourcePageId = optionalTrimmed(params.sourcePageId) + if (!sourcePageId) throw new Error('sourcePageId is required for a single-page sync page') + return { + type: 'syncPage', + mode: 'page', + sourceDocId, + sourcePageId, + includeSubpages: params.includeSubpages === true, + } + } + throw new Error('pageType must be one of: canvas, embed, syncPage') +} + +export const codaAuthParams = { + accessToken: { + type: 'string', + required: true, + visibility: 'hidden', + description: 'Coda API token resolved from the selected credential', + }, +} satisfies ToolConfig['params'] + +export const codaOAuth = { required: true, provider: 'coda' } as const + +/** + * Coda rate-limits per user and asks API clients to back off and retry on HTTP 429. Only + * idempotent methods retry, so a timed-out insert or page creation is never duplicated. + */ +export const CODA_RETRY = { + enabled: true, + maxRetries: 3, + initialDelayMs: 1_000, + maxDelayMs: 30_000, + retryIdempotentOnly: true, +} as const satisfies ToolRetryConfig + +/** + * Coda's PATCH endpoints set the supplied fields to fixed values, so repeating one is safe even + * though the executor does not treat PATCH as idempotent. + */ +export const CODA_FIELD_UPDATE_RETRY = { + ...CODA_RETRY, + retryIdempotentOnly: false, +} as const satisfies ToolRetryConfig + +interface RawReference { + id?: string + name?: string + href?: string + browserLink?: string + tableType?: string +} + +interface RawPerson { + name?: string + email?: string +} + +interface RawIcon { + name?: string + type?: string + browserLink?: string +} + +function mapIcon(icon: RawIcon | undefined) { + if (!icon) return null + return { + name: icon.name ?? null, + type: icon.type ?? null, + browserLink: icon.browserLink ?? null, + } +} + +function mapPerson(person: RawPerson | undefined) { + if (!person) return null + return { name: person.name ?? null, email: person.email ?? null } +} + +function mapPageRef(ref: RawReference | undefined) { + if (!ref?.id) return null + return { + id: ref.id, + name: ref.name ?? null, + href: ref.href ?? null, + browserLink: ref.browserLink ?? null, + } +} + +function mapTableRef(ref: RawReference | undefined) { + if (!ref?.id) return null + return { + id: ref.id, + name: ref.name ?? null, + tableType: ref.tableType ?? null, + href: ref.href ?? null, + browserLink: ref.browserLink ?? null, + } +} + +export interface RawCodaWorkspaceReference { + id?: string + name?: string + organizationId?: string + browserLink?: string +} + +export function mapWorkspaceRef(workspace: RawCodaWorkspaceReference | undefined) { + if (!workspace?.id) return null + return { + id: workspace.id, + name: workspace.name ?? null, + organizationId: workspace.organizationId ?? null, + browserLink: workspace.browserLink ?? null, + } +} + +export interface RawCodaDoc { + id: string + name: string + href: string + browserLink: string + icon?: RawIcon + owner?: string + ownerName?: string + createdAt?: string + updatedAt?: string + workspace?: RawCodaWorkspaceReference + folder?: RawReference + sourceDoc?: RawReference + docSize?: { + totalRowCount?: number + tableAndViewCount?: number + baseTableCount?: number + pageCount?: number + overApiSizeLimit?: boolean + } + published?: { + description?: string + browserLink?: string + imageLink?: string + discoverable?: boolean + earnCredit?: boolean + mode?: string + categories?: Array<{ name?: string }> + } +} + +export function mapDoc(doc: RawCodaDoc): CodaDoc { + return { + id: doc.id, + name: doc.name, + href: doc.href, + browserLink: doc.browserLink, + icon: mapIcon(doc.icon), + owner: doc.owner ?? null, + ownerName: doc.ownerName ?? null, + createdAt: doc.createdAt ?? null, + updatedAt: doc.updatedAt ?? null, + workspace: mapWorkspaceRef(doc.workspace), + folder: doc.folder?.id + ? { + id: doc.folder.id, + name: doc.folder.name ?? null, + browserLink: doc.folder.browserLink ?? null, + } + : null, + sourceDoc: doc.sourceDoc?.id + ? { + id: doc.sourceDoc.id, + href: doc.sourceDoc.href ?? null, + browserLink: doc.sourceDoc.browserLink ?? null, + } + : null, + docSize: doc.docSize + ? { + totalRowCount: doc.docSize.totalRowCount ?? null, + tableAndViewCount: doc.docSize.tableAndViewCount ?? null, + baseTableCount: doc.docSize.baseTableCount ?? null, + pageCount: doc.docSize.pageCount ?? null, + overApiSizeLimit: doc.docSize.overApiSizeLimit ?? null, + } + : null, + published: doc.published + ? { + description: doc.published.description ?? null, + browserLink: doc.published.browserLink ?? null, + imageLink: doc.published.imageLink ?? null, + discoverable: doc.published.discoverable ?? null, + earnCredit: doc.published.earnCredit ?? null, + mode: doc.published.mode ?? null, + categories: (doc.published.categories ?? []) + .map((category) => category.name) + .filter((name): name is string => typeof name === 'string'), + } + : null, + } +} + +export interface RawCodaPage { + id: string + name: string + subtitle?: string + href: string + browserLink: string + contentType?: string + isHidden?: boolean + isEffectivelyHidden?: boolean + icon?: RawIcon + image?: { browserLink?: string; type?: string; width?: number; height?: number } + parent?: RawReference + children?: RawReference[] + authors?: RawPerson[] + createdAt?: string + createdBy?: RawPerson + updatedAt?: string + updatedBy?: RawPerson +} + +export function mapPage(page: RawCodaPage): CodaPage { + return { + id: page.id, + name: page.name, + subtitle: page.subtitle ?? null, + href: page.href, + browserLink: page.browserLink, + contentType: page.contentType ?? null, + isHidden: page.isHidden ?? null, + isEffectivelyHidden: page.isEffectivelyHidden ?? null, + icon: mapIcon(page.icon), + image: page.image + ? { + browserLink: page.image.browserLink ?? null, + type: page.image.type ?? null, + width: page.image.width ?? null, + height: page.image.height ?? null, + } + : null, + parent: mapPageRef(page.parent), + children: (page.children ?? []).flatMap((child) => { + const mapped = mapPageRef(child) + return mapped ? [mapped] : [] + }), + authors: (page.authors ?? []).flatMap((author) => { + const mapped = mapPerson(author) + return mapped ? [mapped] : [] + }), + createdAt: page.createdAt ?? null, + createdBy: mapPerson(page.createdBy), + updatedAt: page.updatedAt ?? null, + updatedBy: mapPerson(page.updatedBy), + } +} + +export interface RawCodaTableReference { + id: string + name: string + tableType?: string + href: string + browserLink: string + parent?: RawReference +} + +export function mapTableReference(table: RawCodaTableReference): CodaTableReference { + return { + id: table.id, + name: table.name, + tableType: table.tableType ?? null, + href: table.href, + browserLink: table.browserLink, + parent: mapPageRef(table.parent), + } +} + +export interface RawCodaTable extends RawCodaTableReference { + parentTable?: RawReference + displayColumn?: RawReference + rowCount?: number + sorts?: Array<{ column?: RawReference; direction?: string }> + layout?: string + filter?: { + valid?: boolean + isVolatile?: boolean + hasUserFormula?: boolean + hasTodayFormula?: boolean + hasNowFormula?: boolean + } + createdAt?: string + updatedAt?: string +} + +export function mapTable(table: RawCodaTable): CodaTable { + return { + ...mapTableReference(table), + parentTable: mapTableRef(table.parentTable), + displayColumnId: table.displayColumn?.id ?? null, + rowCount: table.rowCount ?? null, + sorts: (table.sorts ?? []).map((sort) => ({ + columnId: sort.column?.id ?? null, + direction: sort.direction ?? null, + })), + layout: table.layout ?? null, + filter: table.filter + ? { + valid: table.filter.valid ?? null, + isVolatile: table.filter.isVolatile ?? null, + hasUserFormula: table.filter.hasUserFormula ?? null, + hasTodayFormula: table.filter.hasTodayFormula ?? null, + hasNowFormula: table.filter.hasNowFormula ?? null, + } + : null, + createdAt: table.createdAt ?? null, + updatedAt: table.updatedAt ?? null, + } +} + +export interface RawCodaColumn { + id: string + name: string + href: string + display?: boolean + calculated?: boolean + formula?: string + defaultValue?: string + format?: Record & { type?: string; isArray?: boolean } + parent?: RawReference +} + +export function mapColumn(column: RawCodaColumn): CodaColumn { + return { + id: column.id, + name: column.name, + href: column.href, + display: column.display ?? null, + calculated: column.calculated ?? null, + formula: column.formula ?? null, + defaultValue: column.defaultValue ?? null, + format: column.format ?? null, + parentTable: mapTableRef(column.parent), + } +} + +export interface RawCodaRow { + id: string + name: string + index?: number + href: string + browserLink: string + createdAt?: string + updatedAt?: string + values?: Record + parent?: RawReference +} + +export function mapRow(row: RawCodaRow): CodaRow { + return { + id: row.id, + name: row.name, + index: row.index ?? null, + href: row.href, + browserLink: row.browserLink, + createdAt: row.createdAt ?? null, + updatedAt: row.updatedAt ?? null, + values: row.values ?? {}, + parentTable: mapTableRef(row.parent), + } +} + +export interface RawCodaNamedReference { + id: string + name: string + href: string + parent?: RawReference +} + +export function mapNamedReference(item: RawCodaNamedReference): CodaNamedReference { + return { + id: item.id, + name: item.name, + href: item.href, + parent: mapPageRef(item.parent), + } +} + +export function mapFormula(item: RawCodaNamedReference & { value?: unknown }): CodaFormula { + return { ...mapNamedReference(item), value: item.value ?? null } +} + +export function mapControl( + item: RawCodaNamedReference & { controlType?: string; value?: unknown } +): CodaControl { + return { + ...mapNamedReference(item), + controlType: item.controlType ?? null, + value: item.value ?? null, + } +} + +export interface RawCodaFolder { + id: string + name?: string + browserLink?: string + description?: string + icon?: RawIcon + iconColor?: string + createdAt?: string + canEdit?: boolean + workspace?: RawCodaWorkspaceReference + visibility?: string +} + +export function mapFolder(folder: RawCodaFolder): CodaFolder { + return { + id: folder.id, + name: folder.name ?? null, + browserLink: folder.browserLink ?? null, + description: folder.description ?? null, + icon: mapIcon(folder.icon), + iconColor: folder.iconColor ?? null, + createdAt: folder.createdAt ?? null, + canEdit: folder.canEdit ?? null, + workspace: mapWorkspaceRef(folder.workspace), + } +} + +export interface RawCodaPermission { + id: string + access: string + principal?: { + type?: string + email?: string + groupId?: string + groupName?: string + domain?: string + workspaceId?: string + internalAccessType?: string + } +} + +export function mapPermission(permission: RawCodaPermission): CodaPermission { + const principal = permission.principal + return { + id: permission.id, + access: permission.access, + principal: { + type: principal?.type ?? null, + email: principal?.email ?? null, + groupId: principal?.groupId ?? null, + groupName: principal?.groupName ?? null, + domain: principal?.domain ?? null, + workspaceId: principal?.workspaceId ?? null, + internalAccessType: principal?.internalAccessType ?? null, + }, + } +} + +export const NEXT_PAGE_TOKEN_OUTPUT = { + type: 'string', + description: 'Token to pass as pageToken to fetch the next page of results', + nullable: true, +} as const satisfies OutputProperty + +export const REQUEST_ID_OUTPUT = { + type: 'string', + description: + 'Coda request ID for the queued change; pass to Get Mutation Status to confirm it was applied', +} as const satisfies OutputProperty + +export const ICON_PROPERTIES = { + name: { type: 'string', description: 'Icon name', nullable: true }, + type: { type: 'string', description: 'Icon MIME type', nullable: true }, + browserLink: { type: 'string', description: 'Link to the icon image', nullable: true }, +} as const satisfies Record + +const PERSON_PROPERTIES = { + name: { type: 'string', description: 'Full name', nullable: true }, + email: { type: 'string', description: 'Email address', nullable: true }, +} as const satisfies Record + +const PAGE_REF_PROPERTIES = { + id: { type: 'string', description: 'Page ID' }, + name: { type: 'string', description: 'Page name', nullable: true }, + href: { type: 'string', description: 'API link to the page', nullable: true }, + browserLink: { type: 'string', description: 'Browser link to the page', nullable: true }, +} as const satisfies Record + +const TABLE_REF_PROPERTIES = { + id: { type: 'string', description: 'Table ID' }, + name: { type: 'string', description: 'Table name', nullable: true }, + tableType: { type: 'string', description: 'Table type (table or view)', nullable: true }, + href: { type: 'string', description: 'API link to the table', nullable: true }, + browserLink: { type: 'string', description: 'Browser link to the table', nullable: true }, +} as const satisfies Record + +export const WORKSPACE_REF_PROPERTIES = { + id: { type: 'string', description: 'Workspace ID' }, + name: { type: 'string', description: 'Workspace name', nullable: true }, + organizationId: { + type: 'string', + description: 'Organization bound to the workspace', + nullable: true, + }, + browserLink: { type: 'string', description: 'Browser link to the workspace', nullable: true }, +} as const satisfies Record + +export const DOC_PROPERTIES = { + id: { type: 'string', description: 'Doc ID' }, + name: { type: 'string', description: 'Doc name' }, + href: { type: 'string', description: 'API link to the doc' }, + browserLink: { type: 'string', description: 'Browser link to the doc' }, + icon: { type: 'object', description: 'Doc icon', nullable: true, properties: ICON_PROPERTIES }, + owner: { type: 'string', description: 'Email address of the doc owner', nullable: true }, + ownerName: { type: 'string', description: 'Name of the doc owner', nullable: true }, + createdAt: { type: 'string', description: 'Creation timestamp', nullable: true }, + updatedAt: { type: 'string', description: 'Last modified timestamp', nullable: true }, + workspace: { + type: 'object', + description: 'Workspace containing the doc', + nullable: true, + properties: WORKSPACE_REF_PROPERTIES, + }, + folder: { + type: 'object', + description: 'Folder containing the doc', + nullable: true, + properties: { + id: { type: 'string', description: 'Folder ID' }, + name: { type: 'string', description: 'Folder name', nullable: true }, + browserLink: { type: 'string', description: 'Browser link to the folder', nullable: true }, + }, + }, + sourceDoc: { + type: 'object', + description: 'Doc this doc was copied from', + nullable: true, + properties: { + id: { type: 'string', description: 'Source doc ID' }, + href: { type: 'string', description: 'API link to the source doc', nullable: true }, + browserLink: { + type: 'string', + description: 'Browser link to the source doc', + nullable: true, + }, + }, + }, + docSize: { + type: 'object', + description: 'Size of the doc', + nullable: true, + properties: { + totalRowCount: { type: 'number', description: 'Rows across all tables', nullable: true }, + tableAndViewCount: { type: 'number', description: 'Tables and views', nullable: true }, + baseTableCount: { type: 'number', description: 'Base tables', nullable: true }, + pageCount: { type: 'number', description: 'Pages', nullable: true }, + overApiSizeLimit: { + type: 'boolean', + description: 'Whether the doc is over the API size limit', + nullable: true, + }, + }, + }, + published: { + type: 'object', + description: 'Publishing settings, when the doc is published', + nullable: true, + properties: { + description: { type: 'string', description: 'Published description', nullable: true }, + browserLink: { type: 'string', description: 'Published doc link', nullable: true }, + imageLink: { type: 'string', description: 'Cover image link', nullable: true }, + discoverable: { + type: 'boolean', + description: 'Whether the doc is discoverable', + nullable: true, + }, + earnCredit: { + type: 'boolean', + description: 'Whether viewers must sign in so the owner earns credit', + nullable: true, + }, + mode: { type: 'string', description: 'Interaction mode (view, play, edit)', nullable: true }, + categories: { + type: 'array', + description: 'Category names', + items: { type: 'string', description: 'Category name' }, + }, + }, + }, +} as const satisfies Record + +export const PAGE_PROPERTIES = { + id: { type: 'string', description: 'Page ID' }, + name: { type: 'string', description: 'Page name' }, + subtitle: { type: 'string', description: 'Page subtitle', nullable: true }, + href: { type: 'string', description: 'API link to the page' }, + browserLink: { type: 'string', description: 'Browser link to the page' }, + contentType: { + type: 'string', + description: 'Page type (canvas, embed, or syncPage)', + nullable: true, + }, + isHidden: { type: 'boolean', description: 'Whether the page is hidden', nullable: true }, + isEffectivelyHidden: { + type: 'boolean', + description: 'Whether the page or any parent is hidden', + nullable: true, + }, + icon: { type: 'object', description: 'Page icon', nullable: true, properties: ICON_PROPERTIES }, + image: { + type: 'object', + description: 'Cover image', + nullable: true, + properties: { + browserLink: { type: 'string', description: 'Image link', nullable: true }, + type: { type: 'string', description: 'Image MIME type', nullable: true }, + width: { type: 'number', description: 'Width in pixels', nullable: true }, + height: { type: 'number', description: 'Height in pixels', nullable: true }, + }, + }, + parent: { + type: 'object', + description: 'Parent page', + nullable: true, + properties: PAGE_REF_PROPERTIES, + }, + children: { + type: 'array', + description: 'Direct subpages', + items: { type: 'object', properties: PAGE_REF_PROPERTIES }, + }, + authors: { + type: 'array', + description: 'Page authors', + items: { type: 'object', properties: PERSON_PROPERTIES }, + }, + createdAt: { type: 'string', description: 'Creation timestamp', nullable: true }, + createdBy: { + type: 'object', + description: 'Page creator', + nullable: true, + properties: PERSON_PROPERTIES, + }, + updatedAt: { type: 'string', description: 'Last content update timestamp', nullable: true }, + updatedBy: { + type: 'object', + description: 'Last editor of the page', + nullable: true, + properties: PERSON_PROPERTIES, + }, +} as const satisfies Record + +export const TABLE_REFERENCE_PROPERTIES = { + id: { type: 'string', description: 'Table ID' }, + name: { type: 'string', description: 'Table name' }, + tableType: { + type: 'string', + description: 'Table type (table, view, or database)', + nullable: true, + }, + href: { type: 'string', description: 'API link to the table' }, + browserLink: { type: 'string', description: 'Browser link to the table' }, + parent: { + type: 'object', + description: 'Page containing the table', + nullable: true, + properties: PAGE_REF_PROPERTIES, + }, +} as const satisfies Record + +export const TABLE_PROPERTIES = { + ...TABLE_REFERENCE_PROPERTIES, + parentTable: { + type: 'object', + description: 'Base table, when this is a view', + nullable: true, + properties: TABLE_REF_PROPERTIES, + }, + displayColumnId: { type: 'string', description: 'Display column ID', nullable: true }, + rowCount: { type: 'number', description: 'Total number of rows', nullable: true }, + sorts: { + type: 'array', + description: 'Sorts applied to the table', + items: { + type: 'object', + properties: { + columnId: { type: 'string', description: 'Sorted column ID', nullable: true }, + direction: { type: 'string', description: 'ascending or descending', nullable: true }, + }, + }, + }, + layout: { + type: 'string', + description: 'Layout (default, card, calendar, detail, form, ganttChart, etc.)', + nullable: true, + }, + filter: { + type: 'object', + description: 'Details about the table filter formula, if any', + nullable: true, + properties: { + valid: { + type: 'boolean', + description: 'Whether the filter formula is valid', + nullable: true, + }, + isVolatile: { + type: 'boolean', + description: 'Whether results can differ by context or user', + nullable: true, + }, + hasUserFormula: { type: 'boolean', description: 'Uses User()', nullable: true }, + hasTodayFormula: { type: 'boolean', description: 'Uses Today()', nullable: true }, + hasNowFormula: { type: 'boolean', description: 'Uses Now()', nullable: true }, + }, + }, + createdAt: { type: 'string', description: 'Creation timestamp', nullable: true }, + updatedAt: { type: 'string', description: 'Last modified timestamp', nullable: true }, +} as const satisfies Record + +export const COLUMN_PROPERTIES = { + id: { type: 'string', description: 'Column ID' }, + name: { type: 'string', description: 'Column name' }, + href: { type: 'string', description: 'API link to the column' }, + display: { type: 'boolean', description: 'Whether this is the display column', nullable: true }, + calculated: { + type: 'boolean', + description: 'Whether the column has a formula', + nullable: true, + }, + formula: { type: 'string', description: 'Column formula', nullable: true }, + defaultValue: { type: 'string', description: 'Default value formula', nullable: true }, + format: { + type: 'json', + description: + 'Column format: always type (text, number, date, select, lookup, button, etc.) and isArray, plus type-specific settings such as precision, currencyCode, dateFormat, options, or the referenced table', + nullable: true, + }, + parentTable: { + type: 'object', + description: 'Table containing the column (returned by Get Column)', + nullable: true, + properties: TABLE_REF_PROPERTIES, + }, +} as const satisfies Record + +export const ROW_PROPERTIES = { + id: { type: 'string', description: 'Row ID' }, + name: { type: 'string', description: 'Row display name' }, + index: { type: 'number', description: 'Index of the row in the table', nullable: true }, + href: { type: 'string', description: 'API link to the row' }, + browserLink: { type: 'string', description: 'Browser link to the row' }, + createdAt: { type: 'string', description: 'Creation timestamp', nullable: true }, + updatedAt: { type: 'string', description: 'Last modified timestamp', nullable: true }, + values: { + type: 'json', + description: 'Cell values keyed by column ID (or column name when useColumnNames is set)', + }, + parentTable: { + type: 'object', + description: 'Table containing the row (returned by Get Row)', + nullable: true, + properties: TABLE_REF_PROPERTIES, + }, +} as const satisfies Record + +export const NAMED_REFERENCE_PROPERTIES = { + id: { type: 'string', description: 'ID' }, + name: { type: 'string', description: 'Name' }, + href: { type: 'string', description: 'API link' }, + parent: { + type: 'object', + description: 'Page containing the item', + nullable: true, + properties: PAGE_REF_PROPERTIES, + }, +} as const satisfies Record + +export const FOLDER_PROPERTIES = { + id: { type: 'string', description: 'Folder ID' }, + name: { type: 'string', description: 'Folder name', nullable: true }, + browserLink: { type: 'string', description: 'Browser link to the folder', nullable: true }, + description: { type: 'string', description: 'Folder description', nullable: true }, + icon: { + type: 'object', + description: 'Folder icon', + nullable: true, + properties: ICON_PROPERTIES, + }, + iconColor: { type: 'string', description: 'Folder icon color', nullable: true }, + createdAt: { type: 'string', description: 'Creation timestamp', nullable: true }, + canEdit: { + type: 'boolean', + description: 'Whether the folder settings can be edited', + nullable: true, + }, + workspace: { + type: 'object', + description: 'Workspace containing the folder', + nullable: true, + properties: WORKSPACE_REF_PROPERTIES, + }, +} as const satisfies Record + +/** Subfolders you cannot access carry only `id` and `visibility`, so their other fields are null. */ +export const FOLDER_CHILD_PROPERTIES = omit(FOLDER_PROPERTIES, ['icon']) + +export const PERMISSION_PROPERTIES = { + id: { type: 'string', description: 'Permission ID' }, + access: { type: 'string', description: 'Access level (readonly, write, comment, none)' }, + principal: { + type: 'object', + description: 'Who the permission is granted to', + properties: { + type: { + type: 'string', + description: 'Principal type (email, group, domain, workspace, anyone, internalAccess)', + nullable: true, + }, + email: { type: 'string', description: 'Email of an email principal', nullable: true }, + groupId: { type: 'string', description: 'Group ID of a group principal', nullable: true }, + groupName: { type: 'string', description: 'Name of a group principal', nullable: true }, + domain: { type: 'string', description: 'Domain of a domain principal', nullable: true }, + workspaceId: { + type: 'string', + description: 'Workspace ID of a workspace principal', + nullable: true, + }, + internalAccessType: { + type: 'string', + description: 'Internal access type (e.g., support)', + nullable: true, + }, + }, + }, +} as const satisfies Record + +export const DOC_ID_PARAM = { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'ID of the doc (e.g., "AbCDeFGH")', +} as const + +export const PAGE_ID_PARAM = { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: + 'ID or name of the page (IDs are recommended, e.g., "canvas-IjkLmnO"; names containing "/" are not supported)', +} as const + +export const TABLE_ID_PARAM = { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: + 'ID or name of the table or view (IDs are recommended, e.g., "grid-pqRst-U"; names containing "/" are not supported)', +} as const + +export const ROW_ID_PARAM = { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: + 'ID or name of the row (IDs are recommended, e.g., "i-tuVwxYz"; names containing "/" are not supported)', +} as const + +export const WORKSPACE_ID_PARAM = { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'ID of the workspace (e.g., "ws-1Ab234")', +} as const + +export const FOLDER_ID_PARAM = { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'ID of the folder (e.g., "fl-1Ab234")', +} as const + +export const LIMIT_PARAM = { + type: 'number', + required: false, + visibility: 'user-or-llm', + description: 'Maximum number of results to return per page', +} as const + +export const PAGE_TOKEN_PARAM = { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Page token from a previous response to fetch the next page', +} as const + +export const SORT_BY_NAME_PARAM = { + type: 'string', + required: false, + visibility: 'user-or-llm', + description: 'Sort order; "name" sorts alphabetically', +} as const + +export const CUSTOM_DOMAIN_PARAM = { + type: 'string', + required: true, + visibility: 'user-or-llm', + description: 'The custom domain (e.g., "docs.example.com")', +} as const + +export const ACL_SETTINGS_OUTPUTS = { + allowEditorsToChangePermissions: { + type: 'boolean', + description: 'Whether editors can change doc permissions (otherwise only the owner can)', + }, + allowCopying: { type: 'boolean', description: 'Whether viewers can copy the doc' }, + allowViewersToRequestEditing: { + type: 'boolean', + description: 'Whether viewers can request edit access', + }, +} as const satisfies Record diff --git a/apps/sim/tools/coda/whoami.ts b/apps/sim/tools/coda/whoami.ts new file mode 100644 index 00000000000..bce21f4432c --- /dev/null +++ b/apps/sim/tools/coda/whoami.ts @@ -0,0 +1,73 @@ +import type { CodaAuthParams, CodaWhoamiResponse } from '@/tools/coda/types' +import { + buildCodaUrl, + CODA_RETRY, + codaAuthParams, + codaHeaders, + codaOAuth, + mapWorkspaceRef, + type RawCodaWorkspaceReference, + WORKSPACE_REF_PROPERTIES, +} from '@/tools/coda/utils' +import { ErrorExtractorId } from '@/tools/error-extractors' +import type { ToolConfig } from '@/tools/types' + +interface RawWhoami { + name: string + loginId: string + pictureLink?: string + scoped?: boolean + tokenName?: string + workspace?: RawCodaWorkspaceReference +} + +export const codaWhoamiTool: ToolConfig = { + id: 'coda_whoami', + name: 'Coda Get Current User', + description: 'Get the user and default workspace behind the connected Coda API token', + version: '1.0.0', + oauth: codaOAuth, + errorExtractor: ErrorExtractorId.CODA_ERRORS, + + params: { ...codaAuthParams }, + + request: { + url: () => buildCodaUrl('/whoami'), + method: 'GET', + retry: CODA_RETRY, + headers: (params) => codaHeaders(params.accessToken), + }, + + transformResponse: async (response) => { + const data = (await response.json()) as RawWhoami + return { + success: true, + output: { + name: data.name, + loginId: data.loginId, + pictureLink: data.pictureLink ?? null, + scoped: data.scoped ?? null, + tokenName: data.tokenName ?? null, + workspace: mapWorkspaceRef(data.workspace), + }, + } + }, + + outputs: { + name: { type: 'string', description: 'Name of the user' }, + loginId: { type: 'string', description: 'Email address of the user' }, + pictureLink: { type: 'string', description: 'Link to the user avatar', nullable: true }, + scoped: { + type: 'boolean', + description: 'Whether the token is restricted to specific docs or tables', + nullable: true, + }, + tokenName: { type: 'string', description: 'Name of the API token', nullable: true }, + workspace: { + type: 'object', + description: 'Default workspace of the user', + nullable: true, + properties: WORKSPACE_REF_PROPERTIES, + }, + }, +} diff --git a/apps/sim/tools/error-extractors.ts b/apps/sim/tools/error-extractors.ts index a033d6acf67..1177c38c642 100644 --- a/apps/sim/tools/error-extractors.ts +++ b/apps/sim/tools/error-extractors.ts @@ -50,6 +50,41 @@ interface ErrorExtractorConfig { redactData?: (errorInfo?: ErrorInfo) => unknown } +const CODA_MAX_VALIDATION_MESSAGES = 5 + +/** + * Flattens Coda's validation detail (`validationErrors` or nested schema `issues`) into + * `path: message` strings. Only Coda's own path and message text is used, never the + * submitted values. + */ +function collectCodaValidationMessages(detail: unknown): string[] { + const messages = new Set() + const visit = (issue: unknown) => { + if (messages.size >= CODA_MAX_VALIDATION_MESSAGES || !issue || typeof issue !== 'object') return + const record = issue as { path?: unknown; message?: unknown; errors?: unknown } + if (Array.isArray(record.errors) && record.errors.length > 0) { + for (const branch of record.errors) { + if (Array.isArray(branch)) branch.forEach(visit) + else visit(branch) + } + return + } + if (typeof record.message !== 'string' || !record.message) return + const path = Array.isArray(record.path) + ? record.path.filter((part) => typeof part === 'string' || typeof part === 'number').join('.') + : typeof record.path === 'string' + ? record.path + : '' + messages.add(path ? `${path}: ${record.message}` : record.message) + } + if (detail && typeof detail === 'object') { + const { validationErrors, issues } = detail as { validationErrors?: unknown; issues?: unknown } + if (Array.isArray(validationErrors)) validationErrors.forEach(visit) + if (Array.isArray(issues)) issues.forEach(visit) + } + return [...messages] +} + const PITCHBOOK_UNAUTHORIZED_MESSAGE = 'PitchBook rejected the API key. Check that the key is active and has API access.' @@ -234,6 +269,23 @@ const ERROR_EXTRACTORS: ErrorExtractorConfig[] = [ examples: ['Notion', 'Discord', 'GitHub', 'Twilio', 'Slack'], extract: (errorInfo) => errorInfo?.data?.message, }, + { + id: 'coda-errors', + description: + 'Coda (Superhuman Docs) API errors: the `message` field, or the field-level validation issues under `codaDetail` when the message is only the generic HTTP status text', + examples: ['Coda'], + extract: (errorInfo) => { + const data = errorInfo?.data + if (!data || typeof data !== 'object' || Array.isArray(data)) return undefined + const message = typeof data.message === 'string' ? data.message.trim() : '' + const generic = !message || message === data.statusMessage + if (!generic) return message + const details = collectCodaValidationMessages(data.codaDetail) + const status = message || (typeof data.statusMessage === 'string' ? data.statusMessage : '') + if (details.length > 0) return `${status || 'Invalid request'}: ${details.join('; ')}` + return status || undefined + }, + }, { id: 'harmonic-errors', description: @@ -618,6 +670,7 @@ export const ErrorExtractorId = { TELEGRAM_DESCRIPTION: 'telegram-description', STANDARD_MESSAGE: 'standard-message', HARMONIC_ERRORS: 'harmonic-errors', + CODA_ERRORS: 'coda-errors', SOAP_FAULT: 'soap-fault', OAUTH_ERROR_DESCRIPTION: 'oauth-error-description', NESTED_ERROR_OBJECT: 'nested-error-object', diff --git a/apps/sim/tools/generated/tool-ids.ts b/apps/sim/tools/generated/tool-ids.ts index 67aa132eb1a..4925d58cea9 100644 --- a/apps/sim/tools/generated/tool-ids.ts +++ b/apps/sim/tools/generated/tool-ids.ts @@ -3,7 +3,7 @@ /** Every registered tool id, including versioned variants. */ const toolIds: string[] = JSON.parse( - '["a2a_cancel_task","a2a_get_agent_card","a2a_get_task","a2a_send_message","affinity_batch_update_entity_fields","affinity_batch_update_list_entry_fields","affinity_create_list","affinity_create_list_field_dropdown_option","affinity_create_merge","affinity_create_note","affinity_create_reminder","affinity_delete_list_field_dropdown_option","affinity_delete_note","affinity_get_company","affinity_get_current_user","affinity_get_entity_field_value","affinity_get_list","affinity_get_list_entry","affinity_get_list_entry_field","affinity_get_list_field_dropdown_option","affinity_get_merge","affinity_get_merge_task","affinity_get_note","affinity_get_opportunity","affinity_get_person","affinity_get_saved_view","affinity_get_transcript","affinity_get_user","affinity_list_calls","affinity_list_chat_messages","affinity_list_companies","affinity_list_coworker_connections","affinity_list_emails","affinity_list_entity_field_values","affinity_list_entity_list_entries","affinity_list_entity_lists","affinity_list_entity_notes","affinity_list_entity_relationships","affinity_list_field_dropdown_options","affinity_list_field_metadata","affinity_list_field_value_changes","affinity_list_investor_executive_connections","affinity_list_list_entries","affinity_list_list_entry_field_value_changes","affinity_list_list_entry_fields","affinity_list_list_field_dropdown_options","affinity_list_list_fields","affinity_list_lists","affinity_list_meetings","affinity_list_merge_tasks","affinity_list_merges","affinity_list_note_attached_companies","affinity_list_note_attached_opportunities","affinity_list_note_attached_persons","affinity_list_note_replies","affinity_list_notes","affinity_list_opportunities","affinity_list_persons","affinity_list_reminders","affinity_list_saved_view_entries","affinity_list_saved_views","affinity_list_transcript_fragments","affinity_list_transcripts","affinity_list_users","affinity_search_companies","affinity_search_files","affinity_search_list_entries","affinity_search_notes","affinity_search_persons","affinity_semantic_search","affinity_update_entity_field_value","affinity_update_list_entry_field","affinity_update_list_field_dropdown_option","affinity_update_note","agentmail_create_draft","agentmail_create_inbox","agentmail_delete_draft","agentmail_delete_inbox","agentmail_delete_thread","agentmail_forward_message","agentmail_get_draft","agentmail_get_inbox","agentmail_get_message","agentmail_get_thread","agentmail_list_drafts","agentmail_list_inboxes","agentmail_list_messages","agentmail_list_threads","agentmail_reply_message","agentmail_send_draft","agentmail_send_message","agentmail_update_draft","agentmail_update_inbox","agentmail_update_message","agentmail_update_thread","agentphone_create_call","agentphone_create_contact","agentphone_create_number","agentphone_delete_contact","agentphone_get_call","agentphone_get_call_transcript","agentphone_get_contact","agentphone_get_conversation","agentphone_get_conversation_messages","agentphone_get_number_messages","agentphone_get_usage","agentphone_get_usage_daily","agentphone_get_usage_monthly","agentphone_list_calls","agentphone_list_contacts","agentphone_list_conversations","agentphone_list_numbers","agentphone_react_to_message","agentphone_release_number","agentphone_send_message","agentphone_update_contact","agentphone_update_conversation","agiloft_async_status","agiloft_attach_file","agiloft_attachment_info","agiloft_create_record","agiloft_delete_record","agiloft_get_choice_line_id","agiloft_list_tables","agiloft_lock_record","agiloft_nlp_search","agiloft_read_record","agiloft_remove_attachment","agiloft_retrieve_attachment","agiloft_run_action_button","agiloft_saved_search","agiloft_search_records","agiloft_select_records","agiloft_update_record","agiloft_upsert_record","ahrefs_anchors","ahrefs_backlinks","ahrefs_backlinks_stats","ahrefs_batch_analysis","ahrefs_broken_backlinks","ahrefs_domain_rating","ahrefs_domain_rating_history","ahrefs_keyword_overview","ahrefs_keywords_history","ahrefs_metrics","ahrefs_metrics_history","ahrefs_organic_competitors","ahrefs_organic_keywords","ahrefs_paid_pages","ahrefs_rank_tracker_competitors_overview","ahrefs_rank_tracker_competitors_stats","ahrefs_rank_tracker_overview","ahrefs_rank_tracker_serp_overview","ahrefs_refdomains_history","ahrefs_referring_domains","ahrefs_related_terms","ahrefs_site_audit_page_explorer","ahrefs_top_pages","airtable_create_records","airtable_delete_records","airtable_get_base_schema","airtable_get_record","airtable_list_bases","airtable_list_records","airtable_list_tables","airtable_update_multiple_records","airtable_update_record","airtable_upsert_records","airweave_search","algolia_add_record","algolia_batch_operations","algolia_browse_records","algolia_clear_records","algolia_copy_move_index","algolia_delete_by_filter","algolia_delete_index","algolia_delete_record","algolia_get_record","algolia_get_records","algolia_get_settings","algolia_get_task_status","algolia_list_indices","algolia_partial_update_record","algolia_search","algolia_update_settings","amplitude_event_segmentation","amplitude_funnels","amplitude_get_active_users","amplitude_get_revenue","amplitude_group_identify","amplitude_identify_user","amplitude_list_events","amplitude_realtime_active_users","amplitude_retention","amplitude_send_event","amplitude_user_activity","amplitude_user_profile","amplitude_user_search","apify_get_dataset_items","apify_get_run","apify_run_actor_async","apify_run_actor_sync","apify_run_task","apollo_account_bulk_create","apollo_account_bulk_update","apollo_account_create","apollo_account_search","apollo_account_update","apollo_contact_bulk_create","apollo_contact_bulk_update","apollo_contact_create","apollo_contact_search","apollo_contact_update","apollo_email_accounts","apollo_opportunity_create","apollo_opportunity_get","apollo_opportunity_search","apollo_opportunity_update","apollo_organization_bulk_enrich","apollo_organization_enrich","apollo_organization_search","apollo_people_bulk_enrich","apollo_people_enrich","apollo_people_search","apollo_sequence_add_contacts","apollo_sequence_search","apollo_task_create","apollo_task_search","appconfig_create_application","appconfig_create_configuration_profile","appconfig_create_environment","appconfig_create_hosted_configuration_version","appconfig_delete_application","appconfig_delete_configuration_profile","appconfig_delete_environment","appconfig_delete_hosted_configuration_version","appconfig_get_application","appconfig_get_configuration","appconfig_get_configuration_profile","appconfig_get_deployment","appconfig_get_environment","appconfig_get_hosted_configuration_version","appconfig_list_applications","appconfig_list_configuration_profiles","appconfig_list_deployment_strategies","appconfig_list_deployments","appconfig_list_environments","appconfig_list_hosted_configuration_versions","appconfig_start_deployment","appconfig_stop_deployment","appconfig_update_application","appconfig_update_configuration_profile","appconfig_update_environment","arxiv_get_author_papers","arxiv_get_paper","arxiv_search","asana_add_comment","asana_add_followers","asana_create_project","asana_create_section","asana_create_subtask","asana_create_task","asana_delete_task","asana_get_project","asana_get_projects","asana_get_task","asana_list_sections","asana_list_workspaces","asana_search_tasks","asana_update_task","ashby_add_candidate_tag","ashby_anonymize_candidate","ashby_change_application_source","ashby_change_application_stage","ashby_create_application","ashby_create_candidate","ashby_create_note","ashby_delete_application","ashby_get_application","ashby_get_candidate","ashby_get_job","ashby_get_job_posting","ashby_get_offer","ashby_get_opening","ashby_list_application_feedback","ashby_list_application_history","ashby_list_applications","ashby_list_archive_reasons","ashby_list_candidate_tags","ashby_list_candidates","ashby_list_custom_fields","ashby_list_departments","ashby_list_interview_plans","ashby_list_interview_stages","ashby_list_interviews","ashby_list_job_postings","ashby_list_jobs","ashby_list_locations","ashby_list_notes","ashby_list_offers","ashby_list_openings","ashby_list_sources","ashby_list_users","ashby_remove_candidate_tag","ashby_search_candidates","ashby_search_jobs","ashby_search_openings","ashby_search_users","ashby_set_custom_field_value","ashby_set_custom_field_values","ashby_transfer_application","ashby_update_candidate","ashby_upload_candidate_file","ashby_upload_resume","athena_batch_get_named_query","athena_batch_get_prepared_statement","athena_batch_get_query_execution","athena_create_named_query","athena_create_prepared_statement","athena_delete_named_query","athena_delete_prepared_statement","athena_get_data_catalog","athena_get_database","athena_get_named_query","athena_get_prepared_statement","athena_get_query_execution","athena_get_query_results","athena_get_query_runtime_statistics","athena_get_table_metadata","athena_get_work_group","athena_list_data_catalogs","athena_list_databases","athena_list_named_queries","athena_list_prepared_statements","athena_list_query_executions","athena_list_table_metadata","athena_list_work_groups","athena_start_query","athena_stop_query","athena_update_named_query","athena_update_prepared_statement","attio_assert_record","attio_create_attribute","attio_create_comment","attio_create_list","attio_create_list_entry","attio_create_note","attio_create_object","attio_create_record","attio_create_task","attio_create_webhook","attio_delete_comment","attio_delete_list_entry","attio_delete_note","attio_delete_record","attio_delete_task","attio_delete_webhook","attio_get_attribute","attio_get_comment","attio_get_list","attio_get_list_entry","attio_get_member","attio_get_note","attio_get_object","attio_get_record","attio_get_task","attio_get_thread","attio_get_webhook","attio_list_attributes","attio_list_lists","attio_list_members","attio_list_notes","attio_list_objects","attio_list_records","attio_list_tasks","attio_list_threads","attio_list_webhooks","attio_query_list_entries","attio_search_records","attio_update_attribute","attio_update_list","attio_update_list_entry","attio_update_object","attio_update_record","attio_update_task","attio_update_webhook","azure_data_explorer_create_table","azure_data_explorer_drop_table","azure_data_explorer_ingest_from_query","azure_data_explorer_ingest_inline","azure_data_explorer_list_databases","azure_data_explorer_list_functions","azure_data_explorer_list_tables","azure_data_explorer_management","azure_data_explorer_query","azure_data_explorer_show_database_schema","azure_data_explorer_show_ingestion_failures","azure_data_explorer_show_operations","azure_data_explorer_show_table_details","azure_data_explorer_show_table_schema","azure_devops_add_comment","azure_devops_create_work_item","azure_devops_get_build_log","azure_devops_get_build_timeline","azure_devops_get_comments","azure_devops_get_pipeline","azure_devops_get_pipeline_run","azure_devops_get_work_item","azure_devops_get_work_items_batch","azure_devops_get_work_items_between_builds","azure_devops_list_build_logs","azure_devops_list_builds","azure_devops_list_pipeline_runs","azure_devops_list_pipelines","azure_devops_query_work_items","azure_devops_update_work_item","bitbucket_approve_pull_request","bitbucket_create_branch","bitbucket_create_pull_request","bitbucket_create_pull_request_comment","bitbucket_decline_pull_request","bitbucket_delete_branch","bitbucket_get_commit","bitbucket_get_file","bitbucket_get_file_metadata","bitbucket_get_pipeline","bitbucket_get_pipeline_step_log","bitbucket_get_pull_request","bitbucket_get_pull_request_diff","bitbucket_get_pull_request_diffstat","bitbucket_get_pull_request_merge_task_status","bitbucket_get_repository","bitbucket_list_branches","bitbucket_list_commits","bitbucket_list_directory","bitbucket_list_pipeline_steps","bitbucket_list_pipelines","bitbucket_list_pull_request_comments","bitbucket_list_pull_request_commit_statuses","bitbucket_list_pull_requests","bitbucket_list_repositories","bitbucket_list_workspaces","bitbucket_merge_pull_request","bitbucket_request_pull_request_changes","bitbucket_stop_pipeline","bitbucket_trigger_pipeline","box_copy_file","box_create_folder","box_delete_file","box_delete_folder","box_download_file","box_download_file_v2","box_get_file_info","box_list_folder_items","box_search","box_sign_cancel_request","box_sign_create_request","box_sign_get_request","box_sign_list_requests","box_sign_resend_request","box_update_file","box_upload_file","brandfetch_get_brand","brandfetch_search","brex_archive_budget","brex_create_budget","brex_create_spend_limit","brex_create_transfer","brex_create_vendor","brex_get_budget","brex_get_cash_account","brex_get_company","brex_get_current_user","brex_get_expense","brex_get_spend_limit","brex_get_transfer","brex_get_user","brex_get_vendor","brex_list_budgets","brex_list_card_accounts","brex_list_card_statements","brex_list_card_transactions","brex_list_cards","brex_list_cash_accounts","brex_list_cash_statements","brex_list_cash_transactions","brex_list_departments","brex_list_expenses","brex_list_locations","brex_list_spend_limits","brex_list_titles","brex_list_transfers","brex_list_users","brex_list_vendors","brex_match_receipt","brex_update_expense","brex_update_vendor","brex_upload_receipt","brightdata_cancel_snapshot","brightdata_discover","brightdata_download_snapshot","brightdata_scrape_dataset","brightdata_scrape_url","brightdata_serp_search","brightdata_snapshot_status","brightdata_sync_scrape","browser_use_run_task","buffer_create_idea","buffer_create_post","buffer_delete_post","buffer_edit_post","buffer_get_account","buffer_get_channels","buffer_get_idea_groups","buffer_get_ideas","buffer_get_post","buffer_get_posts","calcom_cancel_booking","calcom_confirm_booking","calcom_create_booking","calcom_create_event_type","calcom_create_schedule","calcom_decline_booking","calcom_delete_event_type","calcom_delete_schedule","calcom_get_booking","calcom_get_default_schedule","calcom_get_event_type","calcom_get_schedule","calcom_get_slots","calcom_list_bookings","calcom_list_event_types","calcom_list_schedules","calcom_reschedule_booking","calcom_update_event_type","calcom_update_schedule","calendly_cancel_event","calendly_create_event_invitee","calendly_create_invitee_no_show","calendly_create_scheduling_link","calendly_create_webhook","calendly_delete_invitee_no_show","calendly_delete_webhook","calendly_get_current_user","calendly_get_event_invitee","calendly_get_event_type","calendly_get_scheduled_event","calendly_get_user","calendly_list_event_invitees","calendly_list_event_type_available_times","calendly_list_event_types","calendly_list_organization_memberships","calendly_list_routing_form_submissions","calendly_list_routing_forms","calendly_list_scheduled_events","calendly_list_user_availability_schedules","calendly_list_user_busy_times","calendly_list_webhooks","cbinsights_chat","cbinsights_get_commercial_maturity_history","cbinsights_get_exit_probability_history","cbinsights_get_mosaic_history","cbinsights_get_org_business_relationships","cbinsights_get_org_funding_window","cbinsights_get_org_fundings","cbinsights_get_org_investments","cbinsights_get_org_management_and_board","cbinsights_get_org_outlook","cbinsights_get_org_portfolio_exits","cbinsights_get_org_revenue","cbinsights_get_scouting_report","cbinsights_get_strategy_map","cbinsights_list_business_relationships","cbinsights_list_funding_window","cbinsights_list_fundings","cbinsights_list_investments","cbinsights_list_management_and_board","cbinsights_list_outlook","cbinsights_list_portfolio_exits","cbinsights_list_revenue","cbinsights_lookup_organizations","cbinsights_rag","cbinsights_search_firmographics","circleback_add_tag_to_meetings","circleback_create_tag","circleback_delete_action_item","circleback_delete_meeting","circleback_delete_tag","circleback_get_company","circleback_get_meeting","circleback_get_person","circleback_get_transcript","circleback_list_action_items","circleback_list_calendar_events","circleback_list_companies","circleback_list_meetings","circleback_list_people","circleback_list_tags","circleback_remove_tag_from_meetings","circleback_search_meetings","circleback_update_action_item","circleback_update_meeting","circleback_update_tag","clay_populate","clerk_add_organization_member","clerk_ban_user","clerk_create_actor_token","clerk_create_allowlist_identifier","clerk_create_blocklist_identifier","clerk_create_organization","clerk_create_organization_invitation","clerk_create_user","clerk_delete_allowlist_identifier","clerk_delete_blocklist_identifier","clerk_delete_organization","clerk_delete_user","clerk_get_jwt_template","clerk_get_organization","clerk_get_session","clerk_get_user","clerk_get_user_oauth_token","clerk_list_allowlist_identifiers","clerk_list_blocklist_identifiers","clerk_list_jwt_templates","clerk_list_organization_invitations","clerk_list_organization_memberships","clerk_list_organizations","clerk_list_sessions","clerk_list_users","clerk_lock_user","clerk_remove_organization_member","clerk_revoke_actor_token","clerk_revoke_session","clerk_unban_user","clerk_unlock_user","clerk_update_organization","clerk_update_organization_membership","clerk_update_user","clickhouse_count_rows","clickhouse_create_database","clickhouse_create_table","clickhouse_delete","clickhouse_describe_table","clickhouse_drop_database","clickhouse_drop_partition","clickhouse_drop_table","clickhouse_execute","clickhouse_insert","clickhouse_insert_rows","clickhouse_introspect","clickhouse_kill_query","clickhouse_list_clusters","clickhouse_list_databases","clickhouse_list_mutations","clickhouse_list_partitions","clickhouse_list_running_queries","clickhouse_list_tables","clickhouse_optimize_table","clickhouse_query","clickhouse_rename_table","clickhouse_show_create_table","clickhouse_table_stats","clickhouse_truncate_table","clickhouse_update","clickup_add_tag_to_task","clickup_create_checklist","clickup_create_checklist_item","clickup_create_comment","clickup_create_folder","clickup_create_list","clickup_create_task","clickup_create_time_entry","clickup_delete_checklist","clickup_delete_checklist_item","clickup_delete_comment","clickup_delete_task","clickup_delete_time_entry","clickup_get_comments","clickup_get_custom_fields","clickup_get_folders","clickup_get_list_members","clickup_get_lists","clickup_get_running_timer","clickup_get_space_tags","clickup_get_spaces","clickup_get_task","clickup_get_task_members","clickup_get_tasks","clickup_get_time_entries","clickup_get_workspaces","clickup_remove_custom_field_value","clickup_remove_tag_from_task","clickup_search_tasks","clickup_set_custom_field_value","clickup_start_timer","clickup_stop_timer","clickup_update_checklist","clickup_update_checklist_item","clickup_update_comment","clickup_update_task","clickup_update_time_entry","clickup_upload_attachment","cloudflare_create_access_application","cloudflare_create_access_policy","cloudflare_create_access_service_token","cloudflare_create_dns_record","cloudflare_create_r2_bucket","cloudflare_create_rate_limit_rule","cloudflare_create_ruleset","cloudflare_create_ruleset_rule","cloudflare_create_zone","cloudflare_delete_access_application","cloudflare_delete_access_policy","cloudflare_delete_dns_record","cloudflare_delete_r2_bucket","cloudflare_delete_ruleset_rule","cloudflare_delete_zone","cloudflare_dns_analytics","cloudflare_get_access_application","cloudflare_get_r2_bucket","cloudflare_get_ruleset","cloudflare_get_ruleset_entrypoint","cloudflare_get_tunnel","cloudflare_get_tunnel_configuration","cloudflare_get_worker_script_settings","cloudflare_get_zone","cloudflare_get_zone_settings","cloudflare_list_access_applications","cloudflare_list_access_groups","cloudflare_list_access_identity_providers","cloudflare_list_access_policies","cloudflare_list_access_service_tokens","cloudflare_list_certificates","cloudflare_list_dns_records","cloudflare_list_managed_ruleset_overrides","cloudflare_list_r2_buckets","cloudflare_list_rate_limit_rules","cloudflare_list_rulesets","cloudflare_list_tunnels","cloudflare_list_worker_routes","cloudflare_list_worker_scripts","cloudflare_list_zones","cloudflare_purge_cache","cloudflare_revoke_access_service_token","cloudflare_update_access_application","cloudflare_update_access_policy","cloudflare_update_dns_record","cloudflare_update_rate_limit_rule","cloudflare_update_ruleset_rule","cloudflare_update_zone_setting","cloudformation_cancel_update_stack","cloudformation_create_change_set","cloudformation_create_stack","cloudformation_delete_stack","cloudformation_describe_change_set","cloudformation_describe_stack_drift_detection_status","cloudformation_describe_stack_events","cloudformation_describe_stacks","cloudformation_detect_stack_drift","cloudformation_execute_change_set","cloudformation_get_template","cloudformation_get_template_summary","cloudformation_list_stack_resources","cloudformation_update_stack","cloudformation_validate_template","cloudtrail_cancel_query","cloudtrail_describe_query","cloudtrail_describe_trails","cloudtrail_get_event_data_store","cloudtrail_get_event_selectors","cloudtrail_get_insight_selectors","cloudtrail_get_query_results","cloudtrail_get_trail","cloudtrail_get_trail_status","cloudtrail_list_event_data_stores","cloudtrail_list_tags","cloudtrail_list_trails","cloudtrail_lookup_events","cloudtrail_start_query","cloudwatch_describe_alarm_history","cloudwatch_describe_alarms","cloudwatch_describe_log_groups","cloudwatch_describe_log_streams","cloudwatch_filter_log_events","cloudwatch_get_log_events","cloudwatch_get_metric_statistics","cloudwatch_list_metrics","cloudwatch_mute_alarm","cloudwatch_put_log_group_retention","cloudwatch_put_metric_data","cloudwatch_query_logs","cloudwatch_unmute_alarm","codepipeline_disable_stage_transition","codepipeline_enable_stage_transition","codepipeline_get_pipeline","codepipeline_get_pipeline_execution","codepipeline_get_pipeline_state","codepipeline_list_action_executions","codepipeline_list_pipeline_executions","codepipeline_list_pipelines","codepipeline_put_approval_result","codepipeline_retry_stage_execution","codepipeline_start_execution","codepipeline_stop_execution","confluence_add_label","confluence_create_blogpost","confluence_create_comment","confluence_create_page","confluence_create_page_property","confluence_create_space","confluence_create_space_property","confluence_delete_attachment","confluence_delete_blogpost","confluence_delete_comment","confluence_delete_label","confluence_delete_page","confluence_delete_page_property","confluence_delete_space","confluence_delete_space_property","confluence_get_blogpost","confluence_get_page_ancestors","confluence_get_page_children","confluence_get_page_descendants","confluence_get_page_version","confluence_get_pages_by_label","confluence_get_space","confluence_get_task","confluence_get_user","confluence_list_attachments","confluence_list_blogposts","confluence_list_blogposts_in_space","confluence_list_comments","confluence_list_labels","confluence_list_page_properties","confluence_list_page_versions","confluence_list_pages_in_space","confluence_list_space_labels","confluence_list_space_permissions","confluence_list_space_properties","confluence_list_spaces","confluence_list_tasks","confluence_retrieve","confluence_search","confluence_search_in_space","confluence_update","confluence_update_blogpost","confluence_update_comment","confluence_update_space","confluence_update_task","confluence_upload_attachment","context_dev_classify_naics","context_dev_classify_sic","context_dev_crawl","context_dev_extract","context_dev_extract_product","context_dev_extract_products","context_dev_get_brand","context_dev_get_brand_by_email","context_dev_get_brand_by_name","context_dev_get_brand_by_ticker","context_dev_identify_transaction","context_dev_map","context_dev_scrape_fonts","context_dev_scrape_html","context_dev_scrape_images","context_dev_scrape_markdown","context_dev_scrape_styleguide","context_dev_screenshot","context_dev_search","convex_action","convex_document_deltas","convex_list_documents","convex_list_tables","convex_mutation","convex_query","convex_run_function","crowdstrike_create_indicators","crowdstrike_delete_indicators","crowdstrike_delete_rtr_session","crowdstrike_execute_rtr_command","crowdstrike_get_alert_details","crowdstrike_get_case_details","crowdstrike_get_host_group_details","crowdstrike_get_indicator_details","crowdstrike_get_rtr_command_status","crowdstrike_get_sensor_aggregates","crowdstrike_get_sensor_details","crowdstrike_get_vulnerability_details","crowdstrike_init_rtr_session","crowdstrike_perform_host_action","crowdstrike_perform_host_group_action","crowdstrike_query_alerts","crowdstrike_query_cases","crowdstrike_query_host_groups","crowdstrike_query_indicators","crowdstrike_query_sensors","crowdstrike_query_vulnerabilities","crowdstrike_update_alerts","crowdstrike_update_indicators","crunchbase_autocomplete","crunchbase_get_acquisition","crunchbase_get_entity","crunchbase_get_entity_card","crunchbase_get_fields_metadata","crunchbase_get_funding_round","crunchbase_get_organization","crunchbase_get_person","crunchbase_list_deleted_entities","crunchbase_search_acquisitions","crunchbase_search_entities","crunchbase_search_funding_rounds","crunchbase_search_organizations","crunchbase_search_people","cursor_add_followup","cursor_add_followup_v2","cursor_delete_agent","cursor_delete_agent_v2","cursor_download_artifact","cursor_download_artifact_v2","cursor_get_agent","cursor_get_agent_v2","cursor_get_api_key_info","cursor_get_api_key_info_v2","cursor_get_conversation","cursor_get_conversation_v2","cursor_launch_agent","cursor_launch_agent_v2","cursor_list_agents","cursor_list_agents_v2","cursor_list_artifacts","cursor_list_artifacts_v2","cursor_list_models","cursor_list_models_v2","cursor_list_repositories","cursor_list_repositories_v2","cursor_stop_agent","cursor_stop_agent_v2","dagster_delete_run","dagster_get_asset","dagster_get_run","dagster_get_run_logs","dagster_launch_run","dagster_list_assets","dagster_list_jobs","dagster_list_runs","dagster_list_schedules","dagster_list_sensors","dagster_materialize_assets","dagster_reexecute_run","dagster_report_asset_materialization","dagster_start_schedule","dagster_start_sensor","dagster_stop_schedule","dagster_stop_sensor","dagster_terminate_run","dagster_wipe_asset","databricks_cancel_run","databricks_execute_sql","databricks_get_cluster","databricks_get_job","databricks_get_run","databricks_get_run_output","databricks_get_statement","databricks_list_clusters","databricks_list_jobs","databricks_list_runs","databricks_list_warehouses","databricks_run_job","datadog_add_incident_todo","datadog_cancel_downtime","datadog_create_dashboard","datadog_create_downtime","datadog_create_event","datadog_create_incident","datadog_create_monitor","datadog_create_slo","datadog_delete_dashboard","datadog_delete_slo","datadog_get_browser_synthetics_results","datadog_get_dashboard","datadog_get_incident","datadog_get_monitor","datadog_get_security_signal","datadog_get_slo","datadog_get_slo_history","datadog_get_synthetics_results","datadog_get_synthetics_test","datadog_list_dashboards","datadog_list_downtimes","datadog_list_incidents","datadog_list_monitors","datadog_list_security_rules","datadog_list_security_signals","datadog_list_services","datadog_list_slos","datadog_list_synthetics_tests","datadog_mute_monitor","datadog_query_logs","datadog_query_timeseries","datadog_search_spans","datadog_send_logs","datadog_submit_metrics","datadog_trigger_synthetics_tests","datadog_unmute_monitor","datadog_update_incident","datadog_update_security_signal_assignee","datadog_update_security_signal_state","datadog_update_slo","datadog_update_synthetics_status","datagma_enrich_company","datagma_enrich_person","datagma_find_email","datagma_find_phone","datagma_get_credits","daytona_create_sandbox","daytona_delete_sandbox","daytona_download_file","daytona_execute_command","daytona_get_sandbox","daytona_git_clone","daytona_list_files","daytona_list_sandboxes","daytona_run_code","daytona_start_sandbox","daytona_stop_sandbox","daytona_upload_file","deployed_block_executor","deployments_deploy","deployments_get_version","deployments_list_versions","deployments_promote","deployments_undeploy","devin_append_session_tags","devin_archive_session","devin_create_session","devin_get_session","devin_get_session_tags","devin_list_session_attachments","devin_list_session_messages","devin_list_sessions","devin_replace_session_tags","devin_send_message","devin_terminate_session","discord_add_reaction","discord_archive_thread","discord_assign_role","discord_ban_member","discord_bulk_delete_messages","discord_create_channel","discord_create_invite","discord_create_role","discord_create_thread","discord_create_webhook","discord_delete_channel","discord_delete_invite","discord_delete_message","discord_delete_role","discord_delete_webhook","discord_edit_message","discord_execute_webhook","discord_get_channel","discord_get_invite","discord_get_member","discord_get_messages","discord_get_pinned_messages","discord_get_server","discord_get_user","discord_get_webhook","discord_join_thread","discord_kick_member","discord_leave_thread","discord_list_channels","discord_list_roles","discord_pin_message","discord_remove_reaction","discord_remove_role","discord_send_message","discord_unban_member","discord_unpin_message","discord_update_channel","discord_update_member","discord_update_role","docusign_create_from_template","docusign_download_document","docusign_get_envelope","docusign_list_envelopes","docusign_list_recipients","docusign_list_templates","docusign_send_envelope","docusign_void_envelope","downdetector_get_company","downdetector_get_company_attribution","downdetector_get_company_baseline","downdetector_get_company_events","downdetector_get_company_incidents","downdetector_get_company_indicators","downdetector_get_company_last_15","downdetector_get_company_status","downdetector_get_provider","downdetector_get_reports","downdetector_get_site_companies","downdetector_list_categories","downdetector_list_incidents","downdetector_list_sites","downdetector_search_companies","dropbox_copy","dropbox_create_folder","dropbox_create_shared_link","dropbox_delete","dropbox_download","dropbox_download_v2","dropbox_get_metadata","dropbox_list_folder","dropbox_list_revisions","dropbox_list_shared_links","dropbox_move","dropbox_restore","dropbox_search","dropbox_upload","dropcontact_enrich_contact","dspy_chain_of_thought","dspy_predict","dspy_react","dub_bulk_create_links","dub_bulk_delete_links","dub_bulk_update_links","dub_create_link","dub_create_tag","dub_delete_link","dub_get_analytics","dub_get_events","dub_get_link","dub_get_links_count","dub_get_qr_code","dub_get_qr_code_v2","dub_list_domains","dub_list_folders","dub_list_links","dub_list_tags","dub_update_link","dub_upsert_link","duckduckgo_search","dynamodb_delete","dynamodb_get","dynamodb_introspect","dynamodb_put","dynamodb_query","dynamodb_scan","dynamodb_update","dynatrace_add_problem_comment","dynatrace_add_tags","dynatrace_close_problem","dynatrace_create_settings_object","dynatrace_create_slo","dynatrace_delete_problem_comment","dynatrace_delete_settings_object","dynatrace_delete_slo","dynatrace_delete_tag","dynatrace_execute_synthetic_monitors","dynatrace_get_attack","dynatrace_get_audit_logs","dynatrace_get_entity","dynatrace_get_event","dynatrace_get_metric","dynatrace_get_problem","dynatrace_get_problem_comment","dynatrace_get_security_problem","dynatrace_get_settings_object","dynatrace_get_slo","dynatrace_get_synthetic_batch","dynatrace_ingest_event","dynatrace_ingest_logs","dynatrace_ingest_metrics","dynatrace_list_attacks","dynatrace_list_entities","dynatrace_list_entity_types","dynatrace_list_events","dynatrace_list_metrics","dynatrace_list_problem_comments","dynatrace_list_problems","dynatrace_list_remediation_items","dynatrace_list_security_problems","dynatrace_list_settings_objects","dynatrace_list_settings_schemas","dynatrace_list_slos","dynatrace_list_synthetic_monitors","dynatrace_list_tags","dynatrace_mute_security_problem","dynatrace_mute_security_problems","dynatrace_query_metrics","dynatrace_search_logs","dynatrace_unmute_security_problem","dynatrace_unmute_security_problems","dynatrace_update_problem_comment","dynatrace_update_settings_object","dynatrace_update_slo","elasticsearch_bulk","elasticsearch_cluster_health","elasticsearch_cluster_stats","elasticsearch_count","elasticsearch_create_index","elasticsearch_delete_document","elasticsearch_delete_index","elasticsearch_get_document","elasticsearch_get_index","elasticsearch_index_document","elasticsearch_list_indices","elasticsearch_search","elasticsearch_update_document","elevenlabs_audio_isolation","elevenlabs_edit_voice_settings","elevenlabs_get_user","elevenlabs_get_voice","elevenlabs_get_voice_settings","elevenlabs_list_models","elevenlabs_list_voices","elevenlabs_sound_effects","elevenlabs_speech_to_speech","elevenlabs_tts","emailbison_attach_leads_to_campaign","emailbison_attach_tags_to_leads","emailbison_create_campaign","emailbison_create_lead","emailbison_create_tag","emailbison_get_lead","emailbison_list_campaigns","emailbison_list_leads","emailbison_list_replies","emailbison_list_tags","emailbison_update_campaign","emailbison_update_campaign_status","emailbison_update_lead","embeddings_cohere","embeddings_gemini","embeddings_mistral","embeddings_ollama","embeddings_openai","embeddings_openrouter","enrich_check_credits","enrich_company_funding","enrich_company_lookup","enrich_company_revenue","enrich_disposable_email_check","enrich_email_to_ip","enrich_email_to_person_lite","enrich_email_to_phone","enrich_email_to_profile","enrich_find_email","enrich_get_post_details","enrich_ip_to_company","enrich_linkedin_profile","enrich_linkedin_to_personal_email","enrich_linkedin_to_work_email","enrich_phone_finder","enrich_reverse_hash_lookup","enrich_sales_pointer_people","enrich_search_company","enrich_search_company_activities","enrich_search_company_employees","enrich_search_jobs","enrich_search_logo","enrich_search_people","enrich_search_people_activities","enrich_search_post_comments","enrich_search_post_comments_by_url","enrich_search_post_reactions","enrich_search_post_reactions_by_url","enrich_search_posts","enrich_search_similar_companies","enrich_verify_email","enrichment_run","enrow_find_email","enrow_verify_email","exa_agent","exa_answer","exa_find_similar_links","exa_get_contents","exa_search","extend_parser","extend_parser_v2","fathom_get_summary","fathom_get_transcript","fathom_list_meeting_types","fathom_list_meetings","fathom_list_team_members","fathom_list_teams","file_append","file_compress","file_create_folder","file_decompress","file_delete_folder","file_edit","file_fetch","file_get","file_get_content","file_list","file_manage_sharing","file_move","file_parser","file_parser_v2","file_parser_v3","file_read","file_restore_folder","file_search","file_update_folder","file_write","findymail_find_email_from_linkedin","findymail_find_email_from_name","findymail_find_emails_by_domain","findymail_find_employees","findymail_find_phone","findymail_get_company","findymail_get_credits","findymail_lookup_technologies","findymail_reverse_email_lookup","findymail_search_technologies","findymail_verify_email","firecrawl_agent","firecrawl_batch_scrape","firecrawl_batch_scrape_status","firecrawl_cancel_crawl","firecrawl_crawl","firecrawl_crawl_status","firecrawl_credit_usage","firecrawl_extract","firecrawl_extract_status","firecrawl_map","firecrawl_parse","firecrawl_scrape","firecrawl_search","fireflies_add_to_live_meeting","fireflies_create_bite","fireflies_delete_transcript","fireflies_get_transcript","fireflies_get_user","fireflies_list_bites","fireflies_list_contacts","fireflies_list_transcripts","fireflies_list_users","fireflies_upload_audio","flint_create_task","flint_generate_pages","flint_get_task","function_execute","gamma_check_status","gamma_generate","gamma_generate_from_template","gamma_list_folders","gamma_list_themes","github_add_assignees","github_add_assignees_v2","github_add_labels","github_add_labels_v2","github_cancel_workflow_run","github_cancel_workflow_run_v2","github_check_star","github_check_star_v2","github_close_issue","github_close_issue_v2","github_close_pr","github_close_pr_v2","github_comment","github_comment_v2","github_compare_commits","github_compare_commits_v2","github_create_branch","github_create_branch_v2","github_create_comment_reaction","github_create_comment_reaction_v2","github_create_file","github_create_file_v2","github_create_gist","github_create_gist_v2","github_create_issue","github_create_issue_reaction","github_create_issue_reaction_v2","github_create_issue_v2","github_create_milestone","github_create_milestone_v2","github_create_pr","github_create_pr_review","github_create_pr_review_v2","github_create_pr_v2","github_create_project","github_create_project_v2","github_create_release","github_create_release_v2","github_delete_branch","github_delete_branch_v2","github_delete_comment","github_delete_comment_reaction","github_delete_comment_reaction_v2","github_delete_comment_v2","github_delete_file","github_delete_file_v2","github_delete_gist","github_delete_gist_v2","github_delete_issue_reaction","github_delete_issue_reaction_v2","github_delete_milestone","github_delete_milestone_v2","github_delete_project","github_delete_project_v2","github_delete_release","github_delete_release_v2","github_fork_gist","github_fork_gist_v2","github_fork_repo","github_fork_repo_v2","github_get_branch","github_get_branch_protection","github_get_branch_protection_v2","github_get_branch_v2","github_get_commit","github_get_commit_v2","github_get_file_content","github_get_file_content_v2","github_get_gist","github_get_gist_v2","github_get_issue","github_get_issue_v2","github_get_latest_release","github_get_latest_release_v2","github_get_milestone","github_get_milestone_v2","github_get_pr_files","github_get_pr_files_v2","github_get_project","github_get_project_v2","github_get_readme","github_get_readme_v2","github_get_release","github_get_release_v2","github_get_tree","github_get_tree_v2","github_get_workflow","github_get_workflow_run","github_get_workflow_run_v2","github_get_workflow_v2","github_issue_comment","github_issue_comment_v2","github_job_logs","github_latest_commit","github_latest_commit_v2","github_list_branches","github_list_branches_v2","github_list_commits","github_list_commits_v2","github_list_forks","github_list_forks_v2","github_list_gists","github_list_gists_v2","github_list_issue_comments","github_list_issue_comments_v2","github_list_issues","github_list_issues_v2","github_list_milestones","github_list_milestones_v2","github_list_pr_comments","github_list_pr_comments_v2","github_list_projects","github_list_projects_v2","github_list_prs","github_list_prs_v2","github_list_releases","github_list_releases_v2","github_list_review_threads","github_list_stargazers","github_list_stargazers_v2","github_list_tags","github_list_tags_v2","github_list_workflow_runs","github_list_workflow_runs_v2","github_list_workflows","github_list_workflows_v2","github_merge_pr","github_merge_pr_v2","github_pr","github_pr_v2","github_remove_label","github_remove_label_v2","github_reply_review_thread","github_repo_info","github_repo_info_v2","github_request_reviewers","github_request_reviewers_v2","github_rerun_workflow","github_rerun_workflow_v2","github_resolve_review_thread","github_search_code","github_search_code_v2","github_search_commits","github_search_commits_v2","github_search_issues","github_search_issues_v2","github_search_repos","github_search_repos_v2","github_search_users","github_search_users_v2","github_star_gist","github_star_gist_v2","github_star_repo","github_star_repo_v2","github_status_check_rollup","github_trigger_workflow","github_trigger_workflow_v2","github_unstar_gist","github_unstar_gist_v2","github_unstar_repo","github_unstar_repo_v2","github_update_branch_protection","github_update_branch_protection_v2","github_update_comment","github_update_comment_v2","github_update_file","github_update_file_v2","github_update_gist","github_update_gist_v2","github_update_issue","github_update_issue_v2","github_update_milestone","github_update_milestone_v2","github_update_pr","github_update_pr_v2","github_update_project","github_update_project_v2","github_update_release","github_update_release_v2","gitlab_activate_user","gitlab_add_member","gitlab_add_saml_group_link","gitlab_approve_access_request","gitlab_approve_merge_request","gitlab_approve_user","gitlab_ban_user","gitlab_block_user","gitlab_cancel_pipeline","gitlab_compare_branches","gitlab_create_branch","gitlab_create_file","gitlab_create_issue","gitlab_create_issue_note","gitlab_create_merge_request","gitlab_create_merge_request_note","gitlab_create_pipeline","gitlab_create_release","gitlab_create_user","gitlab_deactivate_user","gitlab_delete_branch","gitlab_delete_issue","gitlab_delete_saml_group_link","gitlab_delete_user","gitlab_delete_user_identity","gitlab_deny_access_request","gitlab_get_file","gitlab_get_group","gitlab_get_issue","gitlab_get_job_log","gitlab_get_merge_request","gitlab_get_merge_request_changes","gitlab_get_pipeline","gitlab_get_project","gitlab_invite_member","gitlab_list_access_requests","gitlab_list_branches","gitlab_list_commits","gitlab_list_groups","gitlab_list_invitations","gitlab_list_issues","gitlab_list_members","gitlab_list_merge_requests","gitlab_list_pipeline_jobs","gitlab_list_pipelines","gitlab_list_projects","gitlab_list_releases","gitlab_list_repository_tree","gitlab_list_saml_group_links","gitlab_list_user_memberships","gitlab_merge_merge_request","gitlab_play_job","gitlab_reject_user","gitlab_remove_member","gitlab_retry_pipeline","gitlab_revoke_invitation","gitlab_search_users","gitlab_unban_user","gitlab_unblock_user","gitlab_update_file","gitlab_update_invitation","gitlab_update_issue","gitlab_update_member","gitlab_update_merge_request","gitlab_update_user","gmail_add_label","gmail_add_label_v2","gmail_archive","gmail_archive_v2","gmail_create_label_v2","gmail_delete","gmail_delete_draft_v2","gmail_delete_label_v2","gmail_delete_v2","gmail_draft","gmail_draft_v2","gmail_edit_draft_v2","gmail_get_draft_v2","gmail_get_thread_v2","gmail_list_drafts_v2","gmail_list_labels_v2","gmail_list_threads_v2","gmail_mark_read","gmail_mark_read_v2","gmail_mark_unread","gmail_mark_unread_v2","gmail_move","gmail_move_v2","gmail_read","gmail_read_v2","gmail_remove_label","gmail_remove_label_v2","gmail_search","gmail_search_v2","gmail_send","gmail_send_v2","gmail_trash_thread_v2","gmail_unarchive","gmail_unarchive_v2","gmail_untrash_thread_v2","gmail_update_label_v2","gong_aggregate_activity","gong_aggregate_by_period","gong_answered_scorecards","gong_ask_anything","gong_assign_flow_prospects","gong_create_call","gong_day_by_day_activity","gong_get_brief","gong_get_call","gong_get_call_transcript","gong_get_coaching","gong_get_extensive_calls","gong_get_folder_content","gong_get_logs","gong_get_prospect_flows","gong_get_user","gong_interaction_stats","gong_list_calls","gong_list_flows","gong_list_library_folders","gong_list_scorecards","gong_list_trackers","gong_list_users","gong_list_workspaces","gong_lookup_email","gong_lookup_phone","gong_purge_email_address","gong_purge_phone_number","gong_unassign_flow_prospects","google_ads_ad_performance","google_ads_campaign_performance","google_ads_list_ad_groups","google_ads_list_campaigns","google_ads_list_customers","google_ads_search","google_appsheet_add_rows","google_appsheet_delete_rows","google_appsheet_edit_rows","google_appsheet_find_rows","google_bigquery_create_dataset","google_bigquery_create_table","google_bigquery_delete_dataset","google_bigquery_delete_table","google_bigquery_get_query_results","google_bigquery_get_table","google_bigquery_insert_rows","google_bigquery_list_datasets","google_bigquery_list_table_data","google_bigquery_list_tables","google_bigquery_query","google_books_volume_details","google_books_volume_search","google_calendar_create","google_calendar_create_calendar","google_calendar_create_calendar_v2","google_calendar_create_v2","google_calendar_delete","google_calendar_delete_calendar","google_calendar_delete_calendar_v2","google_calendar_delete_v2","google_calendar_freebusy","google_calendar_freebusy_v2","google_calendar_get","google_calendar_get_v2","google_calendar_instances","google_calendar_instances_v2","google_calendar_invite","google_calendar_invite_v2","google_calendar_list","google_calendar_list_acl","google_calendar_list_acl_v2","google_calendar_list_calendars","google_calendar_list_calendars_v2","google_calendar_list_v2","google_calendar_move","google_calendar_move_v2","google_calendar_quick_add","google_calendar_quick_add_v2","google_calendar_share_calendar","google_calendar_share_calendar_v2","google_calendar_unshare_calendar","google_calendar_unshare_calendar_v2","google_calendar_update","google_calendar_update_acl","google_calendar_update_acl_v2","google_calendar_update_calendar","google_calendar_update_calendar_v2","google_calendar_update_v2","google_contacts_create","google_contacts_delete","google_contacts_get","google_contacts_list","google_contacts_search","google_contacts_update","google_docs_create","google_docs_create_named_range","google_docs_create_paragraph_bullets","google_docs_delete_content_range","google_docs_delete_named_range","google_docs_delete_paragraph_bullets","google_docs_insert_image","google_docs_insert_page_break","google_docs_insert_table","google_docs_insert_text","google_docs_read","google_docs_replace_text","google_docs_update_paragraph_style","google_docs_update_text_style","google_docs_write","google_drive_copy","google_drive_create_comment","google_drive_create_folder","google_drive_delete","google_drive_delete_comment","google_drive_download","google_drive_export","google_drive_get_about","google_drive_get_content","google_drive_get_file","google_drive_get_revision","google_drive_list","google_drive_list_comments","google_drive_list_permissions","google_drive_list_revisions","google_drive_move","google_drive_search","google_drive_share","google_drive_trash","google_drive_unshare","google_drive_untrash","google_drive_update","google_drive_upload","google_forms_batch_update","google_forms_create_form","google_forms_create_watch","google_forms_delete_watch","google_forms_get_form","google_forms_get_responses","google_forms_list_watches","google_forms_renew_watch","google_forms_set_publish_settings","google_groups_add_alias","google_groups_add_member","google_groups_create_group","google_groups_delete_group","google_groups_get_group","google_groups_get_member","google_groups_get_settings","google_groups_has_member","google_groups_list_aliases","google_groups_list_groups","google_groups_list_members","google_groups_remove_alias","google_groups_remove_member","google_groups_update_group","google_groups_update_member","google_groups_update_settings","google_maps_air_quality","google_maps_directions","google_maps_distance_matrix","google_maps_elevation","google_maps_geocode","google_maps_geolocate","google_maps_place_details","google_maps_places_nearby","google_maps_places_search","google_maps_pollen","google_maps_reverse_geocode","google_maps_snap_to_roads","google_maps_solar","google_maps_speed_limits","google_maps_timezone","google_maps_validate_address","google_meet_create_space","google_meet_end_conference","google_meet_get_conference_record","google_meet_get_space","google_meet_list_conference_records","google_meet_list_participants","google_pagespeed_analyze","google_search","google_sheets_append","google_sheets_append_v2","google_sheets_batch_clear_v2","google_sheets_batch_get_v2","google_sheets_batch_update_v2","google_sheets_clear_v2","google_sheets_copy_sheet_v2","google_sheets_create_spreadsheet_v2","google_sheets_delete_rows_v2","google_sheets_delete_sheet_v2","google_sheets_delete_spreadsheet_v2","google_sheets_get_spreadsheet_v2","google_sheets_read","google_sheets_read_v2","google_sheets_update","google_sheets_update_v2","google_sheets_write","google_sheets_write_v2","google_slides_add_image","google_slides_add_slide","google_slides_batch_update","google_slides_copy_presentation","google_slides_create","google_slides_create_line","google_slides_create_paragraph_bullets","google_slides_create_shape","google_slides_create_sheets_chart","google_slides_create_table","google_slides_create_video","google_slides_delete_object","google_slides_delete_paragraph_bullets","google_slides_delete_table_column","google_slides_delete_table_row","google_slides_delete_text","google_slides_duplicate_object","google_slides_export_presentation","google_slides_get_page","google_slides_get_thumbnail","google_slides_group_objects","google_slides_insert_table_columns","google_slides_insert_table_rows","google_slides_insert_text","google_slides_merge_table_cells","google_slides_read","google_slides_refresh_sheets_chart","google_slides_replace_all_shapes_with_image","google_slides_replace_all_shapes_with_sheets_chart","google_slides_replace_all_text","google_slides_replace_image","google_slides_reroute_line","google_slides_ungroup_objects","google_slides_unmerge_table_cells","google_slides_update_image_properties","google_slides_update_line_category","google_slides_update_line_properties","google_slides_update_page_element_alt_text","google_slides_update_page_element_transform","google_slides_update_page_elements_z_order","google_slides_update_page_properties","google_slides_update_paragraph_style","google_slides_update_shape_properties","google_slides_update_slide_properties","google_slides_update_slides_position","google_slides_update_table_border_properties","google_slides_update_table_cell_properties","google_slides_update_table_column_properties","google_slides_update_table_row_properties","google_slides_update_text_style","google_slides_update_video_properties","google_slides_write","google_tasks_create","google_tasks_delete","google_tasks_get","google_tasks_list","google_tasks_list_task_lists","google_tasks_update","google_translate_detect","google_translate_text","google_vault_add_held_accounts","google_vault_add_matters_permissions","google_vault_close_matters","google_vault_create_matters","google_vault_create_matters_export","google_vault_create_matters_holds","google_vault_create_saved_query","google_vault_delete_matters","google_vault_delete_matters_export","google_vault_delete_matters_holds","google_vault_delete_saved_query","google_vault_download_export_file","google_vault_list_matters","google_vault_list_matters_export","google_vault_list_matters_holds","google_vault_list_saved_queries","google_vault_remove_held_accounts","google_vault_remove_matters_permissions","google_vault_reopen_matters","google_vault_undelete_matters","google_vault_update_matters","google_vault_update_matters_holds","grafana_check_data_source_health","grafana_create_alert_rule","grafana_create_annotation","grafana_create_contact_point","grafana_create_dashboard","grafana_create_folder","grafana_delete_alert_rule","grafana_delete_annotation","grafana_delete_contact_point","grafana_delete_dashboard","grafana_delete_folder","grafana_get_alert_rule","grafana_get_alert_rule_group","grafana_get_dashboard","grafana_get_data_source","grafana_get_folder","grafana_get_health","grafana_list_alert_rules","grafana_list_annotations","grafana_list_contact_points","grafana_list_dashboards","grafana_list_data_sources","grafana_list_folders","grafana_move_folder","grafana_query_data_source","grafana_update_alert_rule","grafana_update_annotation","grafana_update_contact_point","grafana_update_dashboard","grafana_update_folder","grain_create_hook","grain_create_hook_v2","grain_delete_hook","grain_delete_hook_v2","grain_get_recording","grain_get_transcript","grain_list_hooks","grain_list_hooks_v2","grain_list_meeting_types","grain_list_recordings","grain_list_teams","grain_list_views","granola_create_webhook_endpoint","granola_delete_webhook_endpoint","granola_get_note","granola_get_transcript","granola_list_audit_events","granola_list_folders","granola_list_notes","granola_list_webhook_endpoints","granola_update_webhook_endpoint","greenhouse_get_application","greenhouse_get_candidate","greenhouse_get_job","greenhouse_get_user","greenhouse_list_applications","greenhouse_list_candidates","greenhouse_list_departments","greenhouse_list_job_stages","greenhouse_list_jobs","greenhouse_list_offices","greenhouse_list_users","greptile_index_repo","greptile_query","greptile_search","greptile_status","guardrails_validate","harmonic_batch_get_people","harmonic_clear_people_saved_search_net_new_results","harmonic_enrich_person","harmonic_get_company_employees","harmonic_get_email_enrichment_job","harmonic_get_email_enrichment_usage","harmonic_get_enrichment_status","harmonic_get_people_saved_search_net_new_results","harmonic_get_people_saved_search_results","harmonic_get_person","harmonic_list_people_saved_searches","harmonic_search_people_scout","harmonic_submit_email_enrichment_job","hex_cancel_run","hex_create_collection","hex_create_group","hex_deactivate_user","hex_delete_group","hex_get_collection","hex_get_data_connection","hex_get_group","hex_get_project","hex_get_project_runs","hex_get_queried_tables","hex_get_run_status","hex_list_collections","hex_list_data_connections","hex_list_groups","hex_list_projects","hex_list_users","hex_run_project","hex_update_collection","hex_update_group","hex_update_project","http_request","hubspot_add_list_memberships","hubspot_create_appointment","hubspot_create_association","hubspot_create_company","hubspot_create_contact","hubspot_create_deal","hubspot_create_email","hubspot_create_line_item","hubspot_create_list","hubspot_create_note","hubspot_create_ticket","hubspot_delete_association","hubspot_delete_company","hubspot_delete_contact","hubspot_delete_deal","hubspot_delete_line_item","hubspot_delete_ticket","hubspot_get_appointment","hubspot_get_association_labels","hubspot_get_cart","hubspot_get_company","hubspot_get_contact","hubspot_get_deal","hubspot_get_email","hubspot_get_line_item","hubspot_get_list","hubspot_get_list_memberships","hubspot_get_marketing_event","hubspot_get_note","hubspot_get_properties","hubspot_get_quote","hubspot_get_ticket","hubspot_get_users","hubspot_list_appointments","hubspot_list_associations","hubspot_list_carts","hubspot_list_companies","hubspot_list_contacts","hubspot_list_deals","hubspot_list_emails","hubspot_list_line_items","hubspot_list_lists","hubspot_list_marketing_events","hubspot_list_notes","hubspot_list_owners","hubspot_list_quotes","hubspot_list_tickets","hubspot_remove_list_memberships","hubspot_search_companies","hubspot_search_contacts","hubspot_search_deals","hubspot_search_emails","hubspot_search_line_items","hubspot_search_notes","hubspot_search_quotes","hubspot_search_tickets","hubspot_update_appointment","hubspot_update_company","hubspot_update_contact","hubspot_update_deal","hubspot_update_line_item","hubspot_update_ticket","huggingface_chat","hunter_companies_find","hunter_discover","hunter_domain_search","hunter_email_count","hunter_email_finder","hunter_email_verifier","iam_add_user_to_group","iam_attach_role_policy","iam_attach_user_policy","iam_create_access_key","iam_create_role","iam_create_user","iam_delete_access_key","iam_delete_role","iam_delete_user","iam_detach_role_policy","iam_detach_user_policy","iam_get_policy","iam_get_role","iam_get_user","iam_list_access_keys","iam_list_attached_role_policies","iam_list_attached_user_policies","iam_list_groups","iam_list_policies","iam_list_roles","iam_list_users","iam_remove_user_from_group","iam_simulate_principal_policy","iam_update_access_key","icypeas_find_email","icypeas_verify_email","identity_center_check_assignment_deletion_status","identity_center_check_assignment_status","identity_center_create_account_assignment","identity_center_delete_account_assignment","identity_center_describe_account","identity_center_describe_group","identity_center_describe_user","identity_center_get_group","identity_center_get_user","identity_center_list_account_assignments","identity_center_list_accounts","identity_center_list_assignments_for_account","identity_center_list_group_memberships","identity_center_list_groups","identity_center_list_instances","identity_center_list_permission_sets","image_generate","incidentio_actions_create","incidentio_actions_list","incidentio_actions_show","incidentio_actions_update","incidentio_alert_events_create","incidentio_alerts_list","incidentio_alerts_resolve","incidentio_alerts_show","incidentio_catalog_entries_list","incidentio_catalog_types_list","incidentio_custom_fields_create","incidentio_custom_fields_delete","incidentio_custom_fields_list","incidentio_custom_fields_show","incidentio_custom_fields_update","incidentio_escalation_paths_create","incidentio_escalation_paths_delete","incidentio_escalation_paths_list","incidentio_escalation_paths_show","incidentio_escalation_paths_update","incidentio_escalations_cancel","incidentio_escalations_create","incidentio_escalations_list","incidentio_escalations_show","incidentio_follow_ups_create","incidentio_follow_ups_list","incidentio_follow_ups_show","incidentio_follow_ups_update","incidentio_incident_alerts_list","incidentio_incident_memberships_create","incidentio_incident_memberships_revoke","incidentio_incident_participants_list","incidentio_incident_roles_create","incidentio_incident_roles_delete","incidentio_incident_roles_list","incidentio_incident_roles_show","incidentio_incident_roles_update","incidentio_incident_statuses_list","incidentio_incident_timestamps_list","incidentio_incident_timestamps_show","incidentio_incident_types_list","incidentio_incident_updates_list","incidentio_incidents_create","incidentio_incidents_list","incidentio_incidents_show","incidentio_incidents_update","incidentio_on_call_now","incidentio_schedule_entries_list","incidentio_schedule_overrides_create","incidentio_schedule_overrides_list","incidentio_schedules_create","incidentio_schedules_delete","incidentio_schedules_list","incidentio_schedules_show","incidentio_schedules_update","incidentio_severities_list","incidentio_teams_list","incidentio_teams_show","incidentio_users_list","incidentio_users_show","incidentio_workflows_create","incidentio_workflows_delete","incidentio_workflows_list","incidentio_workflows_show","incidentio_workflows_update","infisical_create_secret","infisical_delete_secret","infisical_get_secret","infisical_list_secrets","infisical_update_secret","instagram_delete_comment","instagram_download_media","instagram_get_account_insights","instagram_get_container_status","instagram_get_conversation_messages","instagram_get_media","instagram_get_media_insights","instagram_get_message","instagram_get_profile","instagram_get_publishing_limit","instagram_hide_comment","instagram_list_comments","instagram_list_conversations","instagram_list_media","instagram_list_stories","instagram_private_reply","instagram_publish_carousel","instagram_publish_image","instagram_publish_reel","instagram_publish_story","instagram_publish_video","instagram_reply_to_comment","instagram_send_text_message","instagram_set_comments_enabled","instantly_activate_campaign","instantly_create_campaign","instantly_create_lead","instantly_create_lead_list","instantly_delete_campaign","instantly_delete_leads","instantly_get_lead","instantly_list_campaigns","instantly_list_emails","instantly_list_lead_lists","instantly_list_leads","instantly_patch_campaign","instantly_patch_lead","instantly_pause_campaign","instantly_reply_to_email","instantly_update_lead_interest_status","intercom_assign_conversation_v2","intercom_attach_contact_to_company_v2","intercom_close_conversation_v2","intercom_create_company","intercom_create_company_v2","intercom_create_contact","intercom_create_contact_v2","intercom_create_event_v2","intercom_create_message","intercom_create_message_v2","intercom_create_note_v2","intercom_create_tag_v2","intercom_create_ticket","intercom_create_ticket_v2","intercom_delete_contact","intercom_delete_contact_v2","intercom_detach_contact_from_company_v2","intercom_get_company","intercom_get_company_v2","intercom_get_contact","intercom_get_contact_v2","intercom_get_conversation","intercom_get_conversation_v2","intercom_get_ticket","intercom_get_ticket_v2","intercom_list_admins_v2","intercom_list_companies","intercom_list_companies_v2","intercom_list_contacts","intercom_list_contacts_v2","intercom_list_conversations","intercom_list_conversations_v2","intercom_list_tags_v2","intercom_open_conversation_v2","intercom_reply_conversation","intercom_reply_conversation_v2","intercom_search_contacts","intercom_search_contacts_v2","intercom_search_conversations","intercom_search_conversations_v2","intercom_snooze_conversation_v2","intercom_tag_contact_v2","intercom_tag_conversation_v2","intercom_untag_contact_v2","intercom_update_contact","intercom_update_contact_v2","intercom_update_ticket_v2","jina_read_url","jina_search","jira_add_attachment","jira_add_comment","jira_add_watcher","jira_add_worklog","jira_assign_issue","jira_bulk_read","jira_create_issue_link","jira_delete_attachment","jira_delete_comment","jira_delete_issue","jira_delete_issue_link","jira_delete_worklog","jira_get_attachments","jira_get_comments","jira_get_fields","jira_get_project","jira_get_transitions","jira_get_users","jira_get_worklogs","jira_list_issue_types","jira_list_projects","jira_remove_watcher","jira_retrieve","jira_search_issues","jira_search_users","jira_transition_issue","jira_update","jira_update_comment","jira_update_worklog","jira_write","jotform_add_label_resources","jotform_clone_form","jotform_create_form","jotform_create_label","jotform_create_question","jotform_create_questions","jotform_create_report","jotform_create_submission","jotform_create_submissions","jotform_create_webhook","jotform_delete_form","jotform_delete_label","jotform_delete_question","jotform_delete_report","jotform_delete_submission","jotform_delete_webhook","jotform_get_form","jotform_get_form_properties","jotform_get_history","jotform_get_label","jotform_get_question","jotform_get_report","jotform_get_settings","jotform_get_submission","jotform_get_usage","jotform_get_user","jotform_list_form_files","jotform_list_form_reports","jotform_list_form_submissions","jotform_list_forms","jotform_list_label_resources","jotform_list_labels","jotform_list_questions","jotform_list_reports","jotform_list_submissions","jotform_list_subusers","jotform_list_webhooks","jotform_remove_label_resources","jotform_update_form_properties","jotform_update_label","jotform_update_question","jotform_update_settings","jotform_update_submission","jsm_add_comment","jsm_add_customer","jsm_add_organization","jsm_add_participants","jsm_answer_approval","jsm_attach_form","jsm_copy_forms","jsm_create_object","jsm_create_organization","jsm_create_request","jsm_delete_form","jsm_delete_object","jsm_externalise_form","jsm_get_approvals","jsm_get_comments","jsm_get_customers","jsm_get_form","jsm_get_form_answers","jsm_get_form_structure","jsm_get_form_templates","jsm_get_issue_forms","jsm_get_object","jsm_get_object_schema","jsm_get_object_type_attributes","jsm_get_organizations","jsm_get_participants","jsm_get_queues","jsm_get_request","jsm_get_request_type_fields","jsm_get_request_types","jsm_get_requests","jsm_get_service_desks","jsm_get_sla","jsm_get_transitions","jsm_internalise_form","jsm_list_object_schemas","jsm_list_object_types","jsm_reopen_form","jsm_save_form_answers","jsm_search_objects_aql","jsm_submit_form","jsm_transition_request","jsm_update_object","jupyter_copy_content","jupyter_create_file","jupyter_create_session","jupyter_delete_content","jupyter_delete_session","jupyter_get_content","jupyter_get_content_v2","jupyter_interrupt_kernel","jupyter_list_contents","jupyter_list_kernels","jupyter_list_kernelspecs","jupyter_list_sessions","jupyter_rename_content","jupyter_restart_kernel","jupyter_start_kernel","jupyter_stop_kernel","jupyter_upload_file","kalshi_amend_order","kalshi_amend_order_v2","kalshi_cancel_order","kalshi_cancel_order_v2","kalshi_create_order","kalshi_create_order_v2","kalshi_get_balance","kalshi_get_balance_v2","kalshi_get_candlesticks","kalshi_get_candlesticks_v2","kalshi_get_event","kalshi_get_event_candlesticks","kalshi_get_event_candlesticks_v2","kalshi_get_event_v2","kalshi_get_events","kalshi_get_events_v2","kalshi_get_exchange_announcements","kalshi_get_exchange_announcements_v2","kalshi_get_exchange_schedule","kalshi_get_exchange_schedule_v2","kalshi_get_exchange_status","kalshi_get_exchange_status_v2","kalshi_get_fills","kalshi_get_fills_v2","kalshi_get_market","kalshi_get_market_v2","kalshi_get_markets","kalshi_get_markets_v2","kalshi_get_order","kalshi_get_order_v2","kalshi_get_orderbook","kalshi_get_orderbook_v2","kalshi_get_orders","kalshi_get_orders_v2","kalshi_get_positions","kalshi_get_positions_v2","kalshi_get_series_by_ticker","kalshi_get_series_by_ticker_v2","kalshi_get_series_list","kalshi_get_series_list_v2","kalshi_get_settlements","kalshi_get_settlements_v2","kalshi_get_trades","kalshi_get_trades_v2","ketch_get_consent","ketch_get_subscriptions","ketch_invoke_right","ketch_set_consent","ketch_set_subscriptions","knowledge_create_document","knowledge_delete_chunk","knowledge_delete_document","knowledge_get_connector","knowledge_get_document","knowledge_list_chunks","knowledge_list_connectors","knowledge_list_documents","knowledge_list_tags","knowledge_search","knowledge_trigger_sync","knowledge_update_chunk","knowledge_upload_chunk","knowledge_upsert_document","lambda_add_permission","lambda_create_alias","lambda_create_event_source_mapping","lambda_create_function","lambda_create_function_url_config","lambda_delete_alias","lambda_delete_event_source_mapping","lambda_delete_function","lambda_delete_function_concurrency","lambda_delete_function_event_invoke_config","lambda_delete_function_url_config","lambda_delete_provisioned_concurrency_config","lambda_get_account_settings","lambda_get_alias","lambda_get_event_source_mapping","lambda_get_function","lambda_get_function_concurrency","lambda_get_function_configuration","lambda_get_function_event_invoke_config","lambda_get_function_recursion_config","lambda_get_function_url_config","lambda_get_layer_version","lambda_get_policy","lambda_get_provisioned_concurrency_config","lambda_get_runtime_management_config","lambda_invoke","lambda_list_aliases","lambda_list_event_source_mappings","lambda_list_function_event_invoke_configs","lambda_list_function_url_configs","lambda_list_functions","lambda_list_layer_versions","lambda_list_layers","lambda_list_provisioned_concurrency_configs","lambda_list_tags","lambda_list_versions_by_function","lambda_publish_version","lambda_put_function_concurrency","lambda_put_function_event_invoke_config","lambda_put_function_recursion_config","lambda_put_provisioned_concurrency_config","lambda_put_runtime_management_config","lambda_remove_permission","lambda_tag_resource","lambda_untag_resource","lambda_update_alias","lambda_update_event_source_mapping","lambda_update_function_code","lambda_update_function_configuration","lambda_update_function_url_config","langsmith_create_feedback","langsmith_create_run","langsmith_create_runs_batch","langsmith_get_run","langsmith_update_run","latex_compile","latex_get_package","latex_list_fonts","latex_search_packages","launchdarkly_create_flag","launchdarkly_delete_flag","launchdarkly_get_audit_log","launchdarkly_get_flag","launchdarkly_get_flag_status","launchdarkly_list_environments","launchdarkly_list_flags","launchdarkly_list_members","launchdarkly_list_projects","launchdarkly_list_segments","launchdarkly_toggle_flag","launchdarkly_update_flag","leadmagic_company_search","leadmagic_email_to_profile","leadmagic_find_email","leadmagic_find_mobile","leadmagic_get_credits","leadmagic_profile_search","leadmagic_profile_to_email","leadmagic_role_finder","leadmagic_validate_email","lemlist_get_activities","lemlist_get_lead","lemlist_send_email","linear_add_label_to_issue","linear_add_label_to_project","linear_archive_issue","linear_archive_label","linear_archive_project","linear_create_attachment","linear_create_comment","linear_create_customer","linear_create_customer_request","linear_create_customer_status","linear_create_customer_tier","linear_create_cycle","linear_create_favorite","linear_create_issue","linear_create_issue_relation","linear_create_label","linear_create_project","linear_create_project_label","linear_create_project_milestone","linear_create_project_status","linear_create_project_update","linear_create_workflow_state","linear_delete_attachment","linear_delete_comment","linear_delete_customer","linear_delete_customer_status","linear_delete_customer_tier","linear_delete_issue","linear_delete_issue_relation","linear_delete_project","linear_delete_project_label","linear_delete_project_milestone","linear_delete_project_status","linear_get_active_cycle","linear_get_customer","linear_get_cycle","linear_get_issue","linear_get_project","linear_get_viewer","linear_list_attachments","linear_list_comments","linear_list_customer_requests","linear_list_customer_statuses","linear_list_customer_tiers","linear_list_customers","linear_list_cycles","linear_list_favorites","linear_list_issue_relations","linear_list_labels","linear_list_notifications","linear_list_project_labels","linear_list_project_milestones","linear_list_project_statuses","linear_list_project_updates","linear_list_projects","linear_list_teams","linear_list_users","linear_list_workflow_states","linear_merge_customers","linear_read_issues","linear_remove_label_from_issue","linear_remove_label_from_project","linear_search_issues","linear_unarchive_issue","linear_update_attachment","linear_update_comment","linear_update_customer","linear_update_customer_request","linear_update_customer_status","linear_update_customer_tier","linear_update_issue","linear_update_label","linear_update_notification","linear_update_project","linear_update_project_label","linear_update_project_milestone","linear_update_project_status","linear_update_workflow_state","linkedin_get_profile","linkedin_share_post","linkup_search","linq_add_participant","linq_check_imessage","linq_check_rcs","linq_create_attachment","linq_create_chat","linq_create_contact_card","linq_create_webhook_subscription","linq_delete_attachment","linq_delete_message","linq_delete_webhook_subscription","linq_edit_message","linq_get_attachment","linq_get_chat","linq_get_contact_card","linq_get_message","linq_get_webhook_subscription","linq_leave_chat","linq_list_chats","linq_list_messages","linq_list_phone_numbers","linq_list_thread","linq_list_webhook_events","linq_list_webhook_subscriptions","linq_mark_chat_read","linq_react_to_message","linq_remove_participant","linq_send_message","linq_send_voice_memo","linq_share_contact_card","linq_start_typing","linq_stop_typing","linq_update_chat","linq_update_contact_card","linq_update_webhook_subscription","llm_chat","logfire_get_token_info","logfire_get_trace","logfire_query","logfire_search_records","logrocket_create_release","logrocket_get_audit_logs","logrocket_get_highlights","logrocket_identify_user","logrocket_list_exported_sessions","logrocket_request_highlights","logs_get","logs_get_execution","logs_get_run_details","logs_query","logs_query_runs","loops_check_contact_suppression","loops_create_contact","loops_create_contact_property","loops_delete_contact","loops_find_contact","loops_get_transactional_email","loops_list_contact_properties","loops_list_mailing_lists","loops_list_transactional_emails","loops_remove_contact_suppression","loops_send_event","loops_send_transactional_email","loops_update_contact","luma_add_guests","luma_cancel_event","luma_create_event","luma_get_event","luma_get_guest","luma_get_guests","luma_list_events","luma_lookup_event","luma_send_invites","luma_update_event","luma_update_guest_status","mailchimp_add_member","mailchimp_add_member_tags","mailchimp_add_or_update_member","mailchimp_add_segment_member","mailchimp_add_subscriber_to_automation","mailchimp_archive_member","mailchimp_create_audience","mailchimp_create_batch_operation","mailchimp_create_campaign","mailchimp_create_interest","mailchimp_create_interest_category","mailchimp_create_landing_page","mailchimp_create_merge_field","mailchimp_create_segment","mailchimp_create_template","mailchimp_delete_audience","mailchimp_delete_batch_operation","mailchimp_delete_campaign","mailchimp_delete_interest","mailchimp_delete_interest_category","mailchimp_delete_landing_page","mailchimp_delete_member","mailchimp_delete_merge_field","mailchimp_delete_segment","mailchimp_delete_template","mailchimp_get_audience","mailchimp_get_audiences","mailchimp_get_automation","mailchimp_get_automations","mailchimp_get_batch_operation","mailchimp_get_batch_operations","mailchimp_get_campaign","mailchimp_get_campaign_content","mailchimp_get_campaign_report","mailchimp_get_campaign_reports","mailchimp_get_campaigns","mailchimp_get_interest","mailchimp_get_interest_categories","mailchimp_get_interest_category","mailchimp_get_interests","mailchimp_get_landing_page","mailchimp_get_landing_pages","mailchimp_get_member","mailchimp_get_member_tags","mailchimp_get_members","mailchimp_get_merge_field","mailchimp_get_merge_fields","mailchimp_get_segment","mailchimp_get_segment_members","mailchimp_get_segments","mailchimp_get_template","mailchimp_get_templates","mailchimp_pause_automation","mailchimp_publish_landing_page","mailchimp_remove_member_tags","mailchimp_remove_segment_member","mailchimp_replicate_campaign","mailchimp_schedule_campaign","mailchimp_send_campaign","mailchimp_set_campaign_content","mailchimp_start_automation","mailchimp_unarchive_member","mailchimp_unpublish_landing_page","mailchimp_unschedule_campaign","mailchimp_update_audience","mailchimp_update_campaign","mailchimp_update_interest","mailchimp_update_interest_category","mailchimp_update_landing_page","mailchimp_update_member","mailchimp_update_merge_field","mailchimp_update_segment","mailchimp_update_template","mailgun_add_list_member","mailgun_create_mailing_list","mailgun_get_domain","mailgun_get_mailing_list","mailgun_get_message","mailgun_list_domains","mailgun_list_messages","mailgun_send_message","managed_agent_archive_session","managed_agent_create_session","managed_agent_delete_session","managed_agent_get_session","managed_agent_interrupt_session","managed_agent_list_events","managed_agent_respond_custom_tool","managed_agent_respond_tool_confirmation","managed_agent_run_session","managed_agent_send_message","managed_agent_update_session","manageengine_sdp_add_change_note","manageengine_sdp_add_problem_note","manageengine_sdp_add_request_note","manageengine_sdp_create_asset","manageengine_sdp_create_change","manageengine_sdp_create_problem","manageengine_sdp_create_request","manageengine_sdp_create_solution","manageengine_sdp_delete_asset","manageengine_sdp_delete_change","manageengine_sdp_delete_problem","manageengine_sdp_delete_request","manageengine_sdp_delete_solution","manageengine_sdp_get_asset","manageengine_sdp_get_change","manageengine_sdp_get_problem","manageengine_sdp_get_request","manageengine_sdp_get_solution","manageengine_sdp_list_assets","manageengine_sdp_list_change_notes","manageengine_sdp_list_changes","manageengine_sdp_list_problem_notes","manageengine_sdp_list_problems","manageengine_sdp_list_request_notes","manageengine_sdp_list_requests","manageengine_sdp_list_solutions","manageengine_sdp_update_asset","manageengine_sdp_update_change","manageengine_sdp_update_problem","manageengine_sdp_update_request","manageengine_sdp_update_solution","mcp_list_operations","mcp_run_operation","mem0_add_memories","mem0_get_memories","mem0_search_memories","memory_add","memory_delete","memory_get","memory_get_all","microsoft_ad_add_directory_role_member","microsoft_ad_add_group_member","microsoft_ad_add_user_app_role_assignment","microsoft_ad_assign_license","microsoft_ad_create_group","microsoft_ad_create_user","microsoft_ad_delete_group","microsoft_ad_delete_user","microsoft_ad_get_conditional_access_policy","microsoft_ad_get_device","microsoft_ad_get_group","microsoft_ad_get_user","microsoft_ad_list_authentication_methods","microsoft_ad_list_conditional_access_policies","microsoft_ad_list_devices","microsoft_ad_list_directory_audits","microsoft_ad_list_directory_role_members","microsoft_ad_list_directory_roles","microsoft_ad_list_group_members","microsoft_ad_list_groups","microsoft_ad_list_service_principal_app_role_assignments","microsoft_ad_list_service_principals","microsoft_ad_list_sign_ins","microsoft_ad_list_subscribed_skus","microsoft_ad_list_user_app_role_assignments","microsoft_ad_list_user_devices","microsoft_ad_list_user_licenses","microsoft_ad_list_users","microsoft_ad_remove_directory_role_member","microsoft_ad_remove_group_member","microsoft_ad_remove_user_app_role_assignment","microsoft_ad_reset_password","microsoft_ad_revoke_sign_in_sessions","microsoft_ad_set_password","microsoft_ad_update_group","microsoft_ad_update_user","microsoft_dataverse_associate","microsoft_dataverse_create_multiple","microsoft_dataverse_create_record","microsoft_dataverse_delete_record","microsoft_dataverse_disassociate","microsoft_dataverse_download_file","microsoft_dataverse_download_file_v2","microsoft_dataverse_execute_action","microsoft_dataverse_execute_function","microsoft_dataverse_fetchxml_query","microsoft_dataverse_get_entity_metadata","microsoft_dataverse_get_record","microsoft_dataverse_list_records","microsoft_dataverse_search","microsoft_dataverse_update_multiple","microsoft_dataverse_update_record","microsoft_dataverse_upload_file","microsoft_dataverse_upsert_record","microsoft_dataverse_whoami","microsoft_dynamics_365_close_case","microsoft_dynamics_365_close_opportunity","microsoft_dynamics_365_create_record","microsoft_dynamics_365_get_record","microsoft_dynamics_365_list_records","microsoft_dynamics_365_qualify_lead","microsoft_dynamics_365_search_records","microsoft_dynamics_365_update_record","microsoft_excel_clear_range","microsoft_excel_create_table","microsoft_excel_delete_worksheet","microsoft_excel_format_range","microsoft_excel_read","microsoft_excel_read_v2","microsoft_excel_sort_range","microsoft_excel_table_add","microsoft_excel_worksheet_add","microsoft_excel_write","microsoft_excel_write_v2","microsoft_planner_create_bucket","microsoft_planner_create_plan","microsoft_planner_create_task","microsoft_planner_delete_bucket","microsoft_planner_delete_plan","microsoft_planner_delete_task","microsoft_planner_get_plan_details","microsoft_planner_get_task_details","microsoft_planner_list_buckets","microsoft_planner_list_plans","microsoft_planner_read_bucket","microsoft_planner_read_plan","microsoft_planner_read_task","microsoft_planner_update_bucket","microsoft_planner_update_plan","microsoft_planner_update_plan_details","microsoft_planner_update_task","microsoft_planner_update_task_details","microsoft_teams_delete_channel_message","microsoft_teams_delete_chat_message","microsoft_teams_get_message","microsoft_teams_list_channel_members","microsoft_teams_list_channels","microsoft_teams_list_chat_members","microsoft_teams_list_chats","microsoft_teams_list_team_members","microsoft_teams_list_teams","microsoft_teams_read_channel","microsoft_teams_read_chat","microsoft_teams_reply_to_message","microsoft_teams_set_reaction","microsoft_teams_unset_reaction","microsoft_teams_update_channel_message","microsoft_teams_update_chat_message","microsoft_teams_write_channel","microsoft_teams_write_chat","microsoft_word_append","microsoft_word_create","microsoft_word_create_from_template","microsoft_word_export_pdf","microsoft_word_list","microsoft_word_read","microsoft_word_replace_text","microsoft_word_update","millionverifier_get_credits","millionverifier_verify_email","mintlify_create_agent_job","mintlify_create_assistant_message","mintlify_detect_ai_prose","mintlify_get_agent_job","mintlify_get_assistant_caller_stats","mintlify_get_assistant_conversations","mintlify_get_feedback","mintlify_get_feedback_by_page","mintlify_get_page_content","mintlify_get_searches","mintlify_get_update_status","mintlify_get_views","mintlify_get_visitors","mintlify_search","mintlify_send_agent_message","mintlify_trigger_automation","mintlify_trigger_preview","mintlify_trigger_update","mistral_parser","mistral_parser_v2","mistral_parser_v3","modal_call_function","modal_chat_completion","modal_list_models","monday_archive_item","monday_change_column_value","monday_create_board","monday_create_column","monday_create_group","monday_create_item","monday_create_subitem","monday_create_update","monday_delete_item","monday_duplicate_item","monday_get_board","monday_get_groups","monday_get_item","monday_get_items","monday_list_boards","monday_move_item_to_group","monday_search_items","monday_update_item","mongodb_delete","mongodb_execute","mongodb_insert","mongodb_introspect","mongodb_query","mongodb_update","mssql_delete","mssql_execute","mssql_insert","mssql_introspect","mssql_query","mssql_update","mysql_delete","mysql_execute","mysql_insert","mysql_introspect","mysql_query","mysql_update","neo4j_create","neo4j_delete","neo4j_execute","neo4j_introspect","neo4j_merge","neo4j_query","neo4j_update","netsuite_attach_record","netsuite_batch_create_records","netsuite_batch_delete_records","netsuite_batch_get_records","netsuite_batch_update_records","netsuite_batch_upsert_records","netsuite_create_record","netsuite_delete_record","netsuite_detach_record","netsuite_execute_action","netsuite_execute_dataset","netsuite_execute_suiteql","netsuite_get_async_result","netsuite_get_async_status","netsuite_get_governance_limits","netsuite_get_record","netsuite_get_record_form","netsuite_get_record_metadata","netsuite_get_select_options","netsuite_get_server_time","netsuite_get_subresource","netsuite_list_datasets","netsuite_list_record_types","netsuite_list_records","netsuite_transform_record","netsuite_update_record","netsuite_upsert_record","neverbounce_get_credits","neverbounce_verify_email","new_relic_create_deployment_event","new_relic_get_entity","new_relic_nrql_query","new_relic_search_entities","notion_add_database_row","notion_add_database_row_v2","notion_append_blocks","notion_append_blocks_v2","notion_create_comment","notion_create_comment_v2","notion_create_database","notion_create_database_v2","notion_create_page","notion_create_page_v2","notion_delete_block","notion_delete_block_v2","notion_list_comments","notion_list_comments_v2","notion_list_users","notion_list_users_v2","notion_query_database","notion_query_database_v2","notion_read","notion_read_database","notion_read_database_v2","notion_read_v2","notion_retrieve_block","notion_retrieve_block_children","notion_retrieve_block_children_v2","notion_retrieve_block_v2","notion_retrieve_user","notion_retrieve_user_v2","notion_search","notion_search_v2","notion_update_block","notion_update_block_v2","notion_update_page","notion_update_page_v2","notion_write","notion_write_v2","obsidian_append_active","obsidian_append_note","obsidian_append_periodic_note","obsidian_create_note","obsidian_delete_note","obsidian_execute_command","obsidian_get_active","obsidian_get_note","obsidian_get_periodic_note","obsidian_list_commands","obsidian_list_files","obsidian_open_file","obsidian_patch_active","obsidian_patch_note","obsidian_search","okta_activate_group_rule","okta_activate_user","okta_add_user_to_group","okta_assign_group_to_app","okta_assign_user_role","okta_assign_user_to_app","okta_clear_user_sessions","okta_create_group","okta_create_group_rule","okta_create_user","okta_deactivate_group_rule","okta_deactivate_user","okta_delete_group","okta_delete_group_rule","okta_delete_user","okta_enroll_factor","okta_get_app","okta_get_factor","okta_get_group","okta_get_group_rule","okta_get_logs","okta_get_session","okta_get_user","okta_list_app_groups","okta_list_app_users","okta_list_apps","okta_list_factors","okta_list_group_members","okta_list_group_rules","okta_list_groups","okta_list_user_roles","okta_list_users","okta_remove_group_from_app","okta_remove_user_from_app","okta_remove_user_from_group","okta_remove_user_role","okta_reset_all_factors","okta_reset_factor","okta_reset_password","okta_revoke_session","okta_suspend_user","okta_unsuspend_user","okta_update_group","okta_update_user","onedrive_copy","onedrive_create_folder","onedrive_create_share_link","onedrive_delete","onedrive_download","onedrive_get_drive_info","onedrive_get_item","onedrive_list","onedrive_move","onedrive_search","onedrive_upload","onepassword_create_item","onepassword_delete_item","onepassword_get_item","onepassword_get_item_file","onepassword_get_vault","onepassword_list_items","onepassword_list_vaults","onepassword_replace_item","onepassword_resolve_secret","onepassword_update_item","openai_embeddings","openai_image","outlook_calendar_create_event","outlook_calendar_delete_event","outlook_calendar_get_event","outlook_calendar_list_events","outlook_calendar_respond","outlook_calendar_update_event","outlook_copy","outlook_create_folder","outlook_delete","outlook_draft","outlook_forward","outlook_get_attachment","outlook_list_attachments","outlook_list_folders","outlook_mark_read","outlook_mark_unread","outlook_move","outlook_read","outlook_reply","outlook_reply_all","outlook_search","outlook_send","outlook_update_message","pagerduty_add_note","pagerduty_create_incident","pagerduty_get_incident","pagerduty_get_service","pagerduty_list_escalation_policies","pagerduty_list_incident_alerts","pagerduty_list_incidents","pagerduty_list_oncalls","pagerduty_list_schedules","pagerduty_list_services","pagerduty_list_users","pagerduty_merge_incidents","pagerduty_send_event","pagerduty_snooze_incident","pagerduty_update_incident","parallel_deep_research","parallel_extract","parallel_search","pdl_autocomplete","pdl_bulk_company_enrich","pdl_bulk_person_enrich","pdl_clean_company","pdl_clean_location","pdl_clean_school","pdl_company_enrich","pdl_company_search","pdl_person_enrich","pdl_person_identify","pdl_person_search","perplexity_chat","perplexity_search","persona_approve_inquiry","persona_create_account","persona_create_inquiry","persona_create_report","persona_decline_inquiry","persona_expire_inquiry","persona_generate_inquiry_link","persona_get_account","persona_get_case","persona_get_document","persona_get_inquiry","persona_get_report","persona_get_verification","persona_import_accounts","persona_list_accounts","persona_list_cases","persona_list_inquiries","persona_list_inquiry_templates","persona_list_reports","persona_mark_inquiry_for_review","persona_print_inquiry_pdf","persona_redact_account","persona_redact_inquiry","persona_resume_inquiry","persona_update_account","persona_update_inquiry","pinecone_delete_vectors","pinecone_describe_index","pinecone_describe_index_stats","pinecone_fetch","pinecone_generate_embeddings","pinecone_list_indexes","pinecone_list_vector_ids","pinecone_search_text","pinecone_search_vector","pinecone_update_vector","pinecone_upsert_text","pipedrive_create_activity","pipedrive_create_deal","pipedrive_create_lead","pipedrive_create_project","pipedrive_delete_lead","pipedrive_get_activities","pipedrive_get_all_deals","pipedrive_get_deal","pipedrive_get_files","pipedrive_get_leads","pipedrive_get_mail_messages","pipedrive_get_mail_thread","pipedrive_get_pipeline_deals","pipedrive_get_pipelines","pipedrive_get_projects","pipedrive_update_activity","pipedrive_update_deal","pipedrive_update_lead","pitchbook_company_active_investors","pitchbook_company_bio","pitchbook_company_deal_service_providers","pitchbook_company_deals","pitchbook_company_financials","pitchbook_company_general_service_providers","pitchbook_company_industries","pitchbook_company_investors","pitchbook_company_most_recent_debt_financing","pitchbook_company_most_recent_financials","pitchbook_company_most_recent_financing","pitchbook_company_search","pitchbook_company_similar_companies","pitchbook_company_social_analytics","pitchbook_company_updates","pitchbook_company_vc_exit_predictions","pitchbook_contracts_history","pitchbook_cost_of_calls","pitchbook_credit_history","pitchbook_credit_news","pitchbook_credit_news_bulk","pitchbook_credit_news_most_recent","pitchbook_credit_news_search","pitchbook_deal_bio","pitchbook_deal_cap_table_history","pitchbook_deal_debt_lenders","pitchbook_deal_detailed","pitchbook_deal_investors","pitchbook_deal_multiples","pitchbook_deal_search","pitchbook_deal_service_providers","pitchbook_deal_stock_info","pitchbook_deal_tranche_info","pitchbook_deal_updates","pitchbook_deal_valuation","pitchbook_entity_affiliates","pitchbook_entity_locations","pitchbook_entity_news","pitchbook_entity_people","pitchbook_entity_updates","pitchbook_fund_active_investments","pitchbook_fund_benchmark","pitchbook_fund_bio","pitchbook_fund_cash_flows","pitchbook_fund_commitments","pitchbook_fund_investment_preferences","pitchbook_fund_investments","pitchbook_fund_performance","pitchbook_fund_search","pitchbook_fund_team","pitchbook_fund_updates","pitchbook_investor_active_investments","pitchbook_investor_bio","pitchbook_investor_board_seats","pitchbook_investor_deal_service_providers","pitchbook_investor_funds","pitchbook_investor_general_service_providers","pitchbook_investor_investments","pitchbook_investor_last_closed_fund","pitchbook_investor_preferences","pitchbook_investor_search","pitchbook_investor_updates","pitchbook_limited_partner_actual_allocations","pitchbook_limited_partner_bio","pitchbook_limited_partner_commitment_aggregates","pitchbook_limited_partner_commitment_preferences","pitchbook_limited_partner_commitments_detailed","pitchbook_limited_partner_search","pitchbook_limited_partner_service_providers","pitchbook_limited_partner_target_allocations","pitchbook_limited_partner_updates","pitchbook_lookup_table_structure","pitchbook_lookup_tables","pitchbook_patent_detailed","pitchbook_patent_search","pitchbook_people_search","pitchbook_person_bio","pitchbook_person_contact","pitchbook_person_education_work","pitchbook_sandbox_entities","pitchbook_search","pitchbook_service_provider_bio","pitchbook_service_provider_search","pitchbook_service_provider_updates","pitchbook_serviced_companies","pitchbook_serviced_deals","pitchbook_serviced_funds","pitchbook_serviced_investors","pitchbook_serviced_limited_partners","pitchbook_shared_search","pitchbook_usage_report","polymarket_get_activity","polymarket_get_event","polymarket_get_events","polymarket_get_holders","polymarket_get_last_trade_price","polymarket_get_leaderboard","polymarket_get_market","polymarket_get_markets","polymarket_get_midpoint","polymarket_get_orderbook","polymarket_get_positions","polymarket_get_price","polymarket_get_price_history","polymarket_get_series","polymarket_get_series_by_id","polymarket_get_spread","polymarket_get_tags","polymarket_get_tick_size","polymarket_get_trades","polymarket_search","postgresql_delete","postgresql_execute","postgresql_insert","postgresql_introspect","postgresql_query","postgresql_update","posthog_batch_events","posthog_capture_event","posthog_create_annotation","posthog_create_cohort","posthog_create_dashboard","posthog_create_experiment","posthog_create_feature_flag","posthog_create_insight","posthog_create_survey","posthog_delete_feature_flag","posthog_delete_person","posthog_delete_survey","posthog_evaluate_flags","posthog_get_cohort","posthog_get_dashboard","posthog_get_event_definition","posthog_get_experiment","posthog_get_feature_flag","posthog_get_insight","posthog_get_organization","posthog_get_person","posthog_get_project","posthog_get_property_definition","posthog_get_session_recording","posthog_get_survey","posthog_list_actions","posthog_list_annotations","posthog_list_cohorts","posthog_list_dashboards","posthog_list_event_definitions","posthog_list_experiments","posthog_list_feature_flags","posthog_list_insights","posthog_list_organizations","posthog_list_persons","posthog_list_projects","posthog_list_property_definitions","posthog_list_recording_playlists","posthog_list_session_recordings","posthog_list_surveys","posthog_query","posthog_update_cohort","posthog_update_event_definition","posthog_update_experiment","posthog_update_feature_flag","posthog_update_insight","posthog_update_property_definition","posthog_update_survey","profound_bot_logs","profound_bots_report","profound_category_assets","profound_category_personas","profound_category_prompts","profound_category_tags","profound_category_topics","profound_citation_prompts","profound_citations_report","profound_list_assets","profound_list_categories","profound_list_domains","profound_list_models","profound_list_optimizations","profound_list_personas","profound_list_regions","profound_optimization_analysis","profound_prompt_answers","profound_prompt_volume","profound_query_fanouts","profound_raw_logs","profound_referrals_report","profound_sentiment_report","profound_visibility_report","prospeo_account_information","prospeo_bulk_enrich_company","prospeo_bulk_enrich_person","prospeo_enrich_company","prospeo_enrich_person","prospeo_search_company","prospeo_search_person","prospeo_search_suggestions","pulse_parser","pulse_parser_v2","qdrant_fetch_points","qdrant_search_vector","qdrant_upsert_points","quartr_get_audio","quartr_get_company","quartr_get_event","quartr_get_event_summary","quartr_get_report","quartr_get_slide_deck","quartr_get_transcript","quartr_list_audio","quartr_list_companies","quartr_list_document_types","quartr_list_documents","quartr_list_event_types","quartr_list_events","quartr_list_live_events","quartr_list_reports","quartr_list_slide_decks","quartr_list_transcripts","quickbooks_add_attachment","quickbooks_create_bill","quickbooks_create_bill_payment","quickbooks_create_credit_memo","quickbooks_create_customer","quickbooks_create_customer_payment","quickbooks_create_deposit","quickbooks_create_employee","quickbooks_create_estimate","quickbooks_create_invoice","quickbooks_create_item","quickbooks_create_journal_entry","quickbooks_create_purchase","quickbooks_create_purchase_order","quickbooks_create_refund_receipt","quickbooks_create_sales_receipt","quickbooks_create_vendor","quickbooks_create_vendor_credit","quickbooks_download_attachment","quickbooks_download_transaction_pdf","quickbooks_email_transaction","quickbooks_get_company_info","quickbooks_read_accounting_transactions","quickbooks_read_attachments","quickbooks_read_master_data","quickbooks_read_purchasing_transactions","quickbooks_read_sales_transactions","quickbooks_run_financial_report","quickbooks_update_bill","quickbooks_update_bill_payment","quickbooks_update_credit_memo","quickbooks_update_customer","quickbooks_update_customer_payment","quickbooks_update_deposit","quickbooks_update_employee","quickbooks_update_estimate","quickbooks_update_invoice","quickbooks_update_item","quickbooks_update_journal_entry","quickbooks_update_purchase","quickbooks_update_purchase_order","quickbooks_update_refund_receipt","quickbooks_update_sales_receipt","quickbooks_update_vendor","quickbooks_update_vendor_credit","quickbooks_void_bill_payment","quickbooks_void_customer_payment","quickbooks_void_invoice","quickbooks_void_sales_receipt","quiver_image_to_svg","quiver_image_to_svg_v2","quiver_list_models","quiver_text_to_svg","quiver_text_to_svg_v2","rabbitmq_create_binding","rabbitmq_create_exchange","rabbitmq_create_policy","rabbitmq_create_queue","rabbitmq_delete_binding","rabbitmq_delete_exchange","rabbitmq_delete_policy","rabbitmq_delete_queue","rabbitmq_get_exchange","rabbitmq_get_messages","rabbitmq_get_overview","rabbitmq_get_queue","rabbitmq_health_check","rabbitmq_list_bindings","rabbitmq_list_channels","rabbitmq_list_connections","rabbitmq_list_consumers","rabbitmq_list_exchange_bindings","rabbitmq_list_exchanges","rabbitmq_list_nodes","rabbitmq_list_policies","rabbitmq_list_queues","rabbitmq_list_vhosts","rabbitmq_publish_message","rabbitmq_purge_queue","railway_create_environment","railway_create_project","railway_create_service","railway_delete_environment","railway_delete_project","railway_delete_service","railway_delete_variable","railway_deploy_service","railway_get_deployment","railway_get_deployment_logs","railway_get_project","railway_list_deployments","railway_list_project_members","railway_list_projects","railway_list_variables","railway_restart_deployment","railway_rollback_deployment","railway_transfer_project","railway_update_project","railway_upsert_variable","rb2b_credit_check","rb2b_email_to_activity","rb2b_hem_to_best_linkedin","rb2b_hem_to_business_profile","rb2b_hem_to_linkedin","rb2b_hem_to_maid","rb2b_ip_to_company","rb2b_ip_to_hem","rb2b_ip_to_maid","rb2b_linkedin_slug_search","rb2b_linkedin_to_best_personal_email","rb2b_linkedin_to_business_profile","rb2b_linkedin_to_hashed_emails","rb2b_linkedin_to_mobile_phone","rb2b_linkedin_to_personal_email","rds_delete","rds_execute","rds_insert","rds_introspect","rds_query","rds_update","reddit_delete","reddit_edit","reddit_get_comments","reddit_get_controversial","reddit_get_info","reddit_get_me","reddit_get_messages","reddit_get_posts","reddit_get_saved","reddit_get_subreddit_info","reddit_get_subreddit_rules","reddit_get_user","reddit_get_user_comments","reddit_get_user_posts","reddit_hide","reddit_hot_posts","reddit_list_my_subreddits","reddit_lock","reddit_mark_all_read","reddit_mark_read","reddit_marknsfw","reddit_mod_approve","reddit_mod_distinguish","reddit_mod_remove","reddit_mod_sticky","reddit_reply","reddit_report","reddit_save","reddit_search","reddit_search_subreddits","reddit_send_message","reddit_submit_post","reddit_subscribe","reddit_unhide","reddit_unlock","reddit_unmarknsfw","reddit_unsave","reddit_vote","redis_command","redis_delete","redis_exists","redis_expire","redis_get","redis_hdel","redis_hget","redis_hgetall","redis_hset","redis_incr","redis_incrby","redis_keys","redis_llen","redis_lpop","redis_lpush","redis_lrange","redis_persist","redis_rpop","redis_rpush","redis_set","redis_setnx","redis_ttl","reducto_parser","reducto_parser_v2","resend_cancel_email","resend_create_audience","resend_create_broadcast","resend_create_contact","resend_delete_audience","resend_delete_contact","resend_get_audience","resend_get_broadcast","resend_get_contact","resend_get_email","resend_list_audiences","resend_list_contacts","resend_list_domains","resend_send","resend_send_broadcast","resend_update_contact","revenuecat_create_purchase","revenuecat_defer_google_subscription","revenuecat_delete_customer","revenuecat_get_customer","revenuecat_grant_entitlement","revenuecat_list_offerings","revenuecat_refund_google_subscription","revenuecat_revoke_entitlement","revenuecat_revoke_google_subscription","revenuecat_update_subscriber_attributes","rippling_bulk_create_custom_object_records","rippling_bulk_delete_custom_object_records","rippling_bulk_update_custom_object_records","rippling_create_business_partner","rippling_create_business_partner_group","rippling_create_custom_app","rippling_create_custom_object","rippling_create_custom_object_field","rippling_create_custom_object_record","rippling_create_custom_page","rippling_create_custom_setting","rippling_create_department","rippling_create_draft_hires","rippling_create_object_category","rippling_create_title","rippling_create_work_location","rippling_delete_business_partner","rippling_delete_business_partner_group","rippling_delete_custom_app","rippling_delete_custom_object","rippling_delete_custom_object_field","rippling_delete_custom_object_record","rippling_delete_custom_page","rippling_delete_custom_setting","rippling_delete_object_category","rippling_delete_title","rippling_delete_work_location","rippling_get_business_partner","rippling_get_business_partner_group","rippling_get_current_user","rippling_get_custom_app","rippling_get_custom_object","rippling_get_custom_object_field","rippling_get_custom_object_record","rippling_get_custom_object_record_by_external_id","rippling_get_custom_page","rippling_get_custom_setting","rippling_get_department","rippling_get_employment_type","rippling_get_job_function","rippling_get_object_category","rippling_get_report_run","rippling_get_supergroup","rippling_get_team","rippling_get_title","rippling_get_user","rippling_get_work_location","rippling_get_worker","rippling_list_business_partner_groups","rippling_list_business_partners","rippling_list_companies","rippling_list_custom_apps","rippling_list_custom_fields","rippling_list_custom_object_fields","rippling_list_custom_object_records","rippling_list_custom_objects","rippling_list_custom_pages","rippling_list_custom_settings","rippling_list_departments","rippling_list_employment_types","rippling_list_entitlements","rippling_list_job_functions","rippling_list_object_categories","rippling_list_supergroup_exclusion_members","rippling_list_supergroup_inclusion_members","rippling_list_supergroup_members","rippling_list_supergroups","rippling_list_teams","rippling_list_titles","rippling_list_users","rippling_list_work_locations","rippling_list_workers","rippling_query_custom_object_records","rippling_trigger_report_run","rippling_update_custom_app","rippling_update_custom_object","rippling_update_custom_object_field","rippling_update_custom_object_record","rippling_update_custom_page","rippling_update_custom_setting","rippling_update_department","rippling_update_object_category","rippling_update_supergroup_exclusion_members","rippling_update_supergroup_inclusion_members","rippling_update_title","rippling_update_work_location","rocketlane_add_field_option","rocketlane_add_project_members","rocketlane_add_task_assignees","rocketlane_add_task_dependencies","rocketlane_add_task_followers","rocketlane_archive_project","rocketlane_assign_placeholders","rocketlane_create_field","rocketlane_create_phase","rocketlane_create_project","rocketlane_create_space","rocketlane_create_space_document","rocketlane_create_task","rocketlane_create_time_entry","rocketlane_create_time_off","rocketlane_delete_field","rocketlane_delete_phase","rocketlane_delete_project","rocketlane_delete_space","rocketlane_delete_space_document","rocketlane_delete_task","rocketlane_delete_time_entry","rocketlane_delete_time_off","rocketlane_get_field","rocketlane_get_invoice","rocketlane_get_invoice_line_items","rocketlane_get_invoice_payments","rocketlane_get_phase","rocketlane_get_project","rocketlane_get_space","rocketlane_get_space_document","rocketlane_get_task","rocketlane_get_time_entry","rocketlane_get_time_off","rocketlane_get_user","rocketlane_import_template","rocketlane_list_fields","rocketlane_list_invoices","rocketlane_list_phases","rocketlane_list_placeholders","rocketlane_list_projects","rocketlane_list_resource_allocations","rocketlane_list_space_documents","rocketlane_list_spaces","rocketlane_list_tasks","rocketlane_list_time_entries","rocketlane_list_time_entry_categories","rocketlane_list_time_offs","rocketlane_list_users","rocketlane_move_task_to_phase","rocketlane_remove_project_members","rocketlane_remove_task_assignees","rocketlane_remove_task_dependencies","rocketlane_remove_task_followers","rocketlane_search_time_entries","rocketlane_unassign_placeholders","rocketlane_update_field","rocketlane_update_field_option","rocketlane_update_phase","rocketlane_update_project","rocketlane_update_space","rocketlane_update_space_document","rocketlane_update_task","rocketlane_update_time_entry","rootly_acknowledge_alert","rootly_add_incident_event","rootly_add_subscribers","rootly_assign_incident_role","rootly_create_action_item","rootly_create_alert","rootly_create_incident","rootly_create_status_page_event","rootly_delete_action_item","rootly_delete_incident","rootly_escalate_alert","rootly_get_alert","rootly_get_incident","rootly_list_action_items","rootly_list_alerts","rootly_list_causes","rootly_list_environments","rootly_list_escalation_policies","rootly_list_functionalities","rootly_list_incident_events","rootly_list_incident_roles","rootly_list_incident_types","rootly_list_incidents","rootly_list_on_calls","rootly_list_playbooks","rootly_list_retrospectives","rootly_list_schedules","rootly_list_services","rootly_list_severities","rootly_list_teams","rootly_list_users","rootly_mitigate_incident","rootly_remove_subscribers","rootly_resolve_alert","rootly_resolve_incident","rootly_run_workflow","rootly_snooze_alert","rootly_unassign_incident_role","rootly_update_action_item","rootly_update_alert","rootly_update_incident","s3_copy_object","s3_create_bucket","s3_delete_bucket","s3_delete_object","s3_delete_objects","s3_get_object","s3_head_object","s3_list_buckets","s3_list_objects","s3_presigned_url","s3_put_object","sailpoint_approve_access_request","sailpoint_cancel_access_request","sailpoint_decide_certification_review_items","sailpoint_get_access_profile","sailpoint_get_access_profile_entitlements","sailpoint_get_access_request_config","sailpoint_get_access_request_status","sailpoint_get_account","sailpoint_get_account_activity","sailpoint_get_account_entitlements","sailpoint_get_account_selections","sailpoint_get_campaign","sailpoint_get_certification","sailpoint_get_entitlement","sailpoint_get_entitlement_request_config","sailpoint_get_identity","sailpoint_get_role","sailpoint_get_role_entitlements","sailpoint_get_source","sailpoint_get_task_status","sailpoint_list_access_profiles","sailpoint_list_account_activities","sailpoint_list_accounts","sailpoint_list_campaigns","sailpoint_list_certification_review_items","sailpoint_list_certifications","sailpoint_list_entitlements","sailpoint_list_identities","sailpoint_list_identity_entitlements","sailpoint_list_pending_access_request_approvals","sailpoint_list_roles","sailpoint_list_sources","sailpoint_load_accounts","sailpoint_load_entitlements","sailpoint_reject_access_request","sailpoint_request_access","sailpoint_search","sailpoint_search_aggregate","sailpoint_search_count","sailpoint_sign_off_certification","salesforce_create_account","salesforce_create_case","salesforce_create_contact","salesforce_create_custom_field","salesforce_create_custom_object","salesforce_create_lead","salesforce_create_opportunity","salesforce_create_task","salesforce_delete_account","salesforce_delete_case","salesforce_delete_contact","salesforce_delete_custom_field","salesforce_delete_lead","salesforce_delete_opportunity","salesforce_delete_task","salesforce_describe_object","salesforce_get_accounts","salesforce_get_cases","salesforce_get_contacts","salesforce_get_dashboard","salesforce_get_leads","salesforce_get_opportunities","salesforce_get_report","salesforce_get_tasks","salesforce_list_dashboards","salesforce_list_objects","salesforce_list_report_types","salesforce_list_reports","salesforce_query","salesforce_query_more","salesforce_refresh_dashboard","salesforce_run_report","salesforce_tooling_query","salesforce_update_account","salesforce_update_case","salesforce_update_contact","salesforce_update_custom_field","salesforce_update_lead","salesforce_update_opportunity","salesforce_update_task","sap_concur_approve_expense_report","sap_concur_associate_attendees","sap_concur_create_cash_advance","sap_concur_create_expected_expense","sap_concur_create_expense_report","sap_concur_create_list_item","sap_concur_create_purchase_request","sap_concur_create_quick_expense","sap_concur_create_quick_expense_with_image","sap_concur_create_report_comment","sap_concur_create_travel_request","sap_concur_create_user","sap_concur_delete_expected_expense","sap_concur_delete_expense","sap_concur_delete_expense_report","sap_concur_delete_list_item","sap_concur_delete_travel_request","sap_concur_delete_user","sap_concur_get_allocation","sap_concur_get_budget","sap_concur_get_cash_advance","sap_concur_get_expected_expense","sap_concur_get_expense","sap_concur_get_expense_report","sap_concur_get_itemizations","sap_concur_get_itinerary","sap_concur_get_list","sap_concur_get_list_item","sap_concur_get_purchase_request","sap_concur_get_receipt","sap_concur_get_receipt_status","sap_concur_get_request_cash_advance","sap_concur_get_travel_profile","sap_concur_get_travel_request","sap_concur_get_user","sap_concur_issue_cash_advance","sap_concur_list_allocations","sap_concur_list_attendee_associations","sap_concur_list_budget_categories","sap_concur_list_budgets","sap_concur_list_exceptions","sap_concur_list_expected_expenses","sap_concur_list_expense_reports","sap_concur_list_expenses","sap_concur_list_itineraries","sap_concur_list_list_items","sap_concur_list_lists","sap_concur_list_receipts","sap_concur_list_report_comments","sap_concur_list_reports_to_approve","sap_concur_list_travel_profiles_summary","sap_concur_list_travel_request_comments","sap_concur_list_travel_requests","sap_concur_list_users","sap_concur_move_travel_request","sap_concur_recall_expense_report","sap_concur_remove_all_attendees","sap_concur_search_locations","sap_concur_search_users","sap_concur_send_back_expense_report","sap_concur_submit_expense_report","sap_concur_update_allocation","sap_concur_update_expected_expense","sap_concur_update_expense","sap_concur_update_expense_report","sap_concur_update_list_item","sap_concur_update_travel_request","sap_concur_update_user","sap_concur_upload_exchange_rates","sap_concur_upload_receipt_image","sap_s4hana_create_business_partner","sap_s4hana_create_purchase_order","sap_s4hana_create_purchase_requisition","sap_s4hana_create_sales_order","sap_s4hana_delete_sales_order","sap_s4hana_get_billing_document","sap_s4hana_get_business_partner","sap_s4hana_get_customer","sap_s4hana_get_inbound_delivery","sap_s4hana_get_material_document","sap_s4hana_get_outbound_delivery","sap_s4hana_get_product","sap_s4hana_get_purchase_order","sap_s4hana_get_purchase_requisition","sap_s4hana_get_sales_order","sap_s4hana_get_supplier","sap_s4hana_get_supplier_invoice","sap_s4hana_list_billing_documents","sap_s4hana_list_business_partners","sap_s4hana_list_customers","sap_s4hana_list_inbound_deliveries","sap_s4hana_list_material_documents","sap_s4hana_list_material_stock","sap_s4hana_list_outbound_deliveries","sap_s4hana_list_products","sap_s4hana_list_purchase_orders","sap_s4hana_list_purchase_requisitions","sap_s4hana_list_sales_orders","sap_s4hana_list_supplier_invoices","sap_s4hana_list_suppliers","sap_s4hana_odata_query","sap_s4hana_update_business_partner","sap_s4hana_update_customer","sap_s4hana_update_product","sap_s4hana_update_purchase_order","sap_s4hana_update_purchase_requisition","sap_s4hana_update_sales_order","sap_s4hana_update_supplier","search_tool","secrets_manager_create_secret","secrets_manager_delete_secret","secrets_manager_describe_secret","secrets_manager_get_secret","secrets_manager_list_secrets","secrets_manager_restore_secret","secrets_manager_rotate_secret","secrets_manager_tag_resource","secrets_manager_untag_resource","secrets_manager_update_secret","semrush_backlinks","semrush_backlinks_anchors","semrush_backlinks_competitors","semrush_backlinks_geo_distribution","semrush_backlinks_indexed_pages","semrush_backlinks_overview","semrush_backlinks_tld_distribution","semrush_batch_keyword_overview","semrush_broad_match_keywords","semrush_domain_ad_copies","semrush_domain_ad_history","semrush_domain_organic_competitors","semrush_domain_organic_keywords","semrush_domain_overview","semrush_domain_overview_all","semrush_domain_overview_history","semrush_domain_paid_competitors","semrush_domain_paid_keywords","semrush_domain_pla_copies","semrush_domain_pla_keywords","semrush_domain_vs_domain","semrush_keyword_ad_history","semrush_keyword_difficulty","semrush_keyword_overview","semrush_keyword_overview_all","semrush_keyword_questions","semrush_organic_results","semrush_paid_results","semrush_referring_domains","semrush_referring_ips","semrush_related_keywords","semrush_subdomain_ad_copies","semrush_subdomain_organic_keywords","semrush_subdomain_overview","semrush_subdomain_overview_all","semrush_subdomain_overview_history","semrush_subdomain_paid_keywords","semrush_top_domains","semrush_url_organic_keywords","semrush_url_overview","semrush_url_overview_all","semrush_url_overview_history","semrush_url_paid_keywords","semrush_winners_and_losers","sendblue_evaluate_service","sendblue_get_message","sendblue_send_group_message","sendblue_send_message","sendblue_send_typing_indicator","sendgrid_add_contact","sendgrid_add_contacts_to_list","sendgrid_create_list","sendgrid_create_template","sendgrid_create_template_version","sendgrid_delete_contacts","sendgrid_delete_list","sendgrid_delete_template","sendgrid_get_contact","sendgrid_get_list","sendgrid_get_template","sendgrid_list_all_lists","sendgrid_list_templates","sendgrid_remove_contacts_from_list","sendgrid_search_contacts","sendgrid_send_mail","sentry_events_get","sentry_events_list","sentry_issues_get","sentry_issues_list","sentry_issues_update","sentry_projects_create","sentry_projects_get","sentry_projects_list","sentry_projects_update","sentry_releases_create","sentry_releases_deploy","sentry_releases_list","sentry_teams_list","serper_search","servicenow_add_incident_comment","servicenow_aggregate","servicenow_close_incident","servicenow_create_change_request","servicenow_create_incident","servicenow_create_record","servicenow_delete_record","servicenow_download_attachment","servicenow_download_attachment_v2","servicenow_find_user","servicenow_get_change_next_states","servicenow_get_change_request","servicenow_get_ci","servicenow_get_incident","servicenow_get_knowledge_article","servicenow_get_requested_item","servicenow_list_approvals","servicenow_list_attachments","servicenow_list_catalog_items","servicenow_list_change_requests","servicenow_list_change_tasks","servicenow_list_ci_relationships","servicenow_list_group_members","servicenow_list_incidents","servicenow_list_requested_items","servicenow_order_catalog_item","servicenow_read_record","servicenow_resolve_incident","servicenow_search_cis","servicenow_search_knowledge","servicenow_update_approval","servicenow_update_change_request","servicenow_update_change_state","servicenow_update_incident","servicenow_update_record","servicenow_upload_attachment","ses_create_configuration_set","ses_create_email_identity","ses_create_template","ses_delete_email_identity","ses_delete_suppressed_destination","ses_delete_template","ses_get_account","ses_get_email_identity","ses_get_suppressed_destination","ses_get_template","ses_list_identities","ses_list_suppressed_destinations","ses_list_templates","ses_put_suppressed_destination","ses_send_bulk_email","ses_send_custom_verification_email","ses_send_email","ses_send_templated_email","ses_update_template","sftp_delete","sftp_download","sftp_download_v2","sftp_list","sftp_mkdir","sftp_upload","sharepoint_add_list_items","sharepoint_create_list","sharepoint_create_page","sharepoint_delete_file","sharepoint_delete_list_item","sharepoint_delete_page","sharepoint_download_file","sharepoint_get_drive_item","sharepoint_get_list","sharepoint_get_list_item","sharepoint_list_sites","sharepoint_publish_page","sharepoint_read_page","sharepoint_update_list","sharepoint_update_page","sharepoint_upload_file","shopify_adjust_inventory","shopify_cancel_order","shopify_create_customer","shopify_create_fulfillment","shopify_create_product","shopify_delete_customer","shopify_delete_product","shopify_get_collection","shopify_get_customer","shopify_get_inventory_level","shopify_get_order","shopify_get_product","shopify_list_collections","shopify_list_customers","shopify_list_inventory_items","shopify_list_locations","shopify_list_orders","shopify_list_products","shopify_update_customer","shopify_update_order","shopify_update_product","similarweb_bounce_rate","similarweb_page_views","similarweb_pages_per_visit","similarweb_traffic_visits","similarweb_visit_duration","similarweb_website_overview","sixtyfour_enrich_company","sixtyfour_enrich_lead","sixtyfour_find_email","sixtyfour_find_phone","slack_add_reaction","slack_archive_conversation","slack_canvas","slack_create_channel_canvas","slack_create_conversation","slack_delete_canvas","slack_delete_message","slack_delete_scheduled_message","slack_download","slack_edit_canvas","slack_ephemeral_message","slack_get_canvas","slack_get_channel_history","slack_get_channel_info","slack_get_message","slack_get_permalink","slack_get_thread","slack_get_thread_replies","slack_get_user","slack_get_user_presence","slack_invite_to_conversation","slack_list_canvases","slack_list_channels","slack_list_members","slack_list_scheduled_messages","slack_list_users","slack_lookup_canvas_sections","slack_message","slack_message_reader","slack_open_view","slack_publish_view","slack_push_view","slack_remove_reaction","slack_rename_agent_session_v2","slack_rename_conversation","slack_schedule_message","slack_set_agent_session_status_v2","slack_set_conversation_purpose","slack_set_conversation_topic","slack_set_status","slack_set_suggested_prompts","slack_set_suggested_prompts_v2","slack_set_title","slack_update_message","slack_update_view","smartlead_add_email_accounts_to_campaign","smartlead_add_leads_to_campaign","smartlead_create_campaign","smartlead_create_lead_list","smartlead_delete_campaign","smartlead_delete_campaign_webhook","smartlead_delete_lead_from_campaign","smartlead_delete_lead_list","smartlead_duplicate_campaign","smartlead_export_campaign_leads","smartlead_get_campaign","smartlead_get_campaign_analytics","smartlead_get_campaign_analytics_by_date","smartlead_get_campaign_lead_statistics","smartlead_get_campaign_mailbox_statistics","smartlead_get_campaign_sequences","smartlead_get_campaign_statistics","smartlead_get_campaign_top_level_analytics_by_date","smartlead_get_campaign_webhook_summary","smartlead_get_lead_by_email","smartlead_get_lead_by_id","smartlead_get_lead_list","smartlead_get_lead_message_history","smartlead_list_campaign_email_accounts","smartlead_list_campaign_leads","smartlead_list_campaign_webhooks","smartlead_list_campaigns","smartlead_list_clients","smartlead_list_email_accounts","smartlead_list_inbox_replies","smartlead_list_lead_activities","smartlead_list_lead_categories","smartlead_list_lead_lists","smartlead_mark_lead_complete","smartlead_pause_lead","smartlead_remove_email_accounts_from_campaign","smartlead_resume_lead","smartlead_save_campaign_sequences","smartlead_unsubscribe_lead_from_campaign","smartlead_unsubscribe_lead_globally","smartlead_update_campaign_schedule","smartlead_update_campaign_settings","smartlead_update_campaign_status","smartlead_update_lead","smartlead_update_lead_category","smartlead_update_lead_list","smartlead_upsert_campaign_webhook","sms_send","smtp_send_mail","snowflake_alter_warehouse","snowflake_call_procedure","snowflake_cancel_statement","snowflake_cancel_task_run","snowflake_delete_rows","snowflake_execute_sql","snowflake_get_statement","snowflake_get_task","snowflake_get_task_run","snowflake_get_task_run_output","snowflake_get_warehouse","snowflake_insert_rows","snowflake_introspect_schema","snowflake_list_copy_history","snowflake_list_databases","snowflake_list_query_history","snowflake_list_schemas","snowflake_list_tables","snowflake_list_task_runs","snowflake_list_tasks","snowflake_list_warehouses","snowflake_load_data","snowflake_resume_task","snowflake_resume_warehouse","snowflake_run_task","snowflake_suspend_task","snowflake_suspend_warehouse","snowflake_unload_data","snowflake_update_rows","snowflake_upsert_rows","splunk_cancel_search_job","splunk_create_search_job","splunk_dispatch_saved_search","splunk_get_fired_alerts","splunk_get_saved_search","splunk_get_search_job","splunk_get_search_results","splunk_list_apps","splunk_list_fired_alerts","splunk_list_indexes","splunk_list_saved_searches","splunk_run_search","sportmonks_core_get_cities","sportmonks_core_get_city","sportmonks_core_get_continent","sportmonks_core_get_continents","sportmonks_core_get_countries","sportmonks_core_get_country","sportmonks_core_get_entity_filters","sportmonks_core_get_my_usage","sportmonks_core_get_region","sportmonks_core_get_regions","sportmonks_core_get_timezones","sportmonks_core_get_type","sportmonks_core_get_type_by_entity","sportmonks_core_get_types","sportmonks_core_search_cities","sportmonks_core_search_countries","sportmonks_core_search_regions","sportmonks_football_expected_by_player","sportmonks_football_expected_by_team","sportmonks_football_get_all_commentaries","sportmonks_football_get_all_fixtures","sportmonks_football_get_all_players","sportmonks_football_get_all_rivals","sportmonks_football_get_all_teams","sportmonks_football_get_all_transfer_rumours","sportmonks_football_get_all_transfers","sportmonks_football_get_brackets_by_season","sportmonks_football_get_coach","sportmonks_football_get_coaches","sportmonks_football_get_coaches_by_country","sportmonks_football_get_commentaries_by_fixture","sportmonks_football_get_current_leagues_by_team","sportmonks_football_get_expected_lineups_by_player","sportmonks_football_get_expected_lineups_by_team","sportmonks_football_get_extended_team_squad","sportmonks_football_get_fixture","sportmonks_football_get_fixtures_by_date","sportmonks_football_get_fixtures_by_date_range","sportmonks_football_get_fixtures_by_date_range_for_team","sportmonks_football_get_fixtures_by_ids","sportmonks_football_get_grouped_standings_by_round","sportmonks_football_get_head_to_head","sportmonks_football_get_inplay_livescores","sportmonks_football_get_latest_coaches","sportmonks_football_get_latest_fixtures","sportmonks_football_get_latest_livescores","sportmonks_football_get_latest_players","sportmonks_football_get_latest_totw","sportmonks_football_get_latest_transfers","sportmonks_football_get_league","sportmonks_football_get_leagues","sportmonks_football_get_leagues_by_country","sportmonks_football_get_leagues_by_date","sportmonks_football_get_leagues_by_team","sportmonks_football_get_live_leagues","sportmonks_football_get_live_probabilities","sportmonks_football_get_live_probabilities_by_fixture","sportmonks_football_get_live_standings_by_league","sportmonks_football_get_livescores","sportmonks_football_get_match_facts","sportmonks_football_get_match_facts_by_date_range","sportmonks_football_get_match_facts_by_fixture","sportmonks_football_get_match_facts_by_league","sportmonks_football_get_past_fixtures_by_tv_station","sportmonks_football_get_player","sportmonks_football_get_players_by_country","sportmonks_football_get_postmatch_news","sportmonks_football_get_postmatch_news_by_season","sportmonks_football_get_predictability_by_league","sportmonks_football_get_prematch_news","sportmonks_football_get_prematch_news_by_season","sportmonks_football_get_prematch_news_upcoming","sportmonks_football_get_probabilities","sportmonks_football_get_probabilities_by_fixture","sportmonks_football_get_referee","sportmonks_football_get_referees","sportmonks_football_get_referees_by_country","sportmonks_football_get_referees_by_season","sportmonks_football_get_rivals_by_team","sportmonks_football_get_round","sportmonks_football_get_round_statistics","sportmonks_football_get_rounds","sportmonks_football_get_rounds_by_season","sportmonks_football_get_schedules_by_season","sportmonks_football_get_schedules_by_season_and_team","sportmonks_football_get_schedules_by_team","sportmonks_football_get_season","sportmonks_football_get_seasons","sportmonks_football_get_seasons_by_team","sportmonks_football_get_stage","sportmonks_football_get_stage_statistics","sportmonks_football_get_stages","sportmonks_football_get_stages_by_season","sportmonks_football_get_standing_corrections_by_season","sportmonks_football_get_standings","sportmonks_football_get_standings_by_round","sportmonks_football_get_standings_by_season","sportmonks_football_get_state","sportmonks_football_get_states","sportmonks_football_get_team","sportmonks_football_get_team_rankings","sportmonks_football_get_team_rankings_by_date","sportmonks_football_get_team_rankings_by_team","sportmonks_football_get_team_squad","sportmonks_football_get_team_squad_by_season","sportmonks_football_get_teams_by_country","sportmonks_football_get_teams_by_season","sportmonks_football_get_topscorers_by_season","sportmonks_football_get_topscorers_by_stage","sportmonks_football_get_totw","sportmonks_football_get_totw_by_round","sportmonks_football_get_transfer","sportmonks_football_get_transfer_rumour","sportmonks_football_get_transfer_rumours_between_dates","sportmonks_football_get_transfer_rumours_by_player","sportmonks_football_get_transfer_rumours_by_team","sportmonks_football_get_transfers_between_dates","sportmonks_football_get_transfers_by_player","sportmonks_football_get_transfers_by_team","sportmonks_football_get_tv_station","sportmonks_football_get_tv_stations","sportmonks_football_get_tv_stations_by_fixture","sportmonks_football_get_upcoming_fixtures_by_market","sportmonks_football_get_upcoming_fixtures_by_tv_station","sportmonks_football_get_value_bets","sportmonks_football_get_value_bets_by_fixture","sportmonks_football_get_venue","sportmonks_football_get_venues","sportmonks_football_get_venues_by_season","sportmonks_football_search_coaches","sportmonks_football_search_fixtures","sportmonks_football_search_leagues","sportmonks_football_search_players","sportmonks_football_search_referees","sportmonks_football_search_rounds","sportmonks_football_search_seasons","sportmonks_football_search_stages","sportmonks_football_search_teams","sportmonks_football_search_venues","sportmonks_motorsport_get_all_fixtures","sportmonks_motorsport_get_current_leagues_by_team","sportmonks_motorsport_get_driver","sportmonks_motorsport_get_driver_standings","sportmonks_motorsport_get_driver_standings_by_season","sportmonks_motorsport_get_drivers","sportmonks_motorsport_get_drivers_by_country","sportmonks_motorsport_get_drivers_by_season","sportmonks_motorsport_get_fixture","sportmonks_motorsport_get_fixtures_by_date","sportmonks_motorsport_get_fixtures_by_date_range","sportmonks_motorsport_get_fixtures_by_ids","sportmonks_motorsport_get_laps_by_fixture","sportmonks_motorsport_get_laps_by_fixture_and_driver","sportmonks_motorsport_get_laps_by_fixture_and_lap","sportmonks_motorsport_get_latest_laps_by_fixture","sportmonks_motorsport_get_latest_pitstops_by_fixture","sportmonks_motorsport_get_latest_stints_by_fixture","sportmonks_motorsport_get_latest_updated_drivers","sportmonks_motorsport_get_latest_updated_fixtures","sportmonks_motorsport_get_league","sportmonks_motorsport_get_leagues","sportmonks_motorsport_get_leagues_by_country","sportmonks_motorsport_get_leagues_by_date","sportmonks_motorsport_get_leagues_by_live","sportmonks_motorsport_get_leagues_by_team","sportmonks_motorsport_get_livescores","sportmonks_motorsport_get_pitstops_by_fixture","sportmonks_motorsport_get_pitstops_by_fixture_and_driver","sportmonks_motorsport_get_pitstops_by_fixture_and_lap","sportmonks_motorsport_get_race_results_by_season_and_driver","sportmonks_motorsport_get_race_results_by_season_and_team","sportmonks_motorsport_get_schedules_by_season","sportmonks_motorsport_get_season","sportmonks_motorsport_get_seasons","sportmonks_motorsport_get_stage","sportmonks_motorsport_get_stages","sportmonks_motorsport_get_stages_by_season","sportmonks_motorsport_get_state","sportmonks_motorsport_get_states","sportmonks_motorsport_get_stints_by_fixture","sportmonks_motorsport_get_stints_by_fixture_and_driver","sportmonks_motorsport_get_stints_by_fixture_and_stint","sportmonks_motorsport_get_team","sportmonks_motorsport_get_team_standings","sportmonks_motorsport_get_team_standings_by_season","sportmonks_motorsport_get_teams","sportmonks_motorsport_get_teams_by_country","sportmonks_motorsport_get_teams_by_season","sportmonks_motorsport_get_venue","sportmonks_motorsport_get_venues","sportmonks_motorsport_get_venues_by_season","sportmonks_motorsport_search_drivers","sportmonks_motorsport_search_leagues","sportmonks_motorsport_search_stages","sportmonks_motorsport_search_teams","sportmonks_motorsport_search_venues","sportmonks_odds_get_all_historical_odds","sportmonks_odds_get_all_inplay_odds","sportmonks_odds_get_all_pre_match_odds","sportmonks_odds_get_all_premium_odds","sportmonks_odds_get_bookmaker","sportmonks_odds_get_bookmaker_event_ids_by_fixture","sportmonks_odds_get_bookmakers","sportmonks_odds_get_bookmakers_by_fixture","sportmonks_odds_get_inplay_odds_by_fixture","sportmonks_odds_get_inplay_odds_by_fixture_and_bookmaker","sportmonks_odds_get_inplay_odds_by_fixture_and_market","sportmonks_odds_get_last_updated_inplay_odds","sportmonks_odds_get_last_updated_pre_match_odds","sportmonks_odds_get_market","sportmonks_odds_get_markets","sportmonks_odds_get_pre_match_odds_by_fixture","sportmonks_odds_get_pre_match_odds_by_fixture_and_bookmaker","sportmonks_odds_get_pre_match_odds_by_fixture_and_market","sportmonks_odds_get_premium_odds_by_fixture","sportmonks_odds_get_premium_odds_by_fixture_and_bookmaker","sportmonks_odds_get_premium_odds_by_fixture_and_market","sportmonks_odds_get_updated_historical_odds_between","sportmonks_odds_get_updated_premium_odds_between","sportmonks_odds_search_bookmakers","sportmonks_odds_search_markets","spotify_add_playlist_cover","spotify_add_to_queue","spotify_add_tracks_to_playlist","spotify_check_following","spotify_check_playlist_followers","spotify_check_saved_albums","spotify_check_saved_audiobooks","spotify_check_saved_episodes","spotify_check_saved_shows","spotify_check_saved_tracks","spotify_create_playlist","spotify_follow_artists","spotify_follow_playlist","spotify_get_album","spotify_get_album_tracks","spotify_get_albums","spotify_get_artist","spotify_get_artist_albums","spotify_get_artist_top_tracks","spotify_get_artists","spotify_get_audiobook","spotify_get_audiobook_chapters","spotify_get_audiobooks","spotify_get_categories","spotify_get_current_user","spotify_get_currently_playing","spotify_get_devices","spotify_get_episode","spotify_get_episodes","spotify_get_followed_artists","spotify_get_markets","spotify_get_new_releases","spotify_get_playback_state","spotify_get_playlist","spotify_get_playlist_cover","spotify_get_playlist_tracks","spotify_get_queue","spotify_get_recently_played","spotify_get_saved_albums","spotify_get_saved_audiobooks","spotify_get_saved_episodes","spotify_get_saved_shows","spotify_get_saved_tracks","spotify_get_show","spotify_get_show_episodes","spotify_get_shows","spotify_get_top_artists","spotify_get_top_tracks","spotify_get_track","spotify_get_tracks","spotify_get_user_playlists","spotify_get_user_profile","spotify_pause","spotify_play","spotify_remove_saved_albums","spotify_remove_saved_audiobooks","spotify_remove_saved_episodes","spotify_remove_saved_shows","spotify_remove_saved_tracks","spotify_remove_tracks_from_playlist","spotify_reorder_playlist_items","spotify_replace_playlist_items","spotify_save_albums","spotify_save_audiobooks","spotify_save_episodes","spotify_save_shows","spotify_save_tracks","spotify_search","spotify_seek","spotify_set_repeat","spotify_set_shuffle","spotify_set_volume","spotify_skip_next","spotify_skip_previous","spotify_transfer_playback","spotify_unfollow_artists","spotify_unfollow_playlist","spotify_update_playlist","sqs_cancel_message_move_task","sqs_change_message_visibility","sqs_change_message_visibility_batch","sqs_create_queue","sqs_delete_message","sqs_delete_message_batch","sqs_delete_queue","sqs_get_queue_attributes","sqs_get_queue_url","sqs_list_dead_letter_source_queues","sqs_list_message_move_tasks","sqs_list_queue_tags","sqs_list_queues","sqs_purge_queue","sqs_receive_message","sqs_send","sqs_send_message_batch","sqs_set_queue_attributes","sqs_start_message_move_task","sqs_tag_queue","sqs_untag_queue","square_batch_retrieve_inventory_counts","square_cancel_invoice","square_cancel_payment","square_complete_payment","square_create_catalog_image","square_create_customer","square_create_invoice","square_create_order","square_create_payment","square_delete_catalog_object","square_delete_customer","square_delete_invoice","square_get_catalog_object","square_get_customer","square_get_invoice","square_get_location","square_get_order","square_get_payment","square_get_refund","square_list_catalog","square_list_customers","square_list_invoices","square_list_locations","square_list_payments","square_list_refunds","square_pay_order","square_publish_invoice","square_refund_payment","square_search_catalog_objects","square_search_customers","square_search_invoices","square_search_orders","square_update_customer","square_upsert_catalog_object","ssh_check_command_exists","ssh_check_file_exists","ssh_create_directory","ssh_delete_file","ssh_download_file","ssh_download_file_v2","ssh_execute_command","ssh_execute_script","ssh_get_system_info","ssh_list_directory","ssh_move_rename","ssh_read_file_content","ssh_upload_file","ssh_write_file_content","ssm_cancel_command","ssm_delete_parameter","ssm_describe_automation_executions","ssm_describe_instance_information","ssm_describe_instance_patch_states","ssm_describe_instance_patches","ssm_describe_parameters","ssm_get_automation_execution","ssm_get_command_invocation","ssm_get_document","ssm_get_parameter","ssm_get_parameters","ssm_get_parameters_by_path","ssm_list_command_invocations","ssm_list_commands","ssm_list_compliance_items","ssm_list_compliance_summaries","ssm_list_documents","ssm_put_parameter","ssm_send_command","ssm_start_automation_execution","ssm_stop_automation_execution","stagehand_agent","stagehand_extract","stripe_cancel_payment_intent","stripe_cancel_subscription","stripe_capture_charge","stripe_capture_payment_intent","stripe_confirm_payment_intent","stripe_create_charge","stripe_create_customer","stripe_create_invoice","stripe_create_payment_intent","stripe_create_price","stripe_create_product","stripe_create_subscription","stripe_delete_customer","stripe_delete_invoice","stripe_delete_product","stripe_finalize_invoice","stripe_list_charges","stripe_list_customers","stripe_list_events","stripe_list_invoices","stripe_list_payment_intents","stripe_list_prices","stripe_list_products","stripe_list_subscriptions","stripe_pay_invoice","stripe_resume_subscription","stripe_retrieve_charge","stripe_retrieve_customer","stripe_retrieve_event","stripe_retrieve_invoice","stripe_retrieve_payment_intent","stripe_retrieve_price","stripe_retrieve_product","stripe_retrieve_subscription","stripe_search_charges","stripe_search_customers","stripe_search_invoices","stripe_search_payment_intents","stripe_search_prices","stripe_search_products","stripe_search_subscriptions","stripe_send_invoice","stripe_update_charge","stripe_update_customer","stripe_update_invoice","stripe_update_payment_intent","stripe_update_price","stripe_update_product","stripe_update_subscription","stripe_void_invoice","sts_assume_role","sts_assume_role_with_saml","sts_assume_role_with_web_identity","sts_get_access_key_info","sts_get_caller_identity","sts_get_session_token","stt_assemblyai","stt_assemblyai_v2","stt_deepgram","stt_deepgram_v2","stt_elevenlabs","stt_elevenlabs_v2","stt_gemini","stt_gemini_v2","stt_whisper","stt_whisper_v2","supabase_count","supabase_delete","supabase_get_row","supabase_insert","supabase_introspect","supabase_invoke_function","supabase_query","supabase_rpc","supabase_storage_copy","supabase_storage_create_bucket","supabase_storage_create_signed_upload_url","supabase_storage_create_signed_url","supabase_storage_delete","supabase_storage_delete_bucket","supabase_storage_download","supabase_storage_empty_bucket","supabase_storage_get_public_url","supabase_storage_list","supabase_storage_list_buckets","supabase_storage_move","supabase_storage_update_bucket","supabase_storage_upload","supabase_text_search","supabase_update","supabase_upsert","supabase_vector_search","table_batch_insert_rows","table_create","table_delete_row","table_delete_rows_by_filter","table_get_row","table_get_schema","table_insert_row","table_list","table_query_rows","table_query_rows_v2","table_update_row","table_update_rows_by_filter","table_upsert_row","tailscale_authorize_device","tailscale_create_auth_key","tailscale_delete_auth_key","tailscale_delete_device","tailscale_delete_user","tailscale_expire_device_key","tailscale_get_acl","tailscale_get_auth_key","tailscale_get_device","tailscale_get_device_routes","tailscale_get_dns_preferences","tailscale_get_dns_searchpaths","tailscale_list_auth_keys","tailscale_list_devices","tailscale_list_dns_nameservers","tailscale_list_users","tailscale_set_acl","tailscale_set_device_routes","tailscale_set_device_tags","tailscale_set_dns_nameservers","tailscale_set_dns_preferences","tailscale_set_dns_searchpaths","tailscale_suspend_user","tailscale_update_device_key","tavily_crawl","tavily_extract","tavily_map","tavily_search","telegram_copy_message","telegram_delete_message","telegram_edit_message_text","telegram_forward_message","telegram_get_chat","telegram_get_chat_member","telegram_message","telegram_pin_message","telegram_send_animation","telegram_send_audio","telegram_send_chat_action","telegram_send_contact","telegram_send_document","telegram_send_location","telegram_send_photo","telegram_send_poll","telegram_send_video","telegram_set_message_reaction","telegram_unpin_message","temporal_cancel_workflow","temporal_count_workflows","temporal_create_schedule","temporal_delete_schedule","temporal_describe_schedule","temporal_describe_task_queue","temporal_describe_workflow","temporal_get_workflow_history","temporal_list_schedules","temporal_list_workflows","temporal_pause_schedule","temporal_query_workflow","temporal_reset_workflow","temporal_signal_with_start","temporal_signal_workflow","temporal_start_workflow","temporal_terminate_workflow","temporal_trigger_schedule","temporal_unpause_schedule","temporal_update_workflow","textract_analyze_expense","textract_analyze_id","textract_parser","textract_parser_v2","thinking_tool","thrive_add_audience_managers","thrive_add_audience_members","thrive_add_user_tags","thrive_create_assignment","thrive_create_audience","thrive_create_completion","thrive_create_user","thrive_delete_assignment","thrive_delete_audience","thrive_delete_user","thrive_get_activity","thrive_get_assignment","thrive_get_audience","thrive_get_completion","thrive_get_content","thrive_get_cpd_category","thrive_get_cpd_entry","thrive_get_cpd_requirement","thrive_get_enrolment","thrive_get_skill_levels","thrive_get_tag","thrive_get_user_by_id","thrive_get_user_by_ref","thrive_list_assignments","thrive_list_audience_managers","thrive_list_audience_members","thrive_list_audiences","thrive_list_completions","thrive_list_enrolments","thrive_list_tags","thrive_query_activities","thrive_query_content","thrive_query_cpd_categories","thrive_query_cpd_entries","thrive_query_cpd_requirements","thrive_query_cpd_user_summaries","thrive_remove_audience_manager","thrive_remove_audience_member","thrive_remove_user_tags","thrive_replace_audience_managers","thrive_replace_audience_members","thrive_search_users","thrive_suspend_user","thrive_update_assignment","thrive_update_audience","thrive_update_user","thrive_update_user_skills","tiktok_get_post_status","tiktok_get_user","tiktok_list_videos","tiktok_query_videos","tiktok_upload_video_draft","tinybird_append_datasource","tinybird_delete_datasource_rows","tinybird_events","tinybird_get_job","tinybird_query","tinybird_query_pipe","tinybird_truncate_datasource","tinyfish_cancel_run","tinyfish_fetch","tinyfish_get_run","tinyfish_list_profiles","tinyfish_list_runs","tinyfish_list_vault_items","tinyfish_run","tinyfish_run_async","tinyfish_search","trello_add_checklist","trello_add_checklist_item","trello_add_comment","trello_add_label","trello_add_member","trello_create_board","trello_create_card","trello_create_list","trello_delete_card","trello_get_actions","trello_get_board","trello_get_card","trello_list_cards","trello_list_lists","trello_list_members","trello_remove_label","trello_remove_member","trello_search","trello_update_card","trello_update_checklist_item","trello_update_list","trigger_dev_activate_schedule","trigger_dev_add_run_tags","trigger_dev_batch_trigger_task","trigger_dev_cancel_run","trigger_dev_complete_waitpoint_token","trigger_dev_create_env_var","trigger_dev_create_schedule","trigger_dev_create_waitpoint_token","trigger_dev_deactivate_schedule","trigger_dev_delete_env_var","trigger_dev_delete_schedule","trigger_dev_execute_query","trigger_dev_get_batch","trigger_dev_get_batch_results","trigger_dev_get_deployment","trigger_dev_get_env_var","trigger_dev_get_latest_deployment","trigger_dev_get_query_schema","trigger_dev_get_queue","trigger_dev_get_run","trigger_dev_get_run_events","trigger_dev_get_run_result","trigger_dev_get_run_trace","trigger_dev_get_schedule","trigger_dev_get_waitpoint_token","trigger_dev_import_env_vars","trigger_dev_list_deployments","trigger_dev_list_env_vars","trigger_dev_list_queues","trigger_dev_list_runs","trigger_dev_list_schedules","trigger_dev_list_timezones","trigger_dev_list_waitpoint_tokens","trigger_dev_override_queue_concurrency","trigger_dev_pause_queue","trigger_dev_promote_deployment","trigger_dev_replay_run","trigger_dev_reschedule_run","trigger_dev_reset_queue_concurrency","trigger_dev_resume_queue","trigger_dev_trigger_task","trigger_dev_update_env_var","trigger_dev_update_run_metadata","trigger_dev_update_schedule","tts_azure","tts_cartesia","tts_deepgram","tts_elevenlabs","tts_google","tts_openai","tts_playht","twilio_send_sms","twilio_voice_get_recording","twilio_voice_list_calls","twilio_voice_make_call","typeform_create_form","typeform_delete_form","typeform_files","typeform_get_form","typeform_insights","typeform_list_forms","typeform_responses","typeform_update_form","upstash_redis_command","upstash_redis_delete","upstash_redis_exists","upstash_redis_expire","upstash_redis_get","upstash_redis_hget","upstash_redis_hgetall","upstash_redis_hset","upstash_redis_incr","upstash_redis_incrby","upstash_redis_keys","upstash_redis_lpush","upstash_redis_lrange","upstash_redis_set","upstash_redis_setnx","upstash_redis_ttl","uptimerobot_create_alert_contact","uptimerobot_create_maintenance_window","uptimerobot_create_monitor","uptimerobot_create_psp","uptimerobot_delete_alert_contact","uptimerobot_delete_maintenance_window","uptimerobot_delete_monitor","uptimerobot_delete_psp","uptimerobot_get_account","uptimerobot_get_alert_contact","uptimerobot_get_incident","uptimerobot_get_maintenance_window","uptimerobot_get_monitor","uptimerobot_get_psp","uptimerobot_list_alert_contacts","uptimerobot_list_incidents","uptimerobot_list_maintenance_windows","uptimerobot_list_monitors","uptimerobot_list_psps","uptimerobot_pause_monitor","uptimerobot_start_monitor","uptimerobot_update_maintenance_window","uptimerobot_update_monitor","uptimerobot_update_psp","vanta_download_document_file","vanta_get_control","vanta_get_document","vanta_get_framework","vanta_get_person","vanta_get_policy","vanta_get_risk_scenario","vanta_get_test","vanta_get_vendor","vanta_get_vulnerable_asset","vanta_list_control_documents","vanta_list_control_tests","vanta_list_controls","vanta_list_document_uploads","vanta_list_documents","vanta_list_framework_controls","vanta_list_frameworks","vanta_list_monitored_computers","vanta_list_people","vanta_list_policies","vanta_list_risk_scenarios","vanta_list_test_entities","vanta_list_tests","vanta_list_vendors","vanta_list_vulnerabilities","vanta_list_vulnerability_remediations","vanta_list_vulnerable_assets","vanta_submit_document","vanta_upload_document_file","vercel_add_domain","vercel_add_project_domain","vercel_cancel_deployment","vercel_create_alias","vercel_create_check","vercel_create_deployment","vercel_create_dns_record","vercel_create_edge_config","vercel_create_env_var","vercel_create_project","vercel_create_webhook","vercel_delete_alias","vercel_delete_deployment","vercel_delete_dns_record","vercel_delete_domain","vercel_delete_edge_config","vercel_delete_env_var","vercel_delete_project","vercel_delete_webhook","vercel_get_alias","vercel_get_check","vercel_get_deployment","vercel_get_deployment_events","vercel_get_domain","vercel_get_domain_config","vercel_get_edge_config","vercel_get_edge_config_items","vercel_get_env_vars","vercel_get_project","vercel_get_team","vercel_get_user","vercel_get_webhook","vercel_list_aliases","vercel_list_checks","vercel_list_deployment_files","vercel_list_deployments","vercel_list_dns_records","vercel_list_domains","vercel_list_edge_configs","vercel_list_project_domains","vercel_list_projects","vercel_list_team_members","vercel_list_teams","vercel_list_webhooks","vercel_pause_project","vercel_promote_deployment","vercel_remove_project_domain","vercel_rerequest_check","vercel_unpause_project","vercel_update_check","vercel_update_dns_record","vercel_update_edge_config_items","vercel_update_env_var","vercel_update_project","vercel_update_project_domain","vercel_verify_project_domain","video_falai","video_luma","video_minimax","video_runway","video_veo","vision_tool","vision_tool_v2","wealthbox_read_contact","wealthbox_read_note","wealthbox_read_task","wealthbox_write_contact","wealthbox_write_note","wealthbox_write_task","webflow_create_item","webflow_delete_item","webflow_get_item","webflow_list_items","webflow_update_item","webhook_request","whatsapp_get_media","whatsapp_mark_read","whatsapp_send_interactive","whatsapp_send_media","whatsapp_send_message","whatsapp_send_reaction","whatsapp_send_template","whatsapp_upload_media","wikipedia_content","wikipedia_random","wikipedia_search","wikipedia_summary","windchill_check_in_document","windchill_check_in_documents","windchill_check_out_document","windchill_check_out_documents","windchill_create_document","windchill_create_documents","windchill_delete_document","windchill_delete_documents","windchill_download_attachment","windchill_download_primary_content","windchill_get_document","windchill_get_document_structure","windchill_get_primary_content","windchill_get_valid_state_transitions","windchill_list_attachments","windchill_list_documents","windchill_revise_document","windchill_revise_documents","windchill_set_lifecycle_state","windchill_undo_check_out_document","windchill_undo_check_out_documents","windchill_update_common_properties","windchill_update_document","windchill_update_document_security_labels","windchill_update_documents","windchill_upload_attachments","windchill_upload_primary_content","wiza_company_enrichment","wiza_get_credits","wiza_individual_reveal","wiza_prospect_search","wordpress_create_category","wordpress_create_comment","wordpress_create_page","wordpress_create_post","wordpress_create_tag","wordpress_delete_category","wordpress_delete_comment","wordpress_delete_media","wordpress_delete_page","wordpress_delete_post","wordpress_delete_tag","wordpress_get_category","wordpress_get_current_user","wordpress_get_media","wordpress_get_page","wordpress_get_post","wordpress_get_tag","wordpress_get_user","wordpress_list_categories","wordpress_list_comments","wordpress_list_media","wordpress_list_pages","wordpress_list_posts","wordpress_list_tags","wordpress_list_users","wordpress_search_content","wordpress_update_category","wordpress_update_comment","wordpress_update_page","wordpress_update_post","wordpress_update_tag","wordpress_upload_media","workday_assign_onboarding","workday_change_job","workday_create_prehire","workday_get_compensation","workday_get_organizations","workday_get_worker","workday_hire_employee","workday_list_workers","workday_terminate_worker","workday_update_worker","workflow_executor","x_create_bookmark","x_create_tweet","x_delete_bookmark","x_delete_tweet","x_get_blocking","x_get_bookmarks","x_get_followers","x_get_following","x_get_liked_tweets","x_get_liking_users","x_get_me","x_get_personalized_trends","x_get_quote_tweets","x_get_retweeted_by","x_get_trends_by_woeid","x_get_tweets_by_ids","x_get_usage","x_get_user_mentions","x_get_user_timeline","x_get_user_tweets","x_hide_reply","x_manage_block","x_manage_follow","x_manage_like","x_manage_mute","x_manage_retweet","x_read","x_search","x_search_tweets","x_search_users","x_user","x_write","youtube_channel_info","youtube_channel_playlists","youtube_channel_videos","youtube_comments","youtube_playlist_items","youtube_search","youtube_trending","youtube_video_categories","youtube_video_details","zendesk_autocomplete_organizations","zendesk_create_organization","zendesk_create_organizations_bulk","zendesk_create_ticket","zendesk_create_tickets_bulk","zendesk_create_user","zendesk_create_users_bulk","zendesk_delete_organization","zendesk_delete_ticket","zendesk_delete_user","zendesk_get_current_user","zendesk_get_organization","zendesk_get_organizations","zendesk_get_ticket","zendesk_get_tickets","zendesk_get_user","zendesk_get_users","zendesk_merge_tickets","zendesk_search","zendesk_search_count","zendesk_search_users","zendesk_update_organization","zendesk_update_ticket","zendesk_update_tickets_bulk","zendesk_update_user","zendesk_update_users_bulk","zep_add_messages","zep_add_user","zep_create_thread","zep_delete_thread","zep_get_context","zep_get_messages","zep_get_threads","zep_get_user","zep_get_user_threads","zerobounce_get_credits","zerobounce_verify_email","zoho_desk_add_comment","zoho_desk_get_attachment","zoho_desk_get_contact","zoho_desk_get_thread","zoho_desk_get_ticket","zoho_desk_list_comments","zoho_desk_list_organizations","zoho_desk_list_threads","zoho_desk_list_tickets","zoho_desk_update_ticket","zoom_create_meeting","zoom_delete_meeting","zoom_delete_recording","zoom_get_meeting","zoom_get_meeting_invitation","zoom_get_meeting_recordings","zoom_list_meetings","zoom_list_past_participants","zoom_list_recordings","zoom_update_meeting","zoominfo_enrich_companies","zoominfo_enrich_contacts","zoominfo_search_companies","zoominfo_search_contacts","zoominfo_search_intent","zoominfo_search_news"]' + '["a2a_cancel_task","a2a_get_agent_card","a2a_get_task","a2a_send_message","affinity_batch_update_entity_fields","affinity_batch_update_list_entry_fields","affinity_create_list","affinity_create_list_field_dropdown_option","affinity_create_merge","affinity_create_note","affinity_create_reminder","affinity_delete_list_field_dropdown_option","affinity_delete_note","affinity_get_company","affinity_get_current_user","affinity_get_entity_field_value","affinity_get_list","affinity_get_list_entry","affinity_get_list_entry_field","affinity_get_list_field_dropdown_option","affinity_get_merge","affinity_get_merge_task","affinity_get_note","affinity_get_opportunity","affinity_get_person","affinity_get_saved_view","affinity_get_transcript","affinity_get_user","affinity_list_calls","affinity_list_chat_messages","affinity_list_companies","affinity_list_coworker_connections","affinity_list_emails","affinity_list_entity_field_values","affinity_list_entity_list_entries","affinity_list_entity_lists","affinity_list_entity_notes","affinity_list_entity_relationships","affinity_list_field_dropdown_options","affinity_list_field_metadata","affinity_list_field_value_changes","affinity_list_investor_executive_connections","affinity_list_list_entries","affinity_list_list_entry_field_value_changes","affinity_list_list_entry_fields","affinity_list_list_field_dropdown_options","affinity_list_list_fields","affinity_list_lists","affinity_list_meetings","affinity_list_merge_tasks","affinity_list_merges","affinity_list_note_attached_companies","affinity_list_note_attached_opportunities","affinity_list_note_attached_persons","affinity_list_note_replies","affinity_list_notes","affinity_list_opportunities","affinity_list_persons","affinity_list_reminders","affinity_list_saved_view_entries","affinity_list_saved_views","affinity_list_transcript_fragments","affinity_list_transcripts","affinity_list_users","affinity_search_companies","affinity_search_files","affinity_search_list_entries","affinity_search_notes","affinity_search_persons","affinity_semantic_search","affinity_update_entity_field_value","affinity_update_list_entry_field","affinity_update_list_field_dropdown_option","affinity_update_note","agentmail_create_draft","agentmail_create_inbox","agentmail_delete_draft","agentmail_delete_inbox","agentmail_delete_thread","agentmail_forward_message","agentmail_get_draft","agentmail_get_inbox","agentmail_get_message","agentmail_get_thread","agentmail_list_drafts","agentmail_list_inboxes","agentmail_list_messages","agentmail_list_threads","agentmail_reply_message","agentmail_send_draft","agentmail_send_message","agentmail_update_draft","agentmail_update_inbox","agentmail_update_message","agentmail_update_thread","agentphone_create_call","agentphone_create_contact","agentphone_create_number","agentphone_delete_contact","agentphone_get_call","agentphone_get_call_transcript","agentphone_get_contact","agentphone_get_conversation","agentphone_get_conversation_messages","agentphone_get_number_messages","agentphone_get_usage","agentphone_get_usage_daily","agentphone_get_usage_monthly","agentphone_list_calls","agentphone_list_contacts","agentphone_list_conversations","agentphone_list_numbers","agentphone_react_to_message","agentphone_release_number","agentphone_send_message","agentphone_update_contact","agentphone_update_conversation","agiloft_async_status","agiloft_attach_file","agiloft_attachment_info","agiloft_create_record","agiloft_delete_record","agiloft_get_choice_line_id","agiloft_list_tables","agiloft_lock_record","agiloft_nlp_search","agiloft_read_record","agiloft_remove_attachment","agiloft_retrieve_attachment","agiloft_run_action_button","agiloft_saved_search","agiloft_search_records","agiloft_select_records","agiloft_update_record","agiloft_upsert_record","ahrefs_anchors","ahrefs_backlinks","ahrefs_backlinks_stats","ahrefs_batch_analysis","ahrefs_broken_backlinks","ahrefs_domain_rating","ahrefs_domain_rating_history","ahrefs_keyword_overview","ahrefs_keywords_history","ahrefs_metrics","ahrefs_metrics_history","ahrefs_organic_competitors","ahrefs_organic_keywords","ahrefs_paid_pages","ahrefs_rank_tracker_competitors_overview","ahrefs_rank_tracker_competitors_stats","ahrefs_rank_tracker_overview","ahrefs_rank_tracker_serp_overview","ahrefs_refdomains_history","ahrefs_referring_domains","ahrefs_related_terms","ahrefs_site_audit_page_explorer","ahrefs_top_pages","airtable_create_records","airtable_delete_records","airtable_get_base_schema","airtable_get_record","airtable_list_bases","airtable_list_records","airtable_list_tables","airtable_update_multiple_records","airtable_update_record","airtable_upsert_records","airweave_search","algolia_add_record","algolia_batch_operations","algolia_browse_records","algolia_clear_records","algolia_copy_move_index","algolia_delete_by_filter","algolia_delete_index","algolia_delete_record","algolia_get_record","algolia_get_records","algolia_get_settings","algolia_get_task_status","algolia_list_indices","algolia_partial_update_record","algolia_search","algolia_update_settings","amplitude_event_segmentation","amplitude_funnels","amplitude_get_active_users","amplitude_get_revenue","amplitude_group_identify","amplitude_identify_user","amplitude_list_events","amplitude_realtime_active_users","amplitude_retention","amplitude_send_event","amplitude_user_activity","amplitude_user_profile","amplitude_user_search","apify_get_dataset_items","apify_get_run","apify_run_actor_async","apify_run_actor_sync","apify_run_task","apollo_account_bulk_create","apollo_account_bulk_update","apollo_account_create","apollo_account_search","apollo_account_update","apollo_contact_bulk_create","apollo_contact_bulk_update","apollo_contact_create","apollo_contact_search","apollo_contact_update","apollo_email_accounts","apollo_opportunity_create","apollo_opportunity_get","apollo_opportunity_search","apollo_opportunity_update","apollo_organization_bulk_enrich","apollo_organization_enrich","apollo_organization_search","apollo_people_bulk_enrich","apollo_people_enrich","apollo_people_search","apollo_sequence_add_contacts","apollo_sequence_search","apollo_task_create","apollo_task_search","appconfig_create_application","appconfig_create_configuration_profile","appconfig_create_environment","appconfig_create_hosted_configuration_version","appconfig_delete_application","appconfig_delete_configuration_profile","appconfig_delete_environment","appconfig_delete_hosted_configuration_version","appconfig_get_application","appconfig_get_configuration","appconfig_get_configuration_profile","appconfig_get_deployment","appconfig_get_environment","appconfig_get_hosted_configuration_version","appconfig_list_applications","appconfig_list_configuration_profiles","appconfig_list_deployment_strategies","appconfig_list_deployments","appconfig_list_environments","appconfig_list_hosted_configuration_versions","appconfig_start_deployment","appconfig_stop_deployment","appconfig_update_application","appconfig_update_configuration_profile","appconfig_update_environment","arxiv_get_author_papers","arxiv_get_paper","arxiv_search","asana_add_comment","asana_add_followers","asana_create_project","asana_create_section","asana_create_subtask","asana_create_task","asana_delete_task","asana_get_project","asana_get_projects","asana_get_task","asana_list_sections","asana_list_workspaces","asana_search_tasks","asana_update_task","ashby_add_candidate_tag","ashby_anonymize_candidate","ashby_change_application_source","ashby_change_application_stage","ashby_create_application","ashby_create_candidate","ashby_create_note","ashby_delete_application","ashby_get_application","ashby_get_candidate","ashby_get_job","ashby_get_job_posting","ashby_get_offer","ashby_get_opening","ashby_list_application_feedback","ashby_list_application_history","ashby_list_applications","ashby_list_archive_reasons","ashby_list_candidate_tags","ashby_list_candidates","ashby_list_custom_fields","ashby_list_departments","ashby_list_interview_plans","ashby_list_interview_stages","ashby_list_interviews","ashby_list_job_postings","ashby_list_jobs","ashby_list_locations","ashby_list_notes","ashby_list_offers","ashby_list_openings","ashby_list_sources","ashby_list_users","ashby_remove_candidate_tag","ashby_search_candidates","ashby_search_jobs","ashby_search_openings","ashby_search_users","ashby_set_custom_field_value","ashby_set_custom_field_values","ashby_transfer_application","ashby_update_candidate","ashby_upload_candidate_file","ashby_upload_resume","athena_batch_get_named_query","athena_batch_get_prepared_statement","athena_batch_get_query_execution","athena_create_named_query","athena_create_prepared_statement","athena_delete_named_query","athena_delete_prepared_statement","athena_get_data_catalog","athena_get_database","athena_get_named_query","athena_get_prepared_statement","athena_get_query_execution","athena_get_query_results","athena_get_query_runtime_statistics","athena_get_table_metadata","athena_get_work_group","athena_list_data_catalogs","athena_list_databases","athena_list_named_queries","athena_list_prepared_statements","athena_list_query_executions","athena_list_table_metadata","athena_list_work_groups","athena_start_query","athena_stop_query","athena_update_named_query","athena_update_prepared_statement","attio_assert_record","attio_create_attribute","attio_create_comment","attio_create_list","attio_create_list_entry","attio_create_note","attio_create_object","attio_create_record","attio_create_task","attio_create_webhook","attio_delete_comment","attio_delete_list_entry","attio_delete_note","attio_delete_record","attio_delete_task","attio_delete_webhook","attio_get_attribute","attio_get_comment","attio_get_list","attio_get_list_entry","attio_get_member","attio_get_note","attio_get_object","attio_get_record","attio_get_task","attio_get_thread","attio_get_webhook","attio_list_attributes","attio_list_lists","attio_list_members","attio_list_notes","attio_list_objects","attio_list_records","attio_list_tasks","attio_list_threads","attio_list_webhooks","attio_query_list_entries","attio_search_records","attio_update_attribute","attio_update_list","attio_update_list_entry","attio_update_object","attio_update_record","attio_update_task","attio_update_webhook","azure_data_explorer_create_table","azure_data_explorer_drop_table","azure_data_explorer_ingest_from_query","azure_data_explorer_ingest_inline","azure_data_explorer_list_databases","azure_data_explorer_list_functions","azure_data_explorer_list_tables","azure_data_explorer_management","azure_data_explorer_query","azure_data_explorer_show_database_schema","azure_data_explorer_show_ingestion_failures","azure_data_explorer_show_operations","azure_data_explorer_show_table_details","azure_data_explorer_show_table_schema","azure_devops_add_comment","azure_devops_create_work_item","azure_devops_get_build_log","azure_devops_get_build_timeline","azure_devops_get_comments","azure_devops_get_pipeline","azure_devops_get_pipeline_run","azure_devops_get_work_item","azure_devops_get_work_items_batch","azure_devops_get_work_items_between_builds","azure_devops_list_build_logs","azure_devops_list_builds","azure_devops_list_pipeline_runs","azure_devops_list_pipelines","azure_devops_query_work_items","azure_devops_update_work_item","bitbucket_approve_pull_request","bitbucket_create_branch","bitbucket_create_pull_request","bitbucket_create_pull_request_comment","bitbucket_decline_pull_request","bitbucket_delete_branch","bitbucket_get_commit","bitbucket_get_file","bitbucket_get_file_metadata","bitbucket_get_pipeline","bitbucket_get_pipeline_step_log","bitbucket_get_pull_request","bitbucket_get_pull_request_diff","bitbucket_get_pull_request_diffstat","bitbucket_get_pull_request_merge_task_status","bitbucket_get_repository","bitbucket_list_branches","bitbucket_list_commits","bitbucket_list_directory","bitbucket_list_pipeline_steps","bitbucket_list_pipelines","bitbucket_list_pull_request_comments","bitbucket_list_pull_request_commit_statuses","bitbucket_list_pull_requests","bitbucket_list_repositories","bitbucket_list_workspaces","bitbucket_merge_pull_request","bitbucket_request_pull_request_changes","bitbucket_stop_pipeline","bitbucket_trigger_pipeline","box_copy_file","box_create_folder","box_delete_file","box_delete_folder","box_download_file","box_download_file_v2","box_get_file_info","box_list_folder_items","box_search","box_sign_cancel_request","box_sign_create_request","box_sign_get_request","box_sign_list_requests","box_sign_resend_request","box_update_file","box_upload_file","brandfetch_get_brand","brandfetch_search","brex_archive_budget","brex_create_budget","brex_create_spend_limit","brex_create_transfer","brex_create_vendor","brex_get_budget","brex_get_cash_account","brex_get_company","brex_get_current_user","brex_get_expense","brex_get_spend_limit","brex_get_transfer","brex_get_user","brex_get_vendor","brex_list_budgets","brex_list_card_accounts","brex_list_card_statements","brex_list_card_transactions","brex_list_cards","brex_list_cash_accounts","brex_list_cash_statements","brex_list_cash_transactions","brex_list_departments","brex_list_expenses","brex_list_locations","brex_list_spend_limits","brex_list_titles","brex_list_transfers","brex_list_users","brex_list_vendors","brex_match_receipt","brex_update_expense","brex_update_vendor","brex_upload_receipt","brightdata_cancel_snapshot","brightdata_discover","brightdata_download_snapshot","brightdata_scrape_dataset","brightdata_scrape_url","brightdata_serp_search","brightdata_snapshot_status","brightdata_sync_scrape","browser_use_run_task","buffer_create_idea","buffer_create_post","buffer_delete_post","buffer_edit_post","buffer_get_account","buffer_get_channels","buffer_get_idea_groups","buffer_get_ideas","buffer_get_post","buffer_get_posts","calcom_cancel_booking","calcom_confirm_booking","calcom_create_booking","calcom_create_event_type","calcom_create_schedule","calcom_decline_booking","calcom_delete_event_type","calcom_delete_schedule","calcom_get_booking","calcom_get_default_schedule","calcom_get_event_type","calcom_get_schedule","calcom_get_slots","calcom_list_bookings","calcom_list_event_types","calcom_list_schedules","calcom_reschedule_booking","calcom_update_event_type","calcom_update_schedule","calendly_cancel_event","calendly_create_event_invitee","calendly_create_invitee_no_show","calendly_create_scheduling_link","calendly_create_webhook","calendly_delete_invitee_no_show","calendly_delete_webhook","calendly_get_current_user","calendly_get_event_invitee","calendly_get_event_type","calendly_get_scheduled_event","calendly_get_user","calendly_list_event_invitees","calendly_list_event_type_available_times","calendly_list_event_types","calendly_list_organization_memberships","calendly_list_routing_form_submissions","calendly_list_routing_forms","calendly_list_scheduled_events","calendly_list_user_availability_schedules","calendly_list_user_busy_times","calendly_list_webhooks","cbinsights_chat","cbinsights_get_commercial_maturity_history","cbinsights_get_exit_probability_history","cbinsights_get_mosaic_history","cbinsights_get_org_business_relationships","cbinsights_get_org_funding_window","cbinsights_get_org_fundings","cbinsights_get_org_investments","cbinsights_get_org_management_and_board","cbinsights_get_org_outlook","cbinsights_get_org_portfolio_exits","cbinsights_get_org_revenue","cbinsights_get_scouting_report","cbinsights_get_strategy_map","cbinsights_list_business_relationships","cbinsights_list_funding_window","cbinsights_list_fundings","cbinsights_list_investments","cbinsights_list_management_and_board","cbinsights_list_outlook","cbinsights_list_portfolio_exits","cbinsights_list_revenue","cbinsights_lookup_organizations","cbinsights_rag","cbinsights_search_firmographics","circleback_add_tag_to_meetings","circleback_create_tag","circleback_delete_action_item","circleback_delete_meeting","circleback_delete_tag","circleback_get_company","circleback_get_meeting","circleback_get_person","circleback_get_transcript","circleback_list_action_items","circleback_list_calendar_events","circleback_list_companies","circleback_list_meetings","circleback_list_people","circleback_list_tags","circleback_remove_tag_from_meetings","circleback_search_meetings","circleback_update_action_item","circleback_update_meeting","circleback_update_tag","clay_populate","clerk_add_organization_member","clerk_ban_user","clerk_create_actor_token","clerk_create_allowlist_identifier","clerk_create_blocklist_identifier","clerk_create_organization","clerk_create_organization_invitation","clerk_create_user","clerk_delete_allowlist_identifier","clerk_delete_blocklist_identifier","clerk_delete_organization","clerk_delete_user","clerk_get_jwt_template","clerk_get_organization","clerk_get_session","clerk_get_user","clerk_get_user_oauth_token","clerk_list_allowlist_identifiers","clerk_list_blocklist_identifiers","clerk_list_jwt_templates","clerk_list_organization_invitations","clerk_list_organization_memberships","clerk_list_organizations","clerk_list_sessions","clerk_list_users","clerk_lock_user","clerk_remove_organization_member","clerk_revoke_actor_token","clerk_revoke_session","clerk_unban_user","clerk_unlock_user","clerk_update_organization","clerk_update_organization_membership","clerk_update_user","clickhouse_count_rows","clickhouse_create_database","clickhouse_create_table","clickhouse_delete","clickhouse_describe_table","clickhouse_drop_database","clickhouse_drop_partition","clickhouse_drop_table","clickhouse_execute","clickhouse_insert","clickhouse_insert_rows","clickhouse_introspect","clickhouse_kill_query","clickhouse_list_clusters","clickhouse_list_databases","clickhouse_list_mutations","clickhouse_list_partitions","clickhouse_list_running_queries","clickhouse_list_tables","clickhouse_optimize_table","clickhouse_query","clickhouse_rename_table","clickhouse_show_create_table","clickhouse_table_stats","clickhouse_truncate_table","clickhouse_update","clickup_add_tag_to_task","clickup_create_checklist","clickup_create_checklist_item","clickup_create_comment","clickup_create_folder","clickup_create_list","clickup_create_task","clickup_create_time_entry","clickup_delete_checklist","clickup_delete_checklist_item","clickup_delete_comment","clickup_delete_task","clickup_delete_time_entry","clickup_get_comments","clickup_get_custom_fields","clickup_get_folders","clickup_get_list_members","clickup_get_lists","clickup_get_running_timer","clickup_get_space_tags","clickup_get_spaces","clickup_get_task","clickup_get_task_members","clickup_get_tasks","clickup_get_time_entries","clickup_get_workspaces","clickup_remove_custom_field_value","clickup_remove_tag_from_task","clickup_search_tasks","clickup_set_custom_field_value","clickup_start_timer","clickup_stop_timer","clickup_update_checklist","clickup_update_checklist_item","clickup_update_comment","clickup_update_task","clickup_update_time_entry","clickup_upload_attachment","cloudflare_create_access_application","cloudflare_create_access_policy","cloudflare_create_access_service_token","cloudflare_create_dns_record","cloudflare_create_r2_bucket","cloudflare_create_rate_limit_rule","cloudflare_create_ruleset","cloudflare_create_ruleset_rule","cloudflare_create_zone","cloudflare_delete_access_application","cloudflare_delete_access_policy","cloudflare_delete_dns_record","cloudflare_delete_r2_bucket","cloudflare_delete_ruleset_rule","cloudflare_delete_zone","cloudflare_dns_analytics","cloudflare_get_access_application","cloudflare_get_r2_bucket","cloudflare_get_ruleset","cloudflare_get_ruleset_entrypoint","cloudflare_get_tunnel","cloudflare_get_tunnel_configuration","cloudflare_get_worker_script_settings","cloudflare_get_zone","cloudflare_get_zone_settings","cloudflare_list_access_applications","cloudflare_list_access_groups","cloudflare_list_access_identity_providers","cloudflare_list_access_policies","cloudflare_list_access_service_tokens","cloudflare_list_certificates","cloudflare_list_dns_records","cloudflare_list_managed_ruleset_overrides","cloudflare_list_r2_buckets","cloudflare_list_rate_limit_rules","cloudflare_list_rulesets","cloudflare_list_tunnels","cloudflare_list_worker_routes","cloudflare_list_worker_scripts","cloudflare_list_zones","cloudflare_purge_cache","cloudflare_revoke_access_service_token","cloudflare_update_access_application","cloudflare_update_access_policy","cloudflare_update_dns_record","cloudflare_update_rate_limit_rule","cloudflare_update_ruleset_rule","cloudflare_update_zone_setting","cloudformation_cancel_update_stack","cloudformation_create_change_set","cloudformation_create_stack","cloudformation_delete_stack","cloudformation_describe_change_set","cloudformation_describe_stack_drift_detection_status","cloudformation_describe_stack_events","cloudformation_describe_stacks","cloudformation_detect_stack_drift","cloudformation_execute_change_set","cloudformation_get_template","cloudformation_get_template_summary","cloudformation_list_stack_resources","cloudformation_update_stack","cloudformation_validate_template","cloudtrail_cancel_query","cloudtrail_describe_query","cloudtrail_describe_trails","cloudtrail_get_event_data_store","cloudtrail_get_event_selectors","cloudtrail_get_insight_selectors","cloudtrail_get_query_results","cloudtrail_get_trail","cloudtrail_get_trail_status","cloudtrail_list_event_data_stores","cloudtrail_list_tags","cloudtrail_list_trails","cloudtrail_lookup_events","cloudtrail_start_query","cloudwatch_describe_alarm_history","cloudwatch_describe_alarms","cloudwatch_describe_log_groups","cloudwatch_describe_log_streams","cloudwatch_filter_log_events","cloudwatch_get_log_events","cloudwatch_get_metric_statistics","cloudwatch_list_metrics","cloudwatch_mute_alarm","cloudwatch_put_log_group_retention","cloudwatch_put_metric_data","cloudwatch_query_logs","cloudwatch_unmute_alarm","coda_add_custom_domain","coda_add_permission","coda_change_user_role","coda_create_doc","coda_create_folder","coda_create_page","coda_delete_custom_domain","coda_delete_doc","coda_delete_folder","coda_delete_page","coda_delete_page_content","coda_delete_permission","coda_delete_row","coda_delete_rows","coda_export_page","coda_get_acl_settings","coda_get_analytics_last_updated","coda_get_column","coda_get_control","coda_get_custom_domain_provider","coda_get_doc","coda_get_doc_analytics_summary","coda_get_folder","coda_get_formula","coda_get_mutation_status","coda_get_page","coda_get_page_content","coda_get_page_export_status","coda_get_row","coda_get_sharing_metadata","coda_get_table","coda_list_categories","coda_list_columns","coda_list_controls","coda_list_custom_domains","coda_list_doc_analytics","coda_list_docs","coda_list_folder_children","coda_list_folders","coda_list_formulas","coda_list_page_analytics","coda_list_pages","coda_list_permissions","coda_list_rows","coda_list_tables","coda_list_workspace_members","coda_list_workspace_roles","coda_publish_doc","coda_push_button","coda_resolve_browser_link","coda_search_principals","coda_trigger_automation","coda_unpublish_doc","coda_update_acl_settings","coda_update_doc","coda_update_folder","coda_update_page","coda_update_row","coda_upsert_rows","coda_whoami","codepipeline_disable_stage_transition","codepipeline_enable_stage_transition","codepipeline_get_pipeline","codepipeline_get_pipeline_execution","codepipeline_get_pipeline_state","codepipeline_list_action_executions","codepipeline_list_pipeline_executions","codepipeline_list_pipelines","codepipeline_put_approval_result","codepipeline_retry_stage_execution","codepipeline_start_execution","codepipeline_stop_execution","confluence_add_label","confluence_create_blogpost","confluence_create_comment","confluence_create_page","confluence_create_page_property","confluence_create_space","confluence_create_space_property","confluence_delete_attachment","confluence_delete_blogpost","confluence_delete_comment","confluence_delete_label","confluence_delete_page","confluence_delete_page_property","confluence_delete_space","confluence_delete_space_property","confluence_get_blogpost","confluence_get_page_ancestors","confluence_get_page_children","confluence_get_page_descendants","confluence_get_page_version","confluence_get_pages_by_label","confluence_get_space","confluence_get_task","confluence_get_user","confluence_list_attachments","confluence_list_blogposts","confluence_list_blogposts_in_space","confluence_list_comments","confluence_list_labels","confluence_list_page_properties","confluence_list_page_versions","confluence_list_pages_in_space","confluence_list_space_labels","confluence_list_space_permissions","confluence_list_space_properties","confluence_list_spaces","confluence_list_tasks","confluence_retrieve","confluence_search","confluence_search_in_space","confluence_update","confluence_update_blogpost","confluence_update_comment","confluence_update_space","confluence_update_task","confluence_upload_attachment","context_dev_classify_naics","context_dev_classify_sic","context_dev_crawl","context_dev_extract","context_dev_extract_product","context_dev_extract_products","context_dev_get_brand","context_dev_get_brand_by_email","context_dev_get_brand_by_name","context_dev_get_brand_by_ticker","context_dev_identify_transaction","context_dev_map","context_dev_scrape_fonts","context_dev_scrape_html","context_dev_scrape_images","context_dev_scrape_markdown","context_dev_scrape_styleguide","context_dev_screenshot","context_dev_search","convex_action","convex_document_deltas","convex_list_documents","convex_list_tables","convex_mutation","convex_query","convex_run_function","crowdstrike_create_indicators","crowdstrike_delete_indicators","crowdstrike_delete_rtr_session","crowdstrike_execute_rtr_command","crowdstrike_get_alert_details","crowdstrike_get_case_details","crowdstrike_get_host_group_details","crowdstrike_get_indicator_details","crowdstrike_get_rtr_command_status","crowdstrike_get_sensor_aggregates","crowdstrike_get_sensor_details","crowdstrike_get_vulnerability_details","crowdstrike_init_rtr_session","crowdstrike_perform_host_action","crowdstrike_perform_host_group_action","crowdstrike_query_alerts","crowdstrike_query_cases","crowdstrike_query_host_groups","crowdstrike_query_indicators","crowdstrike_query_sensors","crowdstrike_query_vulnerabilities","crowdstrike_update_alerts","crowdstrike_update_indicators","crunchbase_autocomplete","crunchbase_get_acquisition","crunchbase_get_entity","crunchbase_get_entity_card","crunchbase_get_fields_metadata","crunchbase_get_funding_round","crunchbase_get_organization","crunchbase_get_person","crunchbase_list_deleted_entities","crunchbase_search_acquisitions","crunchbase_search_entities","crunchbase_search_funding_rounds","crunchbase_search_organizations","crunchbase_search_people","cursor_add_followup","cursor_add_followup_v2","cursor_delete_agent","cursor_delete_agent_v2","cursor_download_artifact","cursor_download_artifact_v2","cursor_get_agent","cursor_get_agent_v2","cursor_get_api_key_info","cursor_get_api_key_info_v2","cursor_get_conversation","cursor_get_conversation_v2","cursor_launch_agent","cursor_launch_agent_v2","cursor_list_agents","cursor_list_agents_v2","cursor_list_artifacts","cursor_list_artifacts_v2","cursor_list_models","cursor_list_models_v2","cursor_list_repositories","cursor_list_repositories_v2","cursor_stop_agent","cursor_stop_agent_v2","dagster_delete_run","dagster_get_asset","dagster_get_run","dagster_get_run_logs","dagster_launch_run","dagster_list_assets","dagster_list_jobs","dagster_list_runs","dagster_list_schedules","dagster_list_sensors","dagster_materialize_assets","dagster_reexecute_run","dagster_report_asset_materialization","dagster_start_schedule","dagster_start_sensor","dagster_stop_schedule","dagster_stop_sensor","dagster_terminate_run","dagster_wipe_asset","databricks_cancel_run","databricks_execute_sql","databricks_get_cluster","databricks_get_job","databricks_get_run","databricks_get_run_output","databricks_get_statement","databricks_list_clusters","databricks_list_jobs","databricks_list_runs","databricks_list_warehouses","databricks_run_job","datadog_add_incident_todo","datadog_cancel_downtime","datadog_create_dashboard","datadog_create_downtime","datadog_create_event","datadog_create_incident","datadog_create_monitor","datadog_create_slo","datadog_delete_dashboard","datadog_delete_slo","datadog_get_browser_synthetics_results","datadog_get_dashboard","datadog_get_incident","datadog_get_monitor","datadog_get_security_signal","datadog_get_slo","datadog_get_slo_history","datadog_get_synthetics_results","datadog_get_synthetics_test","datadog_list_dashboards","datadog_list_downtimes","datadog_list_incidents","datadog_list_monitors","datadog_list_security_rules","datadog_list_security_signals","datadog_list_services","datadog_list_slos","datadog_list_synthetics_tests","datadog_mute_monitor","datadog_query_logs","datadog_query_timeseries","datadog_search_spans","datadog_send_logs","datadog_submit_metrics","datadog_trigger_synthetics_tests","datadog_unmute_monitor","datadog_update_incident","datadog_update_security_signal_assignee","datadog_update_security_signal_state","datadog_update_slo","datadog_update_synthetics_status","datagma_enrich_company","datagma_enrich_person","datagma_find_email","datagma_find_phone","datagma_get_credits","daytona_create_sandbox","daytona_delete_sandbox","daytona_download_file","daytona_execute_command","daytona_get_sandbox","daytona_git_clone","daytona_list_files","daytona_list_sandboxes","daytona_run_code","daytona_start_sandbox","daytona_stop_sandbox","daytona_upload_file","deployed_block_executor","deployments_deploy","deployments_get_version","deployments_list_versions","deployments_promote","deployments_undeploy","devin_append_session_tags","devin_archive_session","devin_create_session","devin_get_session","devin_get_session_tags","devin_list_session_attachments","devin_list_session_messages","devin_list_sessions","devin_replace_session_tags","devin_send_message","devin_terminate_session","discord_add_reaction","discord_archive_thread","discord_assign_role","discord_ban_member","discord_bulk_delete_messages","discord_create_channel","discord_create_invite","discord_create_role","discord_create_thread","discord_create_webhook","discord_delete_channel","discord_delete_invite","discord_delete_message","discord_delete_role","discord_delete_webhook","discord_edit_message","discord_execute_webhook","discord_get_channel","discord_get_invite","discord_get_member","discord_get_messages","discord_get_pinned_messages","discord_get_server","discord_get_user","discord_get_webhook","discord_join_thread","discord_kick_member","discord_leave_thread","discord_list_channels","discord_list_roles","discord_pin_message","discord_remove_reaction","discord_remove_role","discord_send_message","discord_unban_member","discord_unpin_message","discord_update_channel","discord_update_member","discord_update_role","docusign_create_from_template","docusign_download_document","docusign_get_envelope","docusign_list_envelopes","docusign_list_recipients","docusign_list_templates","docusign_send_envelope","docusign_void_envelope","downdetector_get_company","downdetector_get_company_attribution","downdetector_get_company_baseline","downdetector_get_company_events","downdetector_get_company_incidents","downdetector_get_company_indicators","downdetector_get_company_last_15","downdetector_get_company_status","downdetector_get_provider","downdetector_get_reports","downdetector_get_site_companies","downdetector_list_categories","downdetector_list_incidents","downdetector_list_sites","downdetector_search_companies","dropbox_copy","dropbox_create_folder","dropbox_create_shared_link","dropbox_delete","dropbox_download","dropbox_download_v2","dropbox_get_metadata","dropbox_list_folder","dropbox_list_revisions","dropbox_list_shared_links","dropbox_move","dropbox_restore","dropbox_search","dropbox_upload","dropcontact_enrich_contact","dspy_chain_of_thought","dspy_predict","dspy_react","dub_bulk_create_links","dub_bulk_delete_links","dub_bulk_update_links","dub_create_link","dub_create_tag","dub_delete_link","dub_get_analytics","dub_get_events","dub_get_link","dub_get_links_count","dub_get_qr_code","dub_get_qr_code_v2","dub_list_domains","dub_list_folders","dub_list_links","dub_list_tags","dub_update_link","dub_upsert_link","duckduckgo_search","dynamodb_delete","dynamodb_get","dynamodb_introspect","dynamodb_put","dynamodb_query","dynamodb_scan","dynamodb_update","dynatrace_add_problem_comment","dynatrace_add_tags","dynatrace_close_problem","dynatrace_create_settings_object","dynatrace_create_slo","dynatrace_delete_problem_comment","dynatrace_delete_settings_object","dynatrace_delete_slo","dynatrace_delete_tag","dynatrace_execute_synthetic_monitors","dynatrace_get_attack","dynatrace_get_audit_logs","dynatrace_get_entity","dynatrace_get_event","dynatrace_get_metric","dynatrace_get_problem","dynatrace_get_problem_comment","dynatrace_get_security_problem","dynatrace_get_settings_object","dynatrace_get_slo","dynatrace_get_synthetic_batch","dynatrace_ingest_event","dynatrace_ingest_logs","dynatrace_ingest_metrics","dynatrace_list_attacks","dynatrace_list_entities","dynatrace_list_entity_types","dynatrace_list_events","dynatrace_list_metrics","dynatrace_list_problem_comments","dynatrace_list_problems","dynatrace_list_remediation_items","dynatrace_list_security_problems","dynatrace_list_settings_objects","dynatrace_list_settings_schemas","dynatrace_list_slos","dynatrace_list_synthetic_monitors","dynatrace_list_tags","dynatrace_mute_security_problem","dynatrace_mute_security_problems","dynatrace_query_metrics","dynatrace_search_logs","dynatrace_unmute_security_problem","dynatrace_unmute_security_problems","dynatrace_update_problem_comment","dynatrace_update_settings_object","dynatrace_update_slo","elasticsearch_bulk","elasticsearch_cluster_health","elasticsearch_cluster_stats","elasticsearch_count","elasticsearch_create_index","elasticsearch_delete_document","elasticsearch_delete_index","elasticsearch_get_document","elasticsearch_get_index","elasticsearch_index_document","elasticsearch_list_indices","elasticsearch_search","elasticsearch_update_document","elevenlabs_audio_isolation","elevenlabs_edit_voice_settings","elevenlabs_get_user","elevenlabs_get_voice","elevenlabs_get_voice_settings","elevenlabs_list_models","elevenlabs_list_voices","elevenlabs_sound_effects","elevenlabs_speech_to_speech","elevenlabs_tts","emailbison_attach_leads_to_campaign","emailbison_attach_tags_to_leads","emailbison_create_campaign","emailbison_create_lead","emailbison_create_tag","emailbison_get_lead","emailbison_list_campaigns","emailbison_list_leads","emailbison_list_replies","emailbison_list_tags","emailbison_update_campaign","emailbison_update_campaign_status","emailbison_update_lead","embeddings_cohere","embeddings_gemini","embeddings_mistral","embeddings_ollama","embeddings_openai","embeddings_openrouter","enrich_check_credits","enrich_company_funding","enrich_company_lookup","enrich_company_revenue","enrich_disposable_email_check","enrich_email_to_ip","enrich_email_to_person_lite","enrich_email_to_phone","enrich_email_to_profile","enrich_find_email","enrich_get_post_details","enrich_ip_to_company","enrich_linkedin_profile","enrich_linkedin_to_personal_email","enrich_linkedin_to_work_email","enrich_phone_finder","enrich_reverse_hash_lookup","enrich_sales_pointer_people","enrich_search_company","enrich_search_company_activities","enrich_search_company_employees","enrich_search_jobs","enrich_search_logo","enrich_search_people","enrich_search_people_activities","enrich_search_post_comments","enrich_search_post_comments_by_url","enrich_search_post_reactions","enrich_search_post_reactions_by_url","enrich_search_posts","enrich_search_similar_companies","enrich_verify_email","enrichment_run","enrow_find_email","enrow_verify_email","exa_agent","exa_answer","exa_find_similar_links","exa_get_contents","exa_search","extend_parser","extend_parser_v2","fathom_get_summary","fathom_get_transcript","fathom_list_meeting_types","fathom_list_meetings","fathom_list_team_members","fathom_list_teams","file_append","file_compress","file_create_folder","file_decompress","file_delete_folder","file_edit","file_fetch","file_get","file_get_content","file_list","file_manage_sharing","file_move","file_parser","file_parser_v2","file_parser_v3","file_read","file_restore_folder","file_search","file_update_folder","file_write","findymail_find_email_from_linkedin","findymail_find_email_from_name","findymail_find_emails_by_domain","findymail_find_employees","findymail_find_phone","findymail_get_company","findymail_get_credits","findymail_lookup_technologies","findymail_reverse_email_lookup","findymail_search_technologies","findymail_verify_email","firecrawl_agent","firecrawl_batch_scrape","firecrawl_batch_scrape_status","firecrawl_cancel_crawl","firecrawl_crawl","firecrawl_crawl_status","firecrawl_credit_usage","firecrawl_extract","firecrawl_extract_status","firecrawl_map","firecrawl_parse","firecrawl_scrape","firecrawl_search","fireflies_add_to_live_meeting","fireflies_create_bite","fireflies_delete_transcript","fireflies_get_transcript","fireflies_get_user","fireflies_list_bites","fireflies_list_contacts","fireflies_list_transcripts","fireflies_list_users","fireflies_upload_audio","flint_create_task","flint_generate_pages","flint_get_task","function_execute","gamma_check_status","gamma_generate","gamma_generate_from_template","gamma_list_folders","gamma_list_themes","github_add_assignees","github_add_assignees_v2","github_add_labels","github_add_labels_v2","github_cancel_workflow_run","github_cancel_workflow_run_v2","github_check_star","github_check_star_v2","github_close_issue","github_close_issue_v2","github_close_pr","github_close_pr_v2","github_comment","github_comment_v2","github_compare_commits","github_compare_commits_v2","github_create_branch","github_create_branch_v2","github_create_comment_reaction","github_create_comment_reaction_v2","github_create_file","github_create_file_v2","github_create_gist","github_create_gist_v2","github_create_issue","github_create_issue_reaction","github_create_issue_reaction_v2","github_create_issue_v2","github_create_milestone","github_create_milestone_v2","github_create_pr","github_create_pr_review","github_create_pr_review_v2","github_create_pr_v2","github_create_project","github_create_project_v2","github_create_release","github_create_release_v2","github_delete_branch","github_delete_branch_v2","github_delete_comment","github_delete_comment_reaction","github_delete_comment_reaction_v2","github_delete_comment_v2","github_delete_file","github_delete_file_v2","github_delete_gist","github_delete_gist_v2","github_delete_issue_reaction","github_delete_issue_reaction_v2","github_delete_milestone","github_delete_milestone_v2","github_delete_project","github_delete_project_v2","github_delete_release","github_delete_release_v2","github_fork_gist","github_fork_gist_v2","github_fork_repo","github_fork_repo_v2","github_get_branch","github_get_branch_protection","github_get_branch_protection_v2","github_get_branch_v2","github_get_commit","github_get_commit_v2","github_get_file_content","github_get_file_content_v2","github_get_gist","github_get_gist_v2","github_get_issue","github_get_issue_v2","github_get_latest_release","github_get_latest_release_v2","github_get_milestone","github_get_milestone_v2","github_get_pr_files","github_get_pr_files_v2","github_get_project","github_get_project_v2","github_get_readme","github_get_readme_v2","github_get_release","github_get_release_v2","github_get_tree","github_get_tree_v2","github_get_workflow","github_get_workflow_run","github_get_workflow_run_v2","github_get_workflow_v2","github_issue_comment","github_issue_comment_v2","github_job_logs","github_latest_commit","github_latest_commit_v2","github_list_branches","github_list_branches_v2","github_list_commits","github_list_commits_v2","github_list_forks","github_list_forks_v2","github_list_gists","github_list_gists_v2","github_list_issue_comments","github_list_issue_comments_v2","github_list_issues","github_list_issues_v2","github_list_milestones","github_list_milestones_v2","github_list_pr_comments","github_list_pr_comments_v2","github_list_projects","github_list_projects_v2","github_list_prs","github_list_prs_v2","github_list_releases","github_list_releases_v2","github_list_review_threads","github_list_stargazers","github_list_stargazers_v2","github_list_tags","github_list_tags_v2","github_list_workflow_runs","github_list_workflow_runs_v2","github_list_workflows","github_list_workflows_v2","github_merge_pr","github_merge_pr_v2","github_pr","github_pr_v2","github_remove_label","github_remove_label_v2","github_reply_review_thread","github_repo_info","github_repo_info_v2","github_request_reviewers","github_request_reviewers_v2","github_rerun_workflow","github_rerun_workflow_v2","github_resolve_review_thread","github_search_code","github_search_code_v2","github_search_commits","github_search_commits_v2","github_search_issues","github_search_issues_v2","github_search_repos","github_search_repos_v2","github_search_users","github_search_users_v2","github_star_gist","github_star_gist_v2","github_star_repo","github_star_repo_v2","github_status_check_rollup","github_trigger_workflow","github_trigger_workflow_v2","github_unstar_gist","github_unstar_gist_v2","github_unstar_repo","github_unstar_repo_v2","github_update_branch_protection","github_update_branch_protection_v2","github_update_comment","github_update_comment_v2","github_update_file","github_update_file_v2","github_update_gist","github_update_gist_v2","github_update_issue","github_update_issue_v2","github_update_milestone","github_update_milestone_v2","github_update_pr","github_update_pr_v2","github_update_project","github_update_project_v2","github_update_release","github_update_release_v2","gitlab_activate_user","gitlab_add_member","gitlab_add_saml_group_link","gitlab_approve_access_request","gitlab_approve_merge_request","gitlab_approve_user","gitlab_ban_user","gitlab_block_user","gitlab_cancel_pipeline","gitlab_compare_branches","gitlab_create_branch","gitlab_create_file","gitlab_create_issue","gitlab_create_issue_note","gitlab_create_merge_request","gitlab_create_merge_request_note","gitlab_create_pipeline","gitlab_create_release","gitlab_create_user","gitlab_deactivate_user","gitlab_delete_branch","gitlab_delete_issue","gitlab_delete_saml_group_link","gitlab_delete_user","gitlab_delete_user_identity","gitlab_deny_access_request","gitlab_get_file","gitlab_get_group","gitlab_get_issue","gitlab_get_job_log","gitlab_get_merge_request","gitlab_get_merge_request_changes","gitlab_get_pipeline","gitlab_get_project","gitlab_invite_member","gitlab_list_access_requests","gitlab_list_branches","gitlab_list_commits","gitlab_list_groups","gitlab_list_invitations","gitlab_list_issues","gitlab_list_members","gitlab_list_merge_requests","gitlab_list_pipeline_jobs","gitlab_list_pipelines","gitlab_list_projects","gitlab_list_releases","gitlab_list_repository_tree","gitlab_list_saml_group_links","gitlab_list_user_memberships","gitlab_merge_merge_request","gitlab_play_job","gitlab_reject_user","gitlab_remove_member","gitlab_retry_pipeline","gitlab_revoke_invitation","gitlab_search_users","gitlab_unban_user","gitlab_unblock_user","gitlab_update_file","gitlab_update_invitation","gitlab_update_issue","gitlab_update_member","gitlab_update_merge_request","gitlab_update_user","gmail_add_label","gmail_add_label_v2","gmail_archive","gmail_archive_v2","gmail_create_label_v2","gmail_delete","gmail_delete_draft_v2","gmail_delete_label_v2","gmail_delete_v2","gmail_draft","gmail_draft_v2","gmail_edit_draft_v2","gmail_get_draft_v2","gmail_get_thread_v2","gmail_list_drafts_v2","gmail_list_labels_v2","gmail_list_threads_v2","gmail_mark_read","gmail_mark_read_v2","gmail_mark_unread","gmail_mark_unread_v2","gmail_move","gmail_move_v2","gmail_read","gmail_read_v2","gmail_remove_label","gmail_remove_label_v2","gmail_search","gmail_search_v2","gmail_send","gmail_send_v2","gmail_trash_thread_v2","gmail_unarchive","gmail_unarchive_v2","gmail_untrash_thread_v2","gmail_update_label_v2","gong_aggregate_activity","gong_aggregate_by_period","gong_answered_scorecards","gong_ask_anything","gong_assign_flow_prospects","gong_create_call","gong_day_by_day_activity","gong_get_brief","gong_get_call","gong_get_call_transcript","gong_get_coaching","gong_get_extensive_calls","gong_get_folder_content","gong_get_logs","gong_get_prospect_flows","gong_get_user","gong_interaction_stats","gong_list_calls","gong_list_flows","gong_list_library_folders","gong_list_scorecards","gong_list_trackers","gong_list_users","gong_list_workspaces","gong_lookup_email","gong_lookup_phone","gong_purge_email_address","gong_purge_phone_number","gong_unassign_flow_prospects","google_ads_ad_performance","google_ads_campaign_performance","google_ads_list_ad_groups","google_ads_list_campaigns","google_ads_list_customers","google_ads_search","google_appsheet_add_rows","google_appsheet_delete_rows","google_appsheet_edit_rows","google_appsheet_find_rows","google_bigquery_create_dataset","google_bigquery_create_table","google_bigquery_delete_dataset","google_bigquery_delete_table","google_bigquery_get_query_results","google_bigquery_get_table","google_bigquery_insert_rows","google_bigquery_list_datasets","google_bigquery_list_table_data","google_bigquery_list_tables","google_bigquery_query","google_books_volume_details","google_books_volume_search","google_calendar_create","google_calendar_create_calendar","google_calendar_create_calendar_v2","google_calendar_create_v2","google_calendar_delete","google_calendar_delete_calendar","google_calendar_delete_calendar_v2","google_calendar_delete_v2","google_calendar_freebusy","google_calendar_freebusy_v2","google_calendar_get","google_calendar_get_v2","google_calendar_instances","google_calendar_instances_v2","google_calendar_invite","google_calendar_invite_v2","google_calendar_list","google_calendar_list_acl","google_calendar_list_acl_v2","google_calendar_list_calendars","google_calendar_list_calendars_v2","google_calendar_list_v2","google_calendar_move","google_calendar_move_v2","google_calendar_quick_add","google_calendar_quick_add_v2","google_calendar_share_calendar","google_calendar_share_calendar_v2","google_calendar_unshare_calendar","google_calendar_unshare_calendar_v2","google_calendar_update","google_calendar_update_acl","google_calendar_update_acl_v2","google_calendar_update_calendar","google_calendar_update_calendar_v2","google_calendar_update_v2","google_contacts_create","google_contacts_delete","google_contacts_get","google_contacts_list","google_contacts_search","google_contacts_update","google_docs_create","google_docs_create_named_range","google_docs_create_paragraph_bullets","google_docs_delete_content_range","google_docs_delete_named_range","google_docs_delete_paragraph_bullets","google_docs_insert_image","google_docs_insert_page_break","google_docs_insert_table","google_docs_insert_text","google_docs_read","google_docs_replace_text","google_docs_update_paragraph_style","google_docs_update_text_style","google_docs_write","google_drive_copy","google_drive_create_comment","google_drive_create_folder","google_drive_delete","google_drive_delete_comment","google_drive_download","google_drive_export","google_drive_get_about","google_drive_get_content","google_drive_get_file","google_drive_get_revision","google_drive_list","google_drive_list_comments","google_drive_list_permissions","google_drive_list_revisions","google_drive_move","google_drive_search","google_drive_share","google_drive_trash","google_drive_unshare","google_drive_untrash","google_drive_update","google_drive_upload","google_forms_batch_update","google_forms_create_form","google_forms_create_watch","google_forms_delete_watch","google_forms_get_form","google_forms_get_responses","google_forms_list_watches","google_forms_renew_watch","google_forms_set_publish_settings","google_groups_add_alias","google_groups_add_member","google_groups_create_group","google_groups_delete_group","google_groups_get_group","google_groups_get_member","google_groups_get_settings","google_groups_has_member","google_groups_list_aliases","google_groups_list_groups","google_groups_list_members","google_groups_remove_alias","google_groups_remove_member","google_groups_update_group","google_groups_update_member","google_groups_update_settings","google_maps_air_quality","google_maps_directions","google_maps_distance_matrix","google_maps_elevation","google_maps_geocode","google_maps_geolocate","google_maps_place_details","google_maps_places_nearby","google_maps_places_search","google_maps_pollen","google_maps_reverse_geocode","google_maps_snap_to_roads","google_maps_solar","google_maps_speed_limits","google_maps_timezone","google_maps_validate_address","google_meet_create_space","google_meet_end_conference","google_meet_get_conference_record","google_meet_get_space","google_meet_list_conference_records","google_meet_list_participants","google_pagespeed_analyze","google_search","google_sheets_append","google_sheets_append_v2","google_sheets_batch_clear_v2","google_sheets_batch_get_v2","google_sheets_batch_update_v2","google_sheets_clear_v2","google_sheets_copy_sheet_v2","google_sheets_create_spreadsheet_v2","google_sheets_delete_rows_v2","google_sheets_delete_sheet_v2","google_sheets_delete_spreadsheet_v2","google_sheets_get_spreadsheet_v2","google_sheets_read","google_sheets_read_v2","google_sheets_update","google_sheets_update_v2","google_sheets_write","google_sheets_write_v2","google_slides_add_image","google_slides_add_slide","google_slides_batch_update","google_slides_copy_presentation","google_slides_create","google_slides_create_line","google_slides_create_paragraph_bullets","google_slides_create_shape","google_slides_create_sheets_chart","google_slides_create_table","google_slides_create_video","google_slides_delete_object","google_slides_delete_paragraph_bullets","google_slides_delete_table_column","google_slides_delete_table_row","google_slides_delete_text","google_slides_duplicate_object","google_slides_export_presentation","google_slides_get_page","google_slides_get_thumbnail","google_slides_group_objects","google_slides_insert_table_columns","google_slides_insert_table_rows","google_slides_insert_text","google_slides_merge_table_cells","google_slides_read","google_slides_refresh_sheets_chart","google_slides_replace_all_shapes_with_image","google_slides_replace_all_shapes_with_sheets_chart","google_slides_replace_all_text","google_slides_replace_image","google_slides_reroute_line","google_slides_ungroup_objects","google_slides_unmerge_table_cells","google_slides_update_image_properties","google_slides_update_line_category","google_slides_update_line_properties","google_slides_update_page_element_alt_text","google_slides_update_page_element_transform","google_slides_update_page_elements_z_order","google_slides_update_page_properties","google_slides_update_paragraph_style","google_slides_update_shape_properties","google_slides_update_slide_properties","google_slides_update_slides_position","google_slides_update_table_border_properties","google_slides_update_table_cell_properties","google_slides_update_table_column_properties","google_slides_update_table_row_properties","google_slides_update_text_style","google_slides_update_video_properties","google_slides_write","google_tasks_create","google_tasks_delete","google_tasks_get","google_tasks_list","google_tasks_list_task_lists","google_tasks_update","google_translate_detect","google_translate_text","google_vault_add_held_accounts","google_vault_add_matters_permissions","google_vault_close_matters","google_vault_create_matters","google_vault_create_matters_export","google_vault_create_matters_holds","google_vault_create_saved_query","google_vault_delete_matters","google_vault_delete_matters_export","google_vault_delete_matters_holds","google_vault_delete_saved_query","google_vault_download_export_file","google_vault_list_matters","google_vault_list_matters_export","google_vault_list_matters_holds","google_vault_list_saved_queries","google_vault_remove_held_accounts","google_vault_remove_matters_permissions","google_vault_reopen_matters","google_vault_undelete_matters","google_vault_update_matters","google_vault_update_matters_holds","grafana_check_data_source_health","grafana_create_alert_rule","grafana_create_annotation","grafana_create_contact_point","grafana_create_dashboard","grafana_create_folder","grafana_delete_alert_rule","grafana_delete_annotation","grafana_delete_contact_point","grafana_delete_dashboard","grafana_delete_folder","grafana_get_alert_rule","grafana_get_alert_rule_group","grafana_get_dashboard","grafana_get_data_source","grafana_get_folder","grafana_get_health","grafana_list_alert_rules","grafana_list_annotations","grafana_list_contact_points","grafana_list_dashboards","grafana_list_data_sources","grafana_list_folders","grafana_move_folder","grafana_query_data_source","grafana_update_alert_rule","grafana_update_annotation","grafana_update_contact_point","grafana_update_dashboard","grafana_update_folder","grain_create_hook","grain_create_hook_v2","grain_delete_hook","grain_delete_hook_v2","grain_get_recording","grain_get_transcript","grain_list_hooks","grain_list_hooks_v2","grain_list_meeting_types","grain_list_recordings","grain_list_teams","grain_list_views","granola_create_webhook_endpoint","granola_delete_webhook_endpoint","granola_get_note","granola_get_transcript","granola_list_audit_events","granola_list_folders","granola_list_notes","granola_list_webhook_endpoints","granola_update_webhook_endpoint","greenhouse_get_application","greenhouse_get_candidate","greenhouse_get_job","greenhouse_get_user","greenhouse_list_applications","greenhouse_list_candidates","greenhouse_list_departments","greenhouse_list_job_stages","greenhouse_list_jobs","greenhouse_list_offices","greenhouse_list_users","greptile_index_repo","greptile_query","greptile_search","greptile_status","guardrails_validate","harmonic_batch_get_people","harmonic_clear_people_saved_search_net_new_results","harmonic_enrich_person","harmonic_get_company_employees","harmonic_get_email_enrichment_job","harmonic_get_email_enrichment_usage","harmonic_get_enrichment_status","harmonic_get_people_saved_search_net_new_results","harmonic_get_people_saved_search_results","harmonic_get_person","harmonic_list_people_saved_searches","harmonic_search_people_scout","harmonic_submit_email_enrichment_job","hex_cancel_run","hex_create_collection","hex_create_group","hex_deactivate_user","hex_delete_group","hex_get_collection","hex_get_data_connection","hex_get_group","hex_get_project","hex_get_project_runs","hex_get_queried_tables","hex_get_run_status","hex_list_collections","hex_list_data_connections","hex_list_groups","hex_list_projects","hex_list_users","hex_run_project","hex_update_collection","hex_update_group","hex_update_project","http_request","hubspot_add_list_memberships","hubspot_create_appointment","hubspot_create_association","hubspot_create_company","hubspot_create_contact","hubspot_create_deal","hubspot_create_email","hubspot_create_line_item","hubspot_create_list","hubspot_create_note","hubspot_create_ticket","hubspot_delete_association","hubspot_delete_company","hubspot_delete_contact","hubspot_delete_deal","hubspot_delete_line_item","hubspot_delete_ticket","hubspot_get_appointment","hubspot_get_association_labels","hubspot_get_cart","hubspot_get_company","hubspot_get_contact","hubspot_get_deal","hubspot_get_email","hubspot_get_line_item","hubspot_get_list","hubspot_get_list_memberships","hubspot_get_marketing_event","hubspot_get_note","hubspot_get_properties","hubspot_get_quote","hubspot_get_ticket","hubspot_get_users","hubspot_list_appointments","hubspot_list_associations","hubspot_list_carts","hubspot_list_companies","hubspot_list_contacts","hubspot_list_deals","hubspot_list_emails","hubspot_list_line_items","hubspot_list_lists","hubspot_list_marketing_events","hubspot_list_notes","hubspot_list_owners","hubspot_list_quotes","hubspot_list_tickets","hubspot_remove_list_memberships","hubspot_search_companies","hubspot_search_contacts","hubspot_search_deals","hubspot_search_emails","hubspot_search_line_items","hubspot_search_notes","hubspot_search_quotes","hubspot_search_tickets","hubspot_update_appointment","hubspot_update_company","hubspot_update_contact","hubspot_update_deal","hubspot_update_line_item","hubspot_update_ticket","huggingface_chat","hunter_companies_find","hunter_discover","hunter_domain_search","hunter_email_count","hunter_email_finder","hunter_email_verifier","iam_add_user_to_group","iam_attach_role_policy","iam_attach_user_policy","iam_create_access_key","iam_create_role","iam_create_user","iam_delete_access_key","iam_delete_role","iam_delete_user","iam_detach_role_policy","iam_detach_user_policy","iam_get_policy","iam_get_role","iam_get_user","iam_list_access_keys","iam_list_attached_role_policies","iam_list_attached_user_policies","iam_list_groups","iam_list_policies","iam_list_roles","iam_list_users","iam_remove_user_from_group","iam_simulate_principal_policy","iam_update_access_key","icypeas_find_email","icypeas_verify_email","identity_center_check_assignment_deletion_status","identity_center_check_assignment_status","identity_center_create_account_assignment","identity_center_delete_account_assignment","identity_center_describe_account","identity_center_describe_group","identity_center_describe_user","identity_center_get_group","identity_center_get_user","identity_center_list_account_assignments","identity_center_list_accounts","identity_center_list_assignments_for_account","identity_center_list_group_memberships","identity_center_list_groups","identity_center_list_instances","identity_center_list_permission_sets","image_generate","incidentio_actions_create","incidentio_actions_list","incidentio_actions_show","incidentio_actions_update","incidentio_alert_events_create","incidentio_alerts_list","incidentio_alerts_resolve","incidentio_alerts_show","incidentio_catalog_entries_list","incidentio_catalog_types_list","incidentio_custom_fields_create","incidentio_custom_fields_delete","incidentio_custom_fields_list","incidentio_custom_fields_show","incidentio_custom_fields_update","incidentio_escalation_paths_create","incidentio_escalation_paths_delete","incidentio_escalation_paths_list","incidentio_escalation_paths_show","incidentio_escalation_paths_update","incidentio_escalations_cancel","incidentio_escalations_create","incidentio_escalations_list","incidentio_escalations_show","incidentio_follow_ups_create","incidentio_follow_ups_list","incidentio_follow_ups_show","incidentio_follow_ups_update","incidentio_incident_alerts_list","incidentio_incident_memberships_create","incidentio_incident_memberships_revoke","incidentio_incident_participants_list","incidentio_incident_roles_create","incidentio_incident_roles_delete","incidentio_incident_roles_list","incidentio_incident_roles_show","incidentio_incident_roles_update","incidentio_incident_statuses_list","incidentio_incident_timestamps_list","incidentio_incident_timestamps_show","incidentio_incident_types_list","incidentio_incident_updates_list","incidentio_incidents_create","incidentio_incidents_list","incidentio_incidents_show","incidentio_incidents_update","incidentio_on_call_now","incidentio_schedule_entries_list","incidentio_schedule_overrides_create","incidentio_schedule_overrides_list","incidentio_schedules_create","incidentio_schedules_delete","incidentio_schedules_list","incidentio_schedules_show","incidentio_schedules_update","incidentio_severities_list","incidentio_teams_list","incidentio_teams_show","incidentio_users_list","incidentio_users_show","incidentio_workflows_create","incidentio_workflows_delete","incidentio_workflows_list","incidentio_workflows_show","incidentio_workflows_update","infisical_create_secret","infisical_delete_secret","infisical_get_secret","infisical_list_secrets","infisical_update_secret","instagram_delete_comment","instagram_download_media","instagram_get_account_insights","instagram_get_container_status","instagram_get_conversation_messages","instagram_get_media","instagram_get_media_insights","instagram_get_message","instagram_get_profile","instagram_get_publishing_limit","instagram_hide_comment","instagram_list_comments","instagram_list_conversations","instagram_list_media","instagram_list_stories","instagram_private_reply","instagram_publish_carousel","instagram_publish_image","instagram_publish_reel","instagram_publish_story","instagram_publish_video","instagram_reply_to_comment","instagram_send_text_message","instagram_set_comments_enabled","instantly_activate_campaign","instantly_create_campaign","instantly_create_lead","instantly_create_lead_list","instantly_delete_campaign","instantly_delete_leads","instantly_get_lead","instantly_list_campaigns","instantly_list_emails","instantly_list_lead_lists","instantly_list_leads","instantly_patch_campaign","instantly_patch_lead","instantly_pause_campaign","instantly_reply_to_email","instantly_update_lead_interest_status","intercom_assign_conversation_v2","intercom_attach_contact_to_company_v2","intercom_close_conversation_v2","intercom_create_company","intercom_create_company_v2","intercom_create_contact","intercom_create_contact_v2","intercom_create_event_v2","intercom_create_message","intercom_create_message_v2","intercom_create_note_v2","intercom_create_tag_v2","intercom_create_ticket","intercom_create_ticket_v2","intercom_delete_contact","intercom_delete_contact_v2","intercom_detach_contact_from_company_v2","intercom_get_company","intercom_get_company_v2","intercom_get_contact","intercom_get_contact_v2","intercom_get_conversation","intercom_get_conversation_v2","intercom_get_ticket","intercom_get_ticket_v2","intercom_list_admins_v2","intercom_list_companies","intercom_list_companies_v2","intercom_list_contacts","intercom_list_contacts_v2","intercom_list_conversations","intercom_list_conversations_v2","intercom_list_tags_v2","intercom_open_conversation_v2","intercom_reply_conversation","intercom_reply_conversation_v2","intercom_search_contacts","intercom_search_contacts_v2","intercom_search_conversations","intercom_search_conversations_v2","intercom_snooze_conversation_v2","intercom_tag_contact_v2","intercom_tag_conversation_v2","intercom_untag_contact_v2","intercom_update_contact","intercom_update_contact_v2","intercom_update_ticket_v2","jina_read_url","jina_search","jira_add_attachment","jira_add_comment","jira_add_watcher","jira_add_worklog","jira_assign_issue","jira_bulk_read","jira_create_issue_link","jira_delete_attachment","jira_delete_comment","jira_delete_issue","jira_delete_issue_link","jira_delete_worklog","jira_get_attachments","jira_get_comments","jira_get_fields","jira_get_project","jira_get_transitions","jira_get_users","jira_get_worklogs","jira_list_issue_types","jira_list_projects","jira_remove_watcher","jira_retrieve","jira_search_issues","jira_search_users","jira_transition_issue","jira_update","jira_update_comment","jira_update_worklog","jira_write","jotform_add_label_resources","jotform_clone_form","jotform_create_form","jotform_create_label","jotform_create_question","jotform_create_questions","jotform_create_report","jotform_create_submission","jotform_create_submissions","jotform_create_webhook","jotform_delete_form","jotform_delete_label","jotform_delete_question","jotform_delete_report","jotform_delete_submission","jotform_delete_webhook","jotform_get_form","jotform_get_form_properties","jotform_get_history","jotform_get_label","jotform_get_question","jotform_get_report","jotform_get_settings","jotform_get_submission","jotform_get_usage","jotform_get_user","jotform_list_form_files","jotform_list_form_reports","jotform_list_form_submissions","jotform_list_forms","jotform_list_label_resources","jotform_list_labels","jotform_list_questions","jotform_list_reports","jotform_list_submissions","jotform_list_subusers","jotform_list_webhooks","jotform_remove_label_resources","jotform_update_form_properties","jotform_update_label","jotform_update_question","jotform_update_settings","jotform_update_submission","jsm_add_comment","jsm_add_customer","jsm_add_organization","jsm_add_participants","jsm_answer_approval","jsm_attach_form","jsm_copy_forms","jsm_create_object","jsm_create_organization","jsm_create_request","jsm_delete_form","jsm_delete_object","jsm_externalise_form","jsm_get_approvals","jsm_get_comments","jsm_get_customers","jsm_get_form","jsm_get_form_answers","jsm_get_form_structure","jsm_get_form_templates","jsm_get_issue_forms","jsm_get_object","jsm_get_object_schema","jsm_get_object_type_attributes","jsm_get_organizations","jsm_get_participants","jsm_get_queues","jsm_get_request","jsm_get_request_type_fields","jsm_get_request_types","jsm_get_requests","jsm_get_service_desks","jsm_get_sla","jsm_get_transitions","jsm_internalise_form","jsm_list_object_schemas","jsm_list_object_types","jsm_reopen_form","jsm_save_form_answers","jsm_search_objects_aql","jsm_submit_form","jsm_transition_request","jsm_update_object","jupyter_copy_content","jupyter_create_file","jupyter_create_session","jupyter_delete_content","jupyter_delete_session","jupyter_get_content","jupyter_get_content_v2","jupyter_interrupt_kernel","jupyter_list_contents","jupyter_list_kernels","jupyter_list_kernelspecs","jupyter_list_sessions","jupyter_rename_content","jupyter_restart_kernel","jupyter_start_kernel","jupyter_stop_kernel","jupyter_upload_file","kalshi_amend_order","kalshi_amend_order_v2","kalshi_cancel_order","kalshi_cancel_order_v2","kalshi_create_order","kalshi_create_order_v2","kalshi_get_balance","kalshi_get_balance_v2","kalshi_get_candlesticks","kalshi_get_candlesticks_v2","kalshi_get_event","kalshi_get_event_candlesticks","kalshi_get_event_candlesticks_v2","kalshi_get_event_v2","kalshi_get_events","kalshi_get_events_v2","kalshi_get_exchange_announcements","kalshi_get_exchange_announcements_v2","kalshi_get_exchange_schedule","kalshi_get_exchange_schedule_v2","kalshi_get_exchange_status","kalshi_get_exchange_status_v2","kalshi_get_fills","kalshi_get_fills_v2","kalshi_get_market","kalshi_get_market_v2","kalshi_get_markets","kalshi_get_markets_v2","kalshi_get_order","kalshi_get_order_v2","kalshi_get_orderbook","kalshi_get_orderbook_v2","kalshi_get_orders","kalshi_get_orders_v2","kalshi_get_positions","kalshi_get_positions_v2","kalshi_get_series_by_ticker","kalshi_get_series_by_ticker_v2","kalshi_get_series_list","kalshi_get_series_list_v2","kalshi_get_settlements","kalshi_get_settlements_v2","kalshi_get_trades","kalshi_get_trades_v2","ketch_get_consent","ketch_get_subscriptions","ketch_invoke_right","ketch_set_consent","ketch_set_subscriptions","knowledge_create_document","knowledge_delete_chunk","knowledge_delete_document","knowledge_get_connector","knowledge_get_document","knowledge_list_chunks","knowledge_list_connectors","knowledge_list_documents","knowledge_list_tags","knowledge_search","knowledge_trigger_sync","knowledge_update_chunk","knowledge_upload_chunk","knowledge_upsert_document","lambda_add_permission","lambda_create_alias","lambda_create_event_source_mapping","lambda_create_function","lambda_create_function_url_config","lambda_delete_alias","lambda_delete_event_source_mapping","lambda_delete_function","lambda_delete_function_concurrency","lambda_delete_function_event_invoke_config","lambda_delete_function_url_config","lambda_delete_provisioned_concurrency_config","lambda_get_account_settings","lambda_get_alias","lambda_get_event_source_mapping","lambda_get_function","lambda_get_function_concurrency","lambda_get_function_configuration","lambda_get_function_event_invoke_config","lambda_get_function_recursion_config","lambda_get_function_url_config","lambda_get_layer_version","lambda_get_policy","lambda_get_provisioned_concurrency_config","lambda_get_runtime_management_config","lambda_invoke","lambda_list_aliases","lambda_list_event_source_mappings","lambda_list_function_event_invoke_configs","lambda_list_function_url_configs","lambda_list_functions","lambda_list_layer_versions","lambda_list_layers","lambda_list_provisioned_concurrency_configs","lambda_list_tags","lambda_list_versions_by_function","lambda_publish_version","lambda_put_function_concurrency","lambda_put_function_event_invoke_config","lambda_put_function_recursion_config","lambda_put_provisioned_concurrency_config","lambda_put_runtime_management_config","lambda_remove_permission","lambda_tag_resource","lambda_untag_resource","lambda_update_alias","lambda_update_event_source_mapping","lambda_update_function_code","lambda_update_function_configuration","lambda_update_function_url_config","langsmith_create_feedback","langsmith_create_run","langsmith_create_runs_batch","langsmith_get_run","langsmith_update_run","latex_compile","latex_get_package","latex_list_fonts","latex_search_packages","launchdarkly_create_flag","launchdarkly_delete_flag","launchdarkly_get_audit_log","launchdarkly_get_flag","launchdarkly_get_flag_status","launchdarkly_list_environments","launchdarkly_list_flags","launchdarkly_list_members","launchdarkly_list_projects","launchdarkly_list_segments","launchdarkly_toggle_flag","launchdarkly_update_flag","leadmagic_company_search","leadmagic_email_to_profile","leadmagic_find_email","leadmagic_find_mobile","leadmagic_get_credits","leadmagic_profile_search","leadmagic_profile_to_email","leadmagic_role_finder","leadmagic_validate_email","lemlist_get_activities","lemlist_get_lead","lemlist_send_email","linear_add_label_to_issue","linear_add_label_to_project","linear_archive_issue","linear_archive_label","linear_archive_project","linear_create_attachment","linear_create_comment","linear_create_customer","linear_create_customer_request","linear_create_customer_status","linear_create_customer_tier","linear_create_cycle","linear_create_favorite","linear_create_issue","linear_create_issue_relation","linear_create_label","linear_create_project","linear_create_project_label","linear_create_project_milestone","linear_create_project_status","linear_create_project_update","linear_create_workflow_state","linear_delete_attachment","linear_delete_comment","linear_delete_customer","linear_delete_customer_status","linear_delete_customer_tier","linear_delete_issue","linear_delete_issue_relation","linear_delete_project","linear_delete_project_label","linear_delete_project_milestone","linear_delete_project_status","linear_get_active_cycle","linear_get_customer","linear_get_cycle","linear_get_issue","linear_get_project","linear_get_viewer","linear_list_attachments","linear_list_comments","linear_list_customer_requests","linear_list_customer_statuses","linear_list_customer_tiers","linear_list_customers","linear_list_cycles","linear_list_favorites","linear_list_issue_relations","linear_list_labels","linear_list_notifications","linear_list_project_labels","linear_list_project_milestones","linear_list_project_statuses","linear_list_project_updates","linear_list_projects","linear_list_teams","linear_list_users","linear_list_workflow_states","linear_merge_customers","linear_read_issues","linear_remove_label_from_issue","linear_remove_label_from_project","linear_search_issues","linear_unarchive_issue","linear_update_attachment","linear_update_comment","linear_update_customer","linear_update_customer_request","linear_update_customer_status","linear_update_customer_tier","linear_update_issue","linear_update_label","linear_update_notification","linear_update_project","linear_update_project_label","linear_update_project_milestone","linear_update_project_status","linear_update_workflow_state","linkedin_get_profile","linkedin_share_post","linkup_search","linq_add_participant","linq_check_imessage","linq_check_rcs","linq_create_attachment","linq_create_chat","linq_create_contact_card","linq_create_webhook_subscription","linq_delete_attachment","linq_delete_message","linq_delete_webhook_subscription","linq_edit_message","linq_get_attachment","linq_get_chat","linq_get_contact_card","linq_get_message","linq_get_webhook_subscription","linq_leave_chat","linq_list_chats","linq_list_messages","linq_list_phone_numbers","linq_list_thread","linq_list_webhook_events","linq_list_webhook_subscriptions","linq_mark_chat_read","linq_react_to_message","linq_remove_participant","linq_send_message","linq_send_voice_memo","linq_share_contact_card","linq_start_typing","linq_stop_typing","linq_update_chat","linq_update_contact_card","linq_update_webhook_subscription","llm_chat","logfire_get_token_info","logfire_get_trace","logfire_query","logfire_search_records","logrocket_create_release","logrocket_get_audit_logs","logrocket_get_highlights","logrocket_identify_user","logrocket_list_exported_sessions","logrocket_request_highlights","logs_get","logs_get_execution","logs_get_run_details","logs_query","logs_query_runs","loops_check_contact_suppression","loops_create_contact","loops_create_contact_property","loops_delete_contact","loops_find_contact","loops_get_transactional_email","loops_list_contact_properties","loops_list_mailing_lists","loops_list_transactional_emails","loops_remove_contact_suppression","loops_send_event","loops_send_transactional_email","loops_update_contact","luma_add_guests","luma_cancel_event","luma_create_event","luma_get_event","luma_get_guest","luma_get_guests","luma_list_events","luma_lookup_event","luma_send_invites","luma_update_event","luma_update_guest_status","mailchimp_add_member","mailchimp_add_member_tags","mailchimp_add_or_update_member","mailchimp_add_segment_member","mailchimp_add_subscriber_to_automation","mailchimp_archive_member","mailchimp_create_audience","mailchimp_create_batch_operation","mailchimp_create_campaign","mailchimp_create_interest","mailchimp_create_interest_category","mailchimp_create_landing_page","mailchimp_create_merge_field","mailchimp_create_segment","mailchimp_create_template","mailchimp_delete_audience","mailchimp_delete_batch_operation","mailchimp_delete_campaign","mailchimp_delete_interest","mailchimp_delete_interest_category","mailchimp_delete_landing_page","mailchimp_delete_member","mailchimp_delete_merge_field","mailchimp_delete_segment","mailchimp_delete_template","mailchimp_get_audience","mailchimp_get_audiences","mailchimp_get_automation","mailchimp_get_automations","mailchimp_get_batch_operation","mailchimp_get_batch_operations","mailchimp_get_campaign","mailchimp_get_campaign_content","mailchimp_get_campaign_report","mailchimp_get_campaign_reports","mailchimp_get_campaigns","mailchimp_get_interest","mailchimp_get_interest_categories","mailchimp_get_interest_category","mailchimp_get_interests","mailchimp_get_landing_page","mailchimp_get_landing_pages","mailchimp_get_member","mailchimp_get_member_tags","mailchimp_get_members","mailchimp_get_merge_field","mailchimp_get_merge_fields","mailchimp_get_segment","mailchimp_get_segment_members","mailchimp_get_segments","mailchimp_get_template","mailchimp_get_templates","mailchimp_pause_automation","mailchimp_publish_landing_page","mailchimp_remove_member_tags","mailchimp_remove_segment_member","mailchimp_replicate_campaign","mailchimp_schedule_campaign","mailchimp_send_campaign","mailchimp_set_campaign_content","mailchimp_start_automation","mailchimp_unarchive_member","mailchimp_unpublish_landing_page","mailchimp_unschedule_campaign","mailchimp_update_audience","mailchimp_update_campaign","mailchimp_update_interest","mailchimp_update_interest_category","mailchimp_update_landing_page","mailchimp_update_member","mailchimp_update_merge_field","mailchimp_update_segment","mailchimp_update_template","mailgun_add_list_member","mailgun_create_mailing_list","mailgun_get_domain","mailgun_get_mailing_list","mailgun_get_message","mailgun_list_domains","mailgun_list_messages","mailgun_send_message","managed_agent_archive_session","managed_agent_create_session","managed_agent_delete_session","managed_agent_get_session","managed_agent_interrupt_session","managed_agent_list_events","managed_agent_respond_custom_tool","managed_agent_respond_tool_confirmation","managed_agent_run_session","managed_agent_send_message","managed_agent_update_session","manageengine_sdp_add_change_note","manageengine_sdp_add_problem_note","manageengine_sdp_add_request_note","manageengine_sdp_create_asset","manageengine_sdp_create_change","manageengine_sdp_create_problem","manageengine_sdp_create_request","manageengine_sdp_create_solution","manageengine_sdp_delete_asset","manageengine_sdp_delete_change","manageengine_sdp_delete_problem","manageengine_sdp_delete_request","manageengine_sdp_delete_solution","manageengine_sdp_get_asset","manageengine_sdp_get_change","manageengine_sdp_get_problem","manageengine_sdp_get_request","manageengine_sdp_get_solution","manageengine_sdp_list_assets","manageengine_sdp_list_change_notes","manageengine_sdp_list_changes","manageengine_sdp_list_problem_notes","manageengine_sdp_list_problems","manageengine_sdp_list_request_notes","manageengine_sdp_list_requests","manageengine_sdp_list_solutions","manageengine_sdp_update_asset","manageengine_sdp_update_change","manageengine_sdp_update_problem","manageengine_sdp_update_request","manageengine_sdp_update_solution","mcp_list_operations","mcp_run_operation","mem0_add_memories","mem0_get_memories","mem0_search_memories","memory_add","memory_delete","memory_get","memory_get_all","microsoft_ad_add_directory_role_member","microsoft_ad_add_group_member","microsoft_ad_add_user_app_role_assignment","microsoft_ad_assign_license","microsoft_ad_create_group","microsoft_ad_create_user","microsoft_ad_delete_group","microsoft_ad_delete_user","microsoft_ad_get_conditional_access_policy","microsoft_ad_get_device","microsoft_ad_get_group","microsoft_ad_get_user","microsoft_ad_list_authentication_methods","microsoft_ad_list_conditional_access_policies","microsoft_ad_list_devices","microsoft_ad_list_directory_audits","microsoft_ad_list_directory_role_members","microsoft_ad_list_directory_roles","microsoft_ad_list_group_members","microsoft_ad_list_groups","microsoft_ad_list_service_principal_app_role_assignments","microsoft_ad_list_service_principals","microsoft_ad_list_sign_ins","microsoft_ad_list_subscribed_skus","microsoft_ad_list_user_app_role_assignments","microsoft_ad_list_user_devices","microsoft_ad_list_user_licenses","microsoft_ad_list_users","microsoft_ad_remove_directory_role_member","microsoft_ad_remove_group_member","microsoft_ad_remove_user_app_role_assignment","microsoft_ad_reset_password","microsoft_ad_revoke_sign_in_sessions","microsoft_ad_set_password","microsoft_ad_update_group","microsoft_ad_update_user","microsoft_dataverse_associate","microsoft_dataverse_create_multiple","microsoft_dataverse_create_record","microsoft_dataverse_delete_record","microsoft_dataverse_disassociate","microsoft_dataverse_download_file","microsoft_dataverse_download_file_v2","microsoft_dataverse_execute_action","microsoft_dataverse_execute_function","microsoft_dataverse_fetchxml_query","microsoft_dataverse_get_entity_metadata","microsoft_dataverse_get_record","microsoft_dataverse_list_records","microsoft_dataverse_search","microsoft_dataverse_update_multiple","microsoft_dataverse_update_record","microsoft_dataverse_upload_file","microsoft_dataverse_upsert_record","microsoft_dataverse_whoami","microsoft_dynamics_365_close_case","microsoft_dynamics_365_close_opportunity","microsoft_dynamics_365_create_record","microsoft_dynamics_365_get_record","microsoft_dynamics_365_list_records","microsoft_dynamics_365_qualify_lead","microsoft_dynamics_365_search_records","microsoft_dynamics_365_update_record","microsoft_excel_clear_range","microsoft_excel_create_table","microsoft_excel_delete_worksheet","microsoft_excel_format_range","microsoft_excel_read","microsoft_excel_read_v2","microsoft_excel_sort_range","microsoft_excel_table_add","microsoft_excel_worksheet_add","microsoft_excel_write","microsoft_excel_write_v2","microsoft_planner_create_bucket","microsoft_planner_create_plan","microsoft_planner_create_task","microsoft_planner_delete_bucket","microsoft_planner_delete_plan","microsoft_planner_delete_task","microsoft_planner_get_plan_details","microsoft_planner_get_task_details","microsoft_planner_list_buckets","microsoft_planner_list_plans","microsoft_planner_read_bucket","microsoft_planner_read_plan","microsoft_planner_read_task","microsoft_planner_update_bucket","microsoft_planner_update_plan","microsoft_planner_update_plan_details","microsoft_planner_update_task","microsoft_planner_update_task_details","microsoft_teams_delete_channel_message","microsoft_teams_delete_chat_message","microsoft_teams_get_message","microsoft_teams_list_channel_members","microsoft_teams_list_channels","microsoft_teams_list_chat_members","microsoft_teams_list_chats","microsoft_teams_list_team_members","microsoft_teams_list_teams","microsoft_teams_read_channel","microsoft_teams_read_chat","microsoft_teams_reply_to_message","microsoft_teams_set_reaction","microsoft_teams_unset_reaction","microsoft_teams_update_channel_message","microsoft_teams_update_chat_message","microsoft_teams_write_channel","microsoft_teams_write_chat","microsoft_word_append","microsoft_word_create","microsoft_word_create_from_template","microsoft_word_export_pdf","microsoft_word_list","microsoft_word_read","microsoft_word_replace_text","microsoft_word_update","millionverifier_get_credits","millionverifier_verify_email","mintlify_create_agent_job","mintlify_create_assistant_message","mintlify_detect_ai_prose","mintlify_get_agent_job","mintlify_get_assistant_caller_stats","mintlify_get_assistant_conversations","mintlify_get_feedback","mintlify_get_feedback_by_page","mintlify_get_page_content","mintlify_get_searches","mintlify_get_update_status","mintlify_get_views","mintlify_get_visitors","mintlify_search","mintlify_send_agent_message","mintlify_trigger_automation","mintlify_trigger_preview","mintlify_trigger_update","mistral_parser","mistral_parser_v2","mistral_parser_v3","modal_call_function","modal_chat_completion","modal_list_models","monday_archive_item","monday_change_column_value","monday_create_board","monday_create_column","monday_create_group","monday_create_item","monday_create_subitem","monday_create_update","monday_delete_item","monday_duplicate_item","monday_get_board","monday_get_groups","monday_get_item","monday_get_items","monday_list_boards","monday_move_item_to_group","monday_search_items","monday_update_item","mongodb_delete","mongodb_execute","mongodb_insert","mongodb_introspect","mongodb_query","mongodb_update","mssql_delete","mssql_execute","mssql_insert","mssql_introspect","mssql_query","mssql_update","mysql_delete","mysql_execute","mysql_insert","mysql_introspect","mysql_query","mysql_update","neo4j_create","neo4j_delete","neo4j_execute","neo4j_introspect","neo4j_merge","neo4j_query","neo4j_update","netsuite_attach_record","netsuite_batch_create_records","netsuite_batch_delete_records","netsuite_batch_get_records","netsuite_batch_update_records","netsuite_batch_upsert_records","netsuite_create_record","netsuite_delete_record","netsuite_detach_record","netsuite_execute_action","netsuite_execute_dataset","netsuite_execute_suiteql","netsuite_get_async_result","netsuite_get_async_status","netsuite_get_governance_limits","netsuite_get_record","netsuite_get_record_form","netsuite_get_record_metadata","netsuite_get_select_options","netsuite_get_server_time","netsuite_get_subresource","netsuite_list_datasets","netsuite_list_record_types","netsuite_list_records","netsuite_transform_record","netsuite_update_record","netsuite_upsert_record","neverbounce_get_credits","neverbounce_verify_email","new_relic_create_deployment_event","new_relic_get_entity","new_relic_nrql_query","new_relic_search_entities","notion_add_database_row","notion_add_database_row_v2","notion_append_blocks","notion_append_blocks_v2","notion_create_comment","notion_create_comment_v2","notion_create_database","notion_create_database_v2","notion_create_page","notion_create_page_v2","notion_delete_block","notion_delete_block_v2","notion_list_comments","notion_list_comments_v2","notion_list_users","notion_list_users_v2","notion_query_database","notion_query_database_v2","notion_read","notion_read_database","notion_read_database_v2","notion_read_v2","notion_retrieve_block","notion_retrieve_block_children","notion_retrieve_block_children_v2","notion_retrieve_block_v2","notion_retrieve_user","notion_retrieve_user_v2","notion_search","notion_search_v2","notion_update_block","notion_update_block_v2","notion_update_page","notion_update_page_v2","notion_write","notion_write_v2","obsidian_append_active","obsidian_append_note","obsidian_append_periodic_note","obsidian_create_note","obsidian_delete_note","obsidian_execute_command","obsidian_get_active","obsidian_get_note","obsidian_get_periodic_note","obsidian_list_commands","obsidian_list_files","obsidian_open_file","obsidian_patch_active","obsidian_patch_note","obsidian_search","okta_activate_group_rule","okta_activate_user","okta_add_user_to_group","okta_assign_group_to_app","okta_assign_user_role","okta_assign_user_to_app","okta_clear_user_sessions","okta_create_group","okta_create_group_rule","okta_create_user","okta_deactivate_group_rule","okta_deactivate_user","okta_delete_group","okta_delete_group_rule","okta_delete_user","okta_enroll_factor","okta_get_app","okta_get_factor","okta_get_group","okta_get_group_rule","okta_get_logs","okta_get_session","okta_get_user","okta_list_app_groups","okta_list_app_users","okta_list_apps","okta_list_factors","okta_list_group_members","okta_list_group_rules","okta_list_groups","okta_list_user_roles","okta_list_users","okta_remove_group_from_app","okta_remove_user_from_app","okta_remove_user_from_group","okta_remove_user_role","okta_reset_all_factors","okta_reset_factor","okta_reset_password","okta_revoke_session","okta_suspend_user","okta_unsuspend_user","okta_update_group","okta_update_user","onedrive_copy","onedrive_create_folder","onedrive_create_share_link","onedrive_delete","onedrive_download","onedrive_get_drive_info","onedrive_get_item","onedrive_list","onedrive_move","onedrive_search","onedrive_upload","onepassword_create_item","onepassword_delete_item","onepassword_get_item","onepassword_get_item_file","onepassword_get_vault","onepassword_list_items","onepassword_list_vaults","onepassword_replace_item","onepassword_resolve_secret","onepassword_update_item","openai_embeddings","openai_image","outlook_calendar_create_event","outlook_calendar_delete_event","outlook_calendar_get_event","outlook_calendar_list_events","outlook_calendar_respond","outlook_calendar_update_event","outlook_copy","outlook_create_folder","outlook_delete","outlook_draft","outlook_forward","outlook_get_attachment","outlook_list_attachments","outlook_list_folders","outlook_mark_read","outlook_mark_unread","outlook_move","outlook_read","outlook_reply","outlook_reply_all","outlook_search","outlook_send","outlook_update_message","pagerduty_add_note","pagerduty_create_incident","pagerduty_get_incident","pagerduty_get_service","pagerduty_list_escalation_policies","pagerduty_list_incident_alerts","pagerduty_list_incidents","pagerduty_list_oncalls","pagerduty_list_schedules","pagerduty_list_services","pagerduty_list_users","pagerduty_merge_incidents","pagerduty_send_event","pagerduty_snooze_incident","pagerduty_update_incident","parallel_deep_research","parallel_extract","parallel_search","pdl_autocomplete","pdl_bulk_company_enrich","pdl_bulk_person_enrich","pdl_clean_company","pdl_clean_location","pdl_clean_school","pdl_company_enrich","pdl_company_search","pdl_person_enrich","pdl_person_identify","pdl_person_search","perplexity_chat","perplexity_search","persona_approve_inquiry","persona_create_account","persona_create_inquiry","persona_create_report","persona_decline_inquiry","persona_expire_inquiry","persona_generate_inquiry_link","persona_get_account","persona_get_case","persona_get_document","persona_get_inquiry","persona_get_report","persona_get_verification","persona_import_accounts","persona_list_accounts","persona_list_cases","persona_list_inquiries","persona_list_inquiry_templates","persona_list_reports","persona_mark_inquiry_for_review","persona_print_inquiry_pdf","persona_redact_account","persona_redact_inquiry","persona_resume_inquiry","persona_update_account","persona_update_inquiry","pinecone_delete_vectors","pinecone_describe_index","pinecone_describe_index_stats","pinecone_fetch","pinecone_generate_embeddings","pinecone_list_indexes","pinecone_list_vector_ids","pinecone_search_text","pinecone_search_vector","pinecone_update_vector","pinecone_upsert_text","pipedrive_create_activity","pipedrive_create_deal","pipedrive_create_lead","pipedrive_create_project","pipedrive_delete_lead","pipedrive_get_activities","pipedrive_get_all_deals","pipedrive_get_deal","pipedrive_get_files","pipedrive_get_leads","pipedrive_get_mail_messages","pipedrive_get_mail_thread","pipedrive_get_pipeline_deals","pipedrive_get_pipelines","pipedrive_get_projects","pipedrive_update_activity","pipedrive_update_deal","pipedrive_update_lead","pitchbook_company_active_investors","pitchbook_company_bio","pitchbook_company_deal_service_providers","pitchbook_company_deals","pitchbook_company_financials","pitchbook_company_general_service_providers","pitchbook_company_industries","pitchbook_company_investors","pitchbook_company_most_recent_debt_financing","pitchbook_company_most_recent_financials","pitchbook_company_most_recent_financing","pitchbook_company_search","pitchbook_company_similar_companies","pitchbook_company_social_analytics","pitchbook_company_updates","pitchbook_company_vc_exit_predictions","pitchbook_contracts_history","pitchbook_cost_of_calls","pitchbook_credit_history","pitchbook_credit_news","pitchbook_credit_news_bulk","pitchbook_credit_news_most_recent","pitchbook_credit_news_search","pitchbook_deal_bio","pitchbook_deal_cap_table_history","pitchbook_deal_debt_lenders","pitchbook_deal_detailed","pitchbook_deal_investors","pitchbook_deal_multiples","pitchbook_deal_search","pitchbook_deal_service_providers","pitchbook_deal_stock_info","pitchbook_deal_tranche_info","pitchbook_deal_updates","pitchbook_deal_valuation","pitchbook_entity_affiliates","pitchbook_entity_locations","pitchbook_entity_news","pitchbook_entity_people","pitchbook_entity_updates","pitchbook_fund_active_investments","pitchbook_fund_benchmark","pitchbook_fund_bio","pitchbook_fund_cash_flows","pitchbook_fund_commitments","pitchbook_fund_investment_preferences","pitchbook_fund_investments","pitchbook_fund_performance","pitchbook_fund_search","pitchbook_fund_team","pitchbook_fund_updates","pitchbook_investor_active_investments","pitchbook_investor_bio","pitchbook_investor_board_seats","pitchbook_investor_deal_service_providers","pitchbook_investor_funds","pitchbook_investor_general_service_providers","pitchbook_investor_investments","pitchbook_investor_last_closed_fund","pitchbook_investor_preferences","pitchbook_investor_search","pitchbook_investor_updates","pitchbook_limited_partner_actual_allocations","pitchbook_limited_partner_bio","pitchbook_limited_partner_commitment_aggregates","pitchbook_limited_partner_commitment_preferences","pitchbook_limited_partner_commitments_detailed","pitchbook_limited_partner_search","pitchbook_limited_partner_service_providers","pitchbook_limited_partner_target_allocations","pitchbook_limited_partner_updates","pitchbook_lookup_table_structure","pitchbook_lookup_tables","pitchbook_patent_detailed","pitchbook_patent_search","pitchbook_people_search","pitchbook_person_bio","pitchbook_person_contact","pitchbook_person_education_work","pitchbook_sandbox_entities","pitchbook_search","pitchbook_service_provider_bio","pitchbook_service_provider_search","pitchbook_service_provider_updates","pitchbook_serviced_companies","pitchbook_serviced_deals","pitchbook_serviced_funds","pitchbook_serviced_investors","pitchbook_serviced_limited_partners","pitchbook_shared_search","pitchbook_usage_report","polymarket_get_activity","polymarket_get_event","polymarket_get_events","polymarket_get_holders","polymarket_get_last_trade_price","polymarket_get_leaderboard","polymarket_get_market","polymarket_get_markets","polymarket_get_midpoint","polymarket_get_orderbook","polymarket_get_positions","polymarket_get_price","polymarket_get_price_history","polymarket_get_series","polymarket_get_series_by_id","polymarket_get_spread","polymarket_get_tags","polymarket_get_tick_size","polymarket_get_trades","polymarket_search","postgresql_delete","postgresql_execute","postgresql_insert","postgresql_introspect","postgresql_query","postgresql_update","posthog_batch_events","posthog_capture_event","posthog_create_annotation","posthog_create_cohort","posthog_create_dashboard","posthog_create_experiment","posthog_create_feature_flag","posthog_create_insight","posthog_create_survey","posthog_delete_feature_flag","posthog_delete_person","posthog_delete_survey","posthog_evaluate_flags","posthog_get_cohort","posthog_get_dashboard","posthog_get_event_definition","posthog_get_experiment","posthog_get_feature_flag","posthog_get_insight","posthog_get_organization","posthog_get_person","posthog_get_project","posthog_get_property_definition","posthog_get_session_recording","posthog_get_survey","posthog_list_actions","posthog_list_annotations","posthog_list_cohorts","posthog_list_dashboards","posthog_list_event_definitions","posthog_list_experiments","posthog_list_feature_flags","posthog_list_insights","posthog_list_organizations","posthog_list_persons","posthog_list_projects","posthog_list_property_definitions","posthog_list_recording_playlists","posthog_list_session_recordings","posthog_list_surveys","posthog_query","posthog_update_cohort","posthog_update_event_definition","posthog_update_experiment","posthog_update_feature_flag","posthog_update_insight","posthog_update_property_definition","posthog_update_survey","profound_bot_logs","profound_bots_report","profound_category_assets","profound_category_personas","profound_category_prompts","profound_category_tags","profound_category_topics","profound_citation_prompts","profound_citations_report","profound_list_assets","profound_list_categories","profound_list_domains","profound_list_models","profound_list_optimizations","profound_list_personas","profound_list_regions","profound_optimization_analysis","profound_prompt_answers","profound_prompt_volume","profound_query_fanouts","profound_raw_logs","profound_referrals_report","profound_sentiment_report","profound_visibility_report","prospeo_account_information","prospeo_bulk_enrich_company","prospeo_bulk_enrich_person","prospeo_enrich_company","prospeo_enrich_person","prospeo_search_company","prospeo_search_person","prospeo_search_suggestions","pulse_parser","pulse_parser_v2","qdrant_fetch_points","qdrant_search_vector","qdrant_upsert_points","quartr_get_audio","quartr_get_company","quartr_get_event","quartr_get_event_summary","quartr_get_report","quartr_get_slide_deck","quartr_get_transcript","quartr_list_audio","quartr_list_companies","quartr_list_document_types","quartr_list_documents","quartr_list_event_types","quartr_list_events","quartr_list_live_events","quartr_list_reports","quartr_list_slide_decks","quartr_list_transcripts","quickbooks_add_attachment","quickbooks_create_bill","quickbooks_create_bill_payment","quickbooks_create_credit_memo","quickbooks_create_customer","quickbooks_create_customer_payment","quickbooks_create_deposit","quickbooks_create_employee","quickbooks_create_estimate","quickbooks_create_invoice","quickbooks_create_item","quickbooks_create_journal_entry","quickbooks_create_purchase","quickbooks_create_purchase_order","quickbooks_create_refund_receipt","quickbooks_create_sales_receipt","quickbooks_create_vendor","quickbooks_create_vendor_credit","quickbooks_download_attachment","quickbooks_download_transaction_pdf","quickbooks_email_transaction","quickbooks_get_company_info","quickbooks_read_accounting_transactions","quickbooks_read_attachments","quickbooks_read_master_data","quickbooks_read_purchasing_transactions","quickbooks_read_sales_transactions","quickbooks_run_financial_report","quickbooks_update_bill","quickbooks_update_bill_payment","quickbooks_update_credit_memo","quickbooks_update_customer","quickbooks_update_customer_payment","quickbooks_update_deposit","quickbooks_update_employee","quickbooks_update_estimate","quickbooks_update_invoice","quickbooks_update_item","quickbooks_update_journal_entry","quickbooks_update_purchase","quickbooks_update_purchase_order","quickbooks_update_refund_receipt","quickbooks_update_sales_receipt","quickbooks_update_vendor","quickbooks_update_vendor_credit","quickbooks_void_bill_payment","quickbooks_void_customer_payment","quickbooks_void_invoice","quickbooks_void_sales_receipt","quiver_image_to_svg","quiver_image_to_svg_v2","quiver_list_models","quiver_text_to_svg","quiver_text_to_svg_v2","rabbitmq_create_binding","rabbitmq_create_exchange","rabbitmq_create_policy","rabbitmq_create_queue","rabbitmq_delete_binding","rabbitmq_delete_exchange","rabbitmq_delete_policy","rabbitmq_delete_queue","rabbitmq_get_exchange","rabbitmq_get_messages","rabbitmq_get_overview","rabbitmq_get_queue","rabbitmq_health_check","rabbitmq_list_bindings","rabbitmq_list_channels","rabbitmq_list_connections","rabbitmq_list_consumers","rabbitmq_list_exchange_bindings","rabbitmq_list_exchanges","rabbitmq_list_nodes","rabbitmq_list_policies","rabbitmq_list_queues","rabbitmq_list_vhosts","rabbitmq_publish_message","rabbitmq_purge_queue","railway_create_environment","railway_create_project","railway_create_service","railway_delete_environment","railway_delete_project","railway_delete_service","railway_delete_variable","railway_deploy_service","railway_get_deployment","railway_get_deployment_logs","railway_get_project","railway_list_deployments","railway_list_project_members","railway_list_projects","railway_list_variables","railway_restart_deployment","railway_rollback_deployment","railway_transfer_project","railway_update_project","railway_upsert_variable","rb2b_credit_check","rb2b_email_to_activity","rb2b_hem_to_best_linkedin","rb2b_hem_to_business_profile","rb2b_hem_to_linkedin","rb2b_hem_to_maid","rb2b_ip_to_company","rb2b_ip_to_hem","rb2b_ip_to_maid","rb2b_linkedin_slug_search","rb2b_linkedin_to_best_personal_email","rb2b_linkedin_to_business_profile","rb2b_linkedin_to_hashed_emails","rb2b_linkedin_to_mobile_phone","rb2b_linkedin_to_personal_email","rds_delete","rds_execute","rds_insert","rds_introspect","rds_query","rds_update","reddit_delete","reddit_edit","reddit_get_comments","reddit_get_controversial","reddit_get_info","reddit_get_me","reddit_get_messages","reddit_get_posts","reddit_get_saved","reddit_get_subreddit_info","reddit_get_subreddit_rules","reddit_get_user","reddit_get_user_comments","reddit_get_user_posts","reddit_hide","reddit_hot_posts","reddit_list_my_subreddits","reddit_lock","reddit_mark_all_read","reddit_mark_read","reddit_marknsfw","reddit_mod_approve","reddit_mod_distinguish","reddit_mod_remove","reddit_mod_sticky","reddit_reply","reddit_report","reddit_save","reddit_search","reddit_search_subreddits","reddit_send_message","reddit_submit_post","reddit_subscribe","reddit_unhide","reddit_unlock","reddit_unmarknsfw","reddit_unsave","reddit_vote","redis_command","redis_delete","redis_exists","redis_expire","redis_get","redis_hdel","redis_hget","redis_hgetall","redis_hset","redis_incr","redis_incrby","redis_keys","redis_llen","redis_lpop","redis_lpush","redis_lrange","redis_persist","redis_rpop","redis_rpush","redis_set","redis_setnx","redis_ttl","reducto_parser","reducto_parser_v2","resend_cancel_email","resend_create_audience","resend_create_broadcast","resend_create_contact","resend_delete_audience","resend_delete_contact","resend_get_audience","resend_get_broadcast","resend_get_contact","resend_get_email","resend_list_audiences","resend_list_contacts","resend_list_domains","resend_send","resend_send_broadcast","resend_update_contact","revenuecat_create_purchase","revenuecat_defer_google_subscription","revenuecat_delete_customer","revenuecat_get_customer","revenuecat_grant_entitlement","revenuecat_list_offerings","revenuecat_refund_google_subscription","revenuecat_revoke_entitlement","revenuecat_revoke_google_subscription","revenuecat_update_subscriber_attributes","rippling_bulk_create_custom_object_records","rippling_bulk_delete_custom_object_records","rippling_bulk_update_custom_object_records","rippling_create_business_partner","rippling_create_business_partner_group","rippling_create_custom_app","rippling_create_custom_object","rippling_create_custom_object_field","rippling_create_custom_object_record","rippling_create_custom_page","rippling_create_custom_setting","rippling_create_department","rippling_create_draft_hires","rippling_create_object_category","rippling_create_title","rippling_create_work_location","rippling_delete_business_partner","rippling_delete_business_partner_group","rippling_delete_custom_app","rippling_delete_custom_object","rippling_delete_custom_object_field","rippling_delete_custom_object_record","rippling_delete_custom_page","rippling_delete_custom_setting","rippling_delete_object_category","rippling_delete_title","rippling_delete_work_location","rippling_get_business_partner","rippling_get_business_partner_group","rippling_get_current_user","rippling_get_custom_app","rippling_get_custom_object","rippling_get_custom_object_field","rippling_get_custom_object_record","rippling_get_custom_object_record_by_external_id","rippling_get_custom_page","rippling_get_custom_setting","rippling_get_department","rippling_get_employment_type","rippling_get_job_function","rippling_get_object_category","rippling_get_report_run","rippling_get_supergroup","rippling_get_team","rippling_get_title","rippling_get_user","rippling_get_work_location","rippling_get_worker","rippling_list_business_partner_groups","rippling_list_business_partners","rippling_list_companies","rippling_list_custom_apps","rippling_list_custom_fields","rippling_list_custom_object_fields","rippling_list_custom_object_records","rippling_list_custom_objects","rippling_list_custom_pages","rippling_list_custom_settings","rippling_list_departments","rippling_list_employment_types","rippling_list_entitlements","rippling_list_job_functions","rippling_list_object_categories","rippling_list_supergroup_exclusion_members","rippling_list_supergroup_inclusion_members","rippling_list_supergroup_members","rippling_list_supergroups","rippling_list_teams","rippling_list_titles","rippling_list_users","rippling_list_work_locations","rippling_list_workers","rippling_query_custom_object_records","rippling_trigger_report_run","rippling_update_custom_app","rippling_update_custom_object","rippling_update_custom_object_field","rippling_update_custom_object_record","rippling_update_custom_page","rippling_update_custom_setting","rippling_update_department","rippling_update_object_category","rippling_update_supergroup_exclusion_members","rippling_update_supergroup_inclusion_members","rippling_update_title","rippling_update_work_location","rocketlane_add_field_option","rocketlane_add_project_members","rocketlane_add_task_assignees","rocketlane_add_task_dependencies","rocketlane_add_task_followers","rocketlane_archive_project","rocketlane_assign_placeholders","rocketlane_create_field","rocketlane_create_phase","rocketlane_create_project","rocketlane_create_space","rocketlane_create_space_document","rocketlane_create_task","rocketlane_create_time_entry","rocketlane_create_time_off","rocketlane_delete_field","rocketlane_delete_phase","rocketlane_delete_project","rocketlane_delete_space","rocketlane_delete_space_document","rocketlane_delete_task","rocketlane_delete_time_entry","rocketlane_delete_time_off","rocketlane_get_field","rocketlane_get_invoice","rocketlane_get_invoice_line_items","rocketlane_get_invoice_payments","rocketlane_get_phase","rocketlane_get_project","rocketlane_get_space","rocketlane_get_space_document","rocketlane_get_task","rocketlane_get_time_entry","rocketlane_get_time_off","rocketlane_get_user","rocketlane_import_template","rocketlane_list_fields","rocketlane_list_invoices","rocketlane_list_phases","rocketlane_list_placeholders","rocketlane_list_projects","rocketlane_list_resource_allocations","rocketlane_list_space_documents","rocketlane_list_spaces","rocketlane_list_tasks","rocketlane_list_time_entries","rocketlane_list_time_entry_categories","rocketlane_list_time_offs","rocketlane_list_users","rocketlane_move_task_to_phase","rocketlane_remove_project_members","rocketlane_remove_task_assignees","rocketlane_remove_task_dependencies","rocketlane_remove_task_followers","rocketlane_search_time_entries","rocketlane_unassign_placeholders","rocketlane_update_field","rocketlane_update_field_option","rocketlane_update_phase","rocketlane_update_project","rocketlane_update_space","rocketlane_update_space_document","rocketlane_update_task","rocketlane_update_time_entry","rootly_acknowledge_alert","rootly_add_incident_event","rootly_add_subscribers","rootly_assign_incident_role","rootly_create_action_item","rootly_create_alert","rootly_create_incident","rootly_create_status_page_event","rootly_delete_action_item","rootly_delete_incident","rootly_escalate_alert","rootly_get_alert","rootly_get_incident","rootly_list_action_items","rootly_list_alerts","rootly_list_causes","rootly_list_environments","rootly_list_escalation_policies","rootly_list_functionalities","rootly_list_incident_events","rootly_list_incident_roles","rootly_list_incident_types","rootly_list_incidents","rootly_list_on_calls","rootly_list_playbooks","rootly_list_retrospectives","rootly_list_schedules","rootly_list_services","rootly_list_severities","rootly_list_teams","rootly_list_users","rootly_mitigate_incident","rootly_remove_subscribers","rootly_resolve_alert","rootly_resolve_incident","rootly_run_workflow","rootly_snooze_alert","rootly_unassign_incident_role","rootly_update_action_item","rootly_update_alert","rootly_update_incident","s3_copy_object","s3_create_bucket","s3_delete_bucket","s3_delete_object","s3_delete_objects","s3_get_object","s3_head_object","s3_list_buckets","s3_list_objects","s3_presigned_url","s3_put_object","sailpoint_approve_access_request","sailpoint_cancel_access_request","sailpoint_decide_certification_review_items","sailpoint_get_access_profile","sailpoint_get_access_profile_entitlements","sailpoint_get_access_request_config","sailpoint_get_access_request_status","sailpoint_get_account","sailpoint_get_account_activity","sailpoint_get_account_entitlements","sailpoint_get_account_selections","sailpoint_get_campaign","sailpoint_get_certification","sailpoint_get_entitlement","sailpoint_get_entitlement_request_config","sailpoint_get_identity","sailpoint_get_role","sailpoint_get_role_entitlements","sailpoint_get_source","sailpoint_get_task_status","sailpoint_list_access_profiles","sailpoint_list_account_activities","sailpoint_list_accounts","sailpoint_list_campaigns","sailpoint_list_certification_review_items","sailpoint_list_certifications","sailpoint_list_entitlements","sailpoint_list_identities","sailpoint_list_identity_entitlements","sailpoint_list_pending_access_request_approvals","sailpoint_list_roles","sailpoint_list_sources","sailpoint_load_accounts","sailpoint_load_entitlements","sailpoint_reject_access_request","sailpoint_request_access","sailpoint_search","sailpoint_search_aggregate","sailpoint_search_count","sailpoint_sign_off_certification","salesforce_create_account","salesforce_create_case","salesforce_create_contact","salesforce_create_custom_field","salesforce_create_custom_object","salesforce_create_lead","salesforce_create_opportunity","salesforce_create_task","salesforce_delete_account","salesforce_delete_case","salesforce_delete_contact","salesforce_delete_custom_field","salesforce_delete_lead","salesforce_delete_opportunity","salesforce_delete_task","salesforce_describe_object","salesforce_get_accounts","salesforce_get_cases","salesforce_get_contacts","salesforce_get_dashboard","salesforce_get_leads","salesforce_get_opportunities","salesforce_get_report","salesforce_get_tasks","salesforce_list_dashboards","salesforce_list_objects","salesforce_list_report_types","salesforce_list_reports","salesforce_query","salesforce_query_more","salesforce_refresh_dashboard","salesforce_run_report","salesforce_tooling_query","salesforce_update_account","salesforce_update_case","salesforce_update_contact","salesforce_update_custom_field","salesforce_update_lead","salesforce_update_opportunity","salesforce_update_task","sap_concur_approve_expense_report","sap_concur_associate_attendees","sap_concur_create_cash_advance","sap_concur_create_expected_expense","sap_concur_create_expense_report","sap_concur_create_list_item","sap_concur_create_purchase_request","sap_concur_create_quick_expense","sap_concur_create_quick_expense_with_image","sap_concur_create_report_comment","sap_concur_create_travel_request","sap_concur_create_user","sap_concur_delete_expected_expense","sap_concur_delete_expense","sap_concur_delete_expense_report","sap_concur_delete_list_item","sap_concur_delete_travel_request","sap_concur_delete_user","sap_concur_get_allocation","sap_concur_get_budget","sap_concur_get_cash_advance","sap_concur_get_expected_expense","sap_concur_get_expense","sap_concur_get_expense_report","sap_concur_get_itemizations","sap_concur_get_itinerary","sap_concur_get_list","sap_concur_get_list_item","sap_concur_get_purchase_request","sap_concur_get_receipt","sap_concur_get_receipt_status","sap_concur_get_request_cash_advance","sap_concur_get_travel_profile","sap_concur_get_travel_request","sap_concur_get_user","sap_concur_issue_cash_advance","sap_concur_list_allocations","sap_concur_list_attendee_associations","sap_concur_list_budget_categories","sap_concur_list_budgets","sap_concur_list_exceptions","sap_concur_list_expected_expenses","sap_concur_list_expense_reports","sap_concur_list_expenses","sap_concur_list_itineraries","sap_concur_list_list_items","sap_concur_list_lists","sap_concur_list_receipts","sap_concur_list_report_comments","sap_concur_list_reports_to_approve","sap_concur_list_travel_profiles_summary","sap_concur_list_travel_request_comments","sap_concur_list_travel_requests","sap_concur_list_users","sap_concur_move_travel_request","sap_concur_recall_expense_report","sap_concur_remove_all_attendees","sap_concur_search_locations","sap_concur_search_users","sap_concur_send_back_expense_report","sap_concur_submit_expense_report","sap_concur_update_allocation","sap_concur_update_expected_expense","sap_concur_update_expense","sap_concur_update_expense_report","sap_concur_update_list_item","sap_concur_update_travel_request","sap_concur_update_user","sap_concur_upload_exchange_rates","sap_concur_upload_receipt_image","sap_s4hana_create_business_partner","sap_s4hana_create_purchase_order","sap_s4hana_create_purchase_requisition","sap_s4hana_create_sales_order","sap_s4hana_delete_sales_order","sap_s4hana_get_billing_document","sap_s4hana_get_business_partner","sap_s4hana_get_customer","sap_s4hana_get_inbound_delivery","sap_s4hana_get_material_document","sap_s4hana_get_outbound_delivery","sap_s4hana_get_product","sap_s4hana_get_purchase_order","sap_s4hana_get_purchase_requisition","sap_s4hana_get_sales_order","sap_s4hana_get_supplier","sap_s4hana_get_supplier_invoice","sap_s4hana_list_billing_documents","sap_s4hana_list_business_partners","sap_s4hana_list_customers","sap_s4hana_list_inbound_deliveries","sap_s4hana_list_material_documents","sap_s4hana_list_material_stock","sap_s4hana_list_outbound_deliveries","sap_s4hana_list_products","sap_s4hana_list_purchase_orders","sap_s4hana_list_purchase_requisitions","sap_s4hana_list_sales_orders","sap_s4hana_list_supplier_invoices","sap_s4hana_list_suppliers","sap_s4hana_odata_query","sap_s4hana_update_business_partner","sap_s4hana_update_customer","sap_s4hana_update_product","sap_s4hana_update_purchase_order","sap_s4hana_update_purchase_requisition","sap_s4hana_update_sales_order","sap_s4hana_update_supplier","search_tool","secrets_manager_create_secret","secrets_manager_delete_secret","secrets_manager_describe_secret","secrets_manager_get_secret","secrets_manager_list_secrets","secrets_manager_restore_secret","secrets_manager_rotate_secret","secrets_manager_tag_resource","secrets_manager_untag_resource","secrets_manager_update_secret","semrush_backlinks","semrush_backlinks_anchors","semrush_backlinks_competitors","semrush_backlinks_geo_distribution","semrush_backlinks_indexed_pages","semrush_backlinks_overview","semrush_backlinks_tld_distribution","semrush_batch_keyword_overview","semrush_broad_match_keywords","semrush_domain_ad_copies","semrush_domain_ad_history","semrush_domain_organic_competitors","semrush_domain_organic_keywords","semrush_domain_overview","semrush_domain_overview_all","semrush_domain_overview_history","semrush_domain_paid_competitors","semrush_domain_paid_keywords","semrush_domain_pla_copies","semrush_domain_pla_keywords","semrush_domain_vs_domain","semrush_keyword_ad_history","semrush_keyword_difficulty","semrush_keyword_overview","semrush_keyword_overview_all","semrush_keyword_questions","semrush_organic_results","semrush_paid_results","semrush_referring_domains","semrush_referring_ips","semrush_related_keywords","semrush_subdomain_ad_copies","semrush_subdomain_organic_keywords","semrush_subdomain_overview","semrush_subdomain_overview_all","semrush_subdomain_overview_history","semrush_subdomain_paid_keywords","semrush_top_domains","semrush_url_organic_keywords","semrush_url_overview","semrush_url_overview_all","semrush_url_overview_history","semrush_url_paid_keywords","semrush_winners_and_losers","sendblue_evaluate_service","sendblue_get_message","sendblue_send_group_message","sendblue_send_message","sendblue_send_typing_indicator","sendgrid_add_contact","sendgrid_add_contacts_to_list","sendgrid_create_list","sendgrid_create_template","sendgrid_create_template_version","sendgrid_delete_contacts","sendgrid_delete_list","sendgrid_delete_template","sendgrid_get_contact","sendgrid_get_list","sendgrid_get_template","sendgrid_list_all_lists","sendgrid_list_templates","sendgrid_remove_contacts_from_list","sendgrid_search_contacts","sendgrid_send_mail","sentry_events_get","sentry_events_list","sentry_issues_get","sentry_issues_list","sentry_issues_update","sentry_projects_create","sentry_projects_get","sentry_projects_list","sentry_projects_update","sentry_releases_create","sentry_releases_deploy","sentry_releases_list","sentry_teams_list","serper_search","servicenow_add_incident_comment","servicenow_aggregate","servicenow_close_incident","servicenow_create_change_request","servicenow_create_incident","servicenow_create_record","servicenow_delete_record","servicenow_download_attachment","servicenow_download_attachment_v2","servicenow_find_user","servicenow_get_change_next_states","servicenow_get_change_request","servicenow_get_ci","servicenow_get_incident","servicenow_get_knowledge_article","servicenow_get_requested_item","servicenow_list_approvals","servicenow_list_attachments","servicenow_list_catalog_items","servicenow_list_change_requests","servicenow_list_change_tasks","servicenow_list_ci_relationships","servicenow_list_group_members","servicenow_list_incidents","servicenow_list_requested_items","servicenow_order_catalog_item","servicenow_read_record","servicenow_resolve_incident","servicenow_search_cis","servicenow_search_knowledge","servicenow_update_approval","servicenow_update_change_request","servicenow_update_change_state","servicenow_update_incident","servicenow_update_record","servicenow_upload_attachment","ses_create_configuration_set","ses_create_email_identity","ses_create_template","ses_delete_email_identity","ses_delete_suppressed_destination","ses_delete_template","ses_get_account","ses_get_email_identity","ses_get_suppressed_destination","ses_get_template","ses_list_identities","ses_list_suppressed_destinations","ses_list_templates","ses_put_suppressed_destination","ses_send_bulk_email","ses_send_custom_verification_email","ses_send_email","ses_send_templated_email","ses_update_template","sftp_delete","sftp_download","sftp_download_v2","sftp_list","sftp_mkdir","sftp_upload","sharepoint_add_list_items","sharepoint_create_list","sharepoint_create_page","sharepoint_delete_file","sharepoint_delete_list_item","sharepoint_delete_page","sharepoint_download_file","sharepoint_get_drive_item","sharepoint_get_list","sharepoint_get_list_item","sharepoint_list_sites","sharepoint_publish_page","sharepoint_read_page","sharepoint_update_list","sharepoint_update_page","sharepoint_upload_file","shopify_adjust_inventory","shopify_cancel_order","shopify_create_customer","shopify_create_fulfillment","shopify_create_product","shopify_delete_customer","shopify_delete_product","shopify_get_collection","shopify_get_customer","shopify_get_inventory_level","shopify_get_order","shopify_get_product","shopify_list_collections","shopify_list_customers","shopify_list_inventory_items","shopify_list_locations","shopify_list_orders","shopify_list_products","shopify_update_customer","shopify_update_order","shopify_update_product","similarweb_bounce_rate","similarweb_page_views","similarweb_pages_per_visit","similarweb_traffic_visits","similarweb_visit_duration","similarweb_website_overview","sixtyfour_enrich_company","sixtyfour_enrich_lead","sixtyfour_find_email","sixtyfour_find_phone","slack_add_reaction","slack_archive_conversation","slack_canvas","slack_create_channel_canvas","slack_create_conversation","slack_delete_canvas","slack_delete_message","slack_delete_scheduled_message","slack_download","slack_edit_canvas","slack_ephemeral_message","slack_get_canvas","slack_get_channel_history","slack_get_channel_info","slack_get_message","slack_get_permalink","slack_get_thread","slack_get_thread_replies","slack_get_user","slack_get_user_presence","slack_invite_to_conversation","slack_list_canvases","slack_list_channels","slack_list_members","slack_list_scheduled_messages","slack_list_users","slack_lookup_canvas_sections","slack_message","slack_message_reader","slack_open_view","slack_publish_view","slack_push_view","slack_remove_reaction","slack_rename_agent_session_v2","slack_rename_conversation","slack_schedule_message","slack_set_agent_session_status_v2","slack_set_conversation_purpose","slack_set_conversation_topic","slack_set_status","slack_set_suggested_prompts","slack_set_suggested_prompts_v2","slack_set_title","slack_update_message","slack_update_view","smartlead_add_email_accounts_to_campaign","smartlead_add_leads_to_campaign","smartlead_create_campaign","smartlead_create_lead_list","smartlead_delete_campaign","smartlead_delete_campaign_webhook","smartlead_delete_lead_from_campaign","smartlead_delete_lead_list","smartlead_duplicate_campaign","smartlead_export_campaign_leads","smartlead_get_campaign","smartlead_get_campaign_analytics","smartlead_get_campaign_analytics_by_date","smartlead_get_campaign_lead_statistics","smartlead_get_campaign_mailbox_statistics","smartlead_get_campaign_sequences","smartlead_get_campaign_statistics","smartlead_get_campaign_top_level_analytics_by_date","smartlead_get_campaign_webhook_summary","smartlead_get_lead_by_email","smartlead_get_lead_by_id","smartlead_get_lead_list","smartlead_get_lead_message_history","smartlead_list_campaign_email_accounts","smartlead_list_campaign_leads","smartlead_list_campaign_webhooks","smartlead_list_campaigns","smartlead_list_clients","smartlead_list_email_accounts","smartlead_list_inbox_replies","smartlead_list_lead_activities","smartlead_list_lead_categories","smartlead_list_lead_lists","smartlead_mark_lead_complete","smartlead_pause_lead","smartlead_remove_email_accounts_from_campaign","smartlead_resume_lead","smartlead_save_campaign_sequences","smartlead_unsubscribe_lead_from_campaign","smartlead_unsubscribe_lead_globally","smartlead_update_campaign_schedule","smartlead_update_campaign_settings","smartlead_update_campaign_status","smartlead_update_lead","smartlead_update_lead_category","smartlead_update_lead_list","smartlead_upsert_campaign_webhook","sms_send","smtp_send_mail","snowflake_alter_warehouse","snowflake_call_procedure","snowflake_cancel_statement","snowflake_cancel_task_run","snowflake_delete_rows","snowflake_execute_sql","snowflake_get_statement","snowflake_get_task","snowflake_get_task_run","snowflake_get_task_run_output","snowflake_get_warehouse","snowflake_insert_rows","snowflake_introspect_schema","snowflake_list_copy_history","snowflake_list_databases","snowflake_list_query_history","snowflake_list_schemas","snowflake_list_tables","snowflake_list_task_runs","snowflake_list_tasks","snowflake_list_warehouses","snowflake_load_data","snowflake_resume_task","snowflake_resume_warehouse","snowflake_run_task","snowflake_suspend_task","snowflake_suspend_warehouse","snowflake_unload_data","snowflake_update_rows","snowflake_upsert_rows","splunk_cancel_search_job","splunk_create_search_job","splunk_dispatch_saved_search","splunk_get_fired_alerts","splunk_get_saved_search","splunk_get_search_job","splunk_get_search_results","splunk_list_apps","splunk_list_fired_alerts","splunk_list_indexes","splunk_list_saved_searches","splunk_run_search","sportmonks_core_get_cities","sportmonks_core_get_city","sportmonks_core_get_continent","sportmonks_core_get_continents","sportmonks_core_get_countries","sportmonks_core_get_country","sportmonks_core_get_entity_filters","sportmonks_core_get_my_usage","sportmonks_core_get_region","sportmonks_core_get_regions","sportmonks_core_get_timezones","sportmonks_core_get_type","sportmonks_core_get_type_by_entity","sportmonks_core_get_types","sportmonks_core_search_cities","sportmonks_core_search_countries","sportmonks_core_search_regions","sportmonks_football_expected_by_player","sportmonks_football_expected_by_team","sportmonks_football_get_all_commentaries","sportmonks_football_get_all_fixtures","sportmonks_football_get_all_players","sportmonks_football_get_all_rivals","sportmonks_football_get_all_teams","sportmonks_football_get_all_transfer_rumours","sportmonks_football_get_all_transfers","sportmonks_football_get_brackets_by_season","sportmonks_football_get_coach","sportmonks_football_get_coaches","sportmonks_football_get_coaches_by_country","sportmonks_football_get_commentaries_by_fixture","sportmonks_football_get_current_leagues_by_team","sportmonks_football_get_expected_lineups_by_player","sportmonks_football_get_expected_lineups_by_team","sportmonks_football_get_extended_team_squad","sportmonks_football_get_fixture","sportmonks_football_get_fixtures_by_date","sportmonks_football_get_fixtures_by_date_range","sportmonks_football_get_fixtures_by_date_range_for_team","sportmonks_football_get_fixtures_by_ids","sportmonks_football_get_grouped_standings_by_round","sportmonks_football_get_head_to_head","sportmonks_football_get_inplay_livescores","sportmonks_football_get_latest_coaches","sportmonks_football_get_latest_fixtures","sportmonks_football_get_latest_livescores","sportmonks_football_get_latest_players","sportmonks_football_get_latest_totw","sportmonks_football_get_latest_transfers","sportmonks_football_get_league","sportmonks_football_get_leagues","sportmonks_football_get_leagues_by_country","sportmonks_football_get_leagues_by_date","sportmonks_football_get_leagues_by_team","sportmonks_football_get_live_leagues","sportmonks_football_get_live_probabilities","sportmonks_football_get_live_probabilities_by_fixture","sportmonks_football_get_live_standings_by_league","sportmonks_football_get_livescores","sportmonks_football_get_match_facts","sportmonks_football_get_match_facts_by_date_range","sportmonks_football_get_match_facts_by_fixture","sportmonks_football_get_match_facts_by_league","sportmonks_football_get_past_fixtures_by_tv_station","sportmonks_football_get_player","sportmonks_football_get_players_by_country","sportmonks_football_get_postmatch_news","sportmonks_football_get_postmatch_news_by_season","sportmonks_football_get_predictability_by_league","sportmonks_football_get_prematch_news","sportmonks_football_get_prematch_news_by_season","sportmonks_football_get_prematch_news_upcoming","sportmonks_football_get_probabilities","sportmonks_football_get_probabilities_by_fixture","sportmonks_football_get_referee","sportmonks_football_get_referees","sportmonks_football_get_referees_by_country","sportmonks_football_get_referees_by_season","sportmonks_football_get_rivals_by_team","sportmonks_football_get_round","sportmonks_football_get_round_statistics","sportmonks_football_get_rounds","sportmonks_football_get_rounds_by_season","sportmonks_football_get_schedules_by_season","sportmonks_football_get_schedules_by_season_and_team","sportmonks_football_get_schedules_by_team","sportmonks_football_get_season","sportmonks_football_get_seasons","sportmonks_football_get_seasons_by_team","sportmonks_football_get_stage","sportmonks_football_get_stage_statistics","sportmonks_football_get_stages","sportmonks_football_get_stages_by_season","sportmonks_football_get_standing_corrections_by_season","sportmonks_football_get_standings","sportmonks_football_get_standings_by_round","sportmonks_football_get_standings_by_season","sportmonks_football_get_state","sportmonks_football_get_states","sportmonks_football_get_team","sportmonks_football_get_team_rankings","sportmonks_football_get_team_rankings_by_date","sportmonks_football_get_team_rankings_by_team","sportmonks_football_get_team_squad","sportmonks_football_get_team_squad_by_season","sportmonks_football_get_teams_by_country","sportmonks_football_get_teams_by_season","sportmonks_football_get_topscorers_by_season","sportmonks_football_get_topscorers_by_stage","sportmonks_football_get_totw","sportmonks_football_get_totw_by_round","sportmonks_football_get_transfer","sportmonks_football_get_transfer_rumour","sportmonks_football_get_transfer_rumours_between_dates","sportmonks_football_get_transfer_rumours_by_player","sportmonks_football_get_transfer_rumours_by_team","sportmonks_football_get_transfers_between_dates","sportmonks_football_get_transfers_by_player","sportmonks_football_get_transfers_by_team","sportmonks_football_get_tv_station","sportmonks_football_get_tv_stations","sportmonks_football_get_tv_stations_by_fixture","sportmonks_football_get_upcoming_fixtures_by_market","sportmonks_football_get_upcoming_fixtures_by_tv_station","sportmonks_football_get_value_bets","sportmonks_football_get_value_bets_by_fixture","sportmonks_football_get_venue","sportmonks_football_get_venues","sportmonks_football_get_venues_by_season","sportmonks_football_search_coaches","sportmonks_football_search_fixtures","sportmonks_football_search_leagues","sportmonks_football_search_players","sportmonks_football_search_referees","sportmonks_football_search_rounds","sportmonks_football_search_seasons","sportmonks_football_search_stages","sportmonks_football_search_teams","sportmonks_football_search_venues","sportmonks_motorsport_get_all_fixtures","sportmonks_motorsport_get_current_leagues_by_team","sportmonks_motorsport_get_driver","sportmonks_motorsport_get_driver_standings","sportmonks_motorsport_get_driver_standings_by_season","sportmonks_motorsport_get_drivers","sportmonks_motorsport_get_drivers_by_country","sportmonks_motorsport_get_drivers_by_season","sportmonks_motorsport_get_fixture","sportmonks_motorsport_get_fixtures_by_date","sportmonks_motorsport_get_fixtures_by_date_range","sportmonks_motorsport_get_fixtures_by_ids","sportmonks_motorsport_get_laps_by_fixture","sportmonks_motorsport_get_laps_by_fixture_and_driver","sportmonks_motorsport_get_laps_by_fixture_and_lap","sportmonks_motorsport_get_latest_laps_by_fixture","sportmonks_motorsport_get_latest_pitstops_by_fixture","sportmonks_motorsport_get_latest_stints_by_fixture","sportmonks_motorsport_get_latest_updated_drivers","sportmonks_motorsport_get_latest_updated_fixtures","sportmonks_motorsport_get_league","sportmonks_motorsport_get_leagues","sportmonks_motorsport_get_leagues_by_country","sportmonks_motorsport_get_leagues_by_date","sportmonks_motorsport_get_leagues_by_live","sportmonks_motorsport_get_leagues_by_team","sportmonks_motorsport_get_livescores","sportmonks_motorsport_get_pitstops_by_fixture","sportmonks_motorsport_get_pitstops_by_fixture_and_driver","sportmonks_motorsport_get_pitstops_by_fixture_and_lap","sportmonks_motorsport_get_race_results_by_season_and_driver","sportmonks_motorsport_get_race_results_by_season_and_team","sportmonks_motorsport_get_schedules_by_season","sportmonks_motorsport_get_season","sportmonks_motorsport_get_seasons","sportmonks_motorsport_get_stage","sportmonks_motorsport_get_stages","sportmonks_motorsport_get_stages_by_season","sportmonks_motorsport_get_state","sportmonks_motorsport_get_states","sportmonks_motorsport_get_stints_by_fixture","sportmonks_motorsport_get_stints_by_fixture_and_driver","sportmonks_motorsport_get_stints_by_fixture_and_stint","sportmonks_motorsport_get_team","sportmonks_motorsport_get_team_standings","sportmonks_motorsport_get_team_standings_by_season","sportmonks_motorsport_get_teams","sportmonks_motorsport_get_teams_by_country","sportmonks_motorsport_get_teams_by_season","sportmonks_motorsport_get_venue","sportmonks_motorsport_get_venues","sportmonks_motorsport_get_venues_by_season","sportmonks_motorsport_search_drivers","sportmonks_motorsport_search_leagues","sportmonks_motorsport_search_stages","sportmonks_motorsport_search_teams","sportmonks_motorsport_search_venues","sportmonks_odds_get_all_historical_odds","sportmonks_odds_get_all_inplay_odds","sportmonks_odds_get_all_pre_match_odds","sportmonks_odds_get_all_premium_odds","sportmonks_odds_get_bookmaker","sportmonks_odds_get_bookmaker_event_ids_by_fixture","sportmonks_odds_get_bookmakers","sportmonks_odds_get_bookmakers_by_fixture","sportmonks_odds_get_inplay_odds_by_fixture","sportmonks_odds_get_inplay_odds_by_fixture_and_bookmaker","sportmonks_odds_get_inplay_odds_by_fixture_and_market","sportmonks_odds_get_last_updated_inplay_odds","sportmonks_odds_get_last_updated_pre_match_odds","sportmonks_odds_get_market","sportmonks_odds_get_markets","sportmonks_odds_get_pre_match_odds_by_fixture","sportmonks_odds_get_pre_match_odds_by_fixture_and_bookmaker","sportmonks_odds_get_pre_match_odds_by_fixture_and_market","sportmonks_odds_get_premium_odds_by_fixture","sportmonks_odds_get_premium_odds_by_fixture_and_bookmaker","sportmonks_odds_get_premium_odds_by_fixture_and_market","sportmonks_odds_get_updated_historical_odds_between","sportmonks_odds_get_updated_premium_odds_between","sportmonks_odds_search_bookmakers","sportmonks_odds_search_markets","spotify_add_playlist_cover","spotify_add_to_queue","spotify_add_tracks_to_playlist","spotify_check_following","spotify_check_playlist_followers","spotify_check_saved_albums","spotify_check_saved_audiobooks","spotify_check_saved_episodes","spotify_check_saved_shows","spotify_check_saved_tracks","spotify_create_playlist","spotify_follow_artists","spotify_follow_playlist","spotify_get_album","spotify_get_album_tracks","spotify_get_albums","spotify_get_artist","spotify_get_artist_albums","spotify_get_artist_top_tracks","spotify_get_artists","spotify_get_audiobook","spotify_get_audiobook_chapters","spotify_get_audiobooks","spotify_get_categories","spotify_get_current_user","spotify_get_currently_playing","spotify_get_devices","spotify_get_episode","spotify_get_episodes","spotify_get_followed_artists","spotify_get_markets","spotify_get_new_releases","spotify_get_playback_state","spotify_get_playlist","spotify_get_playlist_cover","spotify_get_playlist_tracks","spotify_get_queue","spotify_get_recently_played","spotify_get_saved_albums","spotify_get_saved_audiobooks","spotify_get_saved_episodes","spotify_get_saved_shows","spotify_get_saved_tracks","spotify_get_show","spotify_get_show_episodes","spotify_get_shows","spotify_get_top_artists","spotify_get_top_tracks","spotify_get_track","spotify_get_tracks","spotify_get_user_playlists","spotify_get_user_profile","spotify_pause","spotify_play","spotify_remove_saved_albums","spotify_remove_saved_audiobooks","spotify_remove_saved_episodes","spotify_remove_saved_shows","spotify_remove_saved_tracks","spotify_remove_tracks_from_playlist","spotify_reorder_playlist_items","spotify_replace_playlist_items","spotify_save_albums","spotify_save_audiobooks","spotify_save_episodes","spotify_save_shows","spotify_save_tracks","spotify_search","spotify_seek","spotify_set_repeat","spotify_set_shuffle","spotify_set_volume","spotify_skip_next","spotify_skip_previous","spotify_transfer_playback","spotify_unfollow_artists","spotify_unfollow_playlist","spotify_update_playlist","sqs_cancel_message_move_task","sqs_change_message_visibility","sqs_change_message_visibility_batch","sqs_create_queue","sqs_delete_message","sqs_delete_message_batch","sqs_delete_queue","sqs_get_queue_attributes","sqs_get_queue_url","sqs_list_dead_letter_source_queues","sqs_list_message_move_tasks","sqs_list_queue_tags","sqs_list_queues","sqs_purge_queue","sqs_receive_message","sqs_send","sqs_send_message_batch","sqs_set_queue_attributes","sqs_start_message_move_task","sqs_tag_queue","sqs_untag_queue","square_batch_retrieve_inventory_counts","square_cancel_invoice","square_cancel_payment","square_complete_payment","square_create_catalog_image","square_create_customer","square_create_invoice","square_create_order","square_create_payment","square_delete_catalog_object","square_delete_customer","square_delete_invoice","square_get_catalog_object","square_get_customer","square_get_invoice","square_get_location","square_get_order","square_get_payment","square_get_refund","square_list_catalog","square_list_customers","square_list_invoices","square_list_locations","square_list_payments","square_list_refunds","square_pay_order","square_publish_invoice","square_refund_payment","square_search_catalog_objects","square_search_customers","square_search_invoices","square_search_orders","square_update_customer","square_upsert_catalog_object","ssh_check_command_exists","ssh_check_file_exists","ssh_create_directory","ssh_delete_file","ssh_download_file","ssh_download_file_v2","ssh_execute_command","ssh_execute_script","ssh_get_system_info","ssh_list_directory","ssh_move_rename","ssh_read_file_content","ssh_upload_file","ssh_write_file_content","ssm_cancel_command","ssm_delete_parameter","ssm_describe_automation_executions","ssm_describe_instance_information","ssm_describe_instance_patch_states","ssm_describe_instance_patches","ssm_describe_parameters","ssm_get_automation_execution","ssm_get_command_invocation","ssm_get_document","ssm_get_parameter","ssm_get_parameters","ssm_get_parameters_by_path","ssm_list_command_invocations","ssm_list_commands","ssm_list_compliance_items","ssm_list_compliance_summaries","ssm_list_documents","ssm_put_parameter","ssm_send_command","ssm_start_automation_execution","ssm_stop_automation_execution","stagehand_agent","stagehand_extract","stripe_cancel_payment_intent","stripe_cancel_subscription","stripe_capture_charge","stripe_capture_payment_intent","stripe_confirm_payment_intent","stripe_create_charge","stripe_create_customer","stripe_create_invoice","stripe_create_payment_intent","stripe_create_price","stripe_create_product","stripe_create_subscription","stripe_delete_customer","stripe_delete_invoice","stripe_delete_product","stripe_finalize_invoice","stripe_list_charges","stripe_list_customers","stripe_list_events","stripe_list_invoices","stripe_list_payment_intents","stripe_list_prices","stripe_list_products","stripe_list_subscriptions","stripe_pay_invoice","stripe_resume_subscription","stripe_retrieve_charge","stripe_retrieve_customer","stripe_retrieve_event","stripe_retrieve_invoice","stripe_retrieve_payment_intent","stripe_retrieve_price","stripe_retrieve_product","stripe_retrieve_subscription","stripe_search_charges","stripe_search_customers","stripe_search_invoices","stripe_search_payment_intents","stripe_search_prices","stripe_search_products","stripe_search_subscriptions","stripe_send_invoice","stripe_update_charge","stripe_update_customer","stripe_update_invoice","stripe_update_payment_intent","stripe_update_price","stripe_update_product","stripe_update_subscription","stripe_void_invoice","sts_assume_role","sts_assume_role_with_saml","sts_assume_role_with_web_identity","sts_get_access_key_info","sts_get_caller_identity","sts_get_session_token","stt_assemblyai","stt_assemblyai_v2","stt_deepgram","stt_deepgram_v2","stt_elevenlabs","stt_elevenlabs_v2","stt_gemini","stt_gemini_v2","stt_whisper","stt_whisper_v2","supabase_count","supabase_delete","supabase_get_row","supabase_insert","supabase_introspect","supabase_invoke_function","supabase_query","supabase_rpc","supabase_storage_copy","supabase_storage_create_bucket","supabase_storage_create_signed_upload_url","supabase_storage_create_signed_url","supabase_storage_delete","supabase_storage_delete_bucket","supabase_storage_download","supabase_storage_empty_bucket","supabase_storage_get_public_url","supabase_storage_list","supabase_storage_list_buckets","supabase_storage_move","supabase_storage_update_bucket","supabase_storage_upload","supabase_text_search","supabase_update","supabase_upsert","supabase_vector_search","table_batch_insert_rows","table_create","table_delete_row","table_delete_rows_by_filter","table_get_row","table_get_schema","table_insert_row","table_list","table_query_rows","table_query_rows_v2","table_update_row","table_update_rows_by_filter","table_upsert_row","tailscale_authorize_device","tailscale_create_auth_key","tailscale_delete_auth_key","tailscale_delete_device","tailscale_delete_user","tailscale_expire_device_key","tailscale_get_acl","tailscale_get_auth_key","tailscale_get_device","tailscale_get_device_routes","tailscale_get_dns_preferences","tailscale_get_dns_searchpaths","tailscale_list_auth_keys","tailscale_list_devices","tailscale_list_dns_nameservers","tailscale_list_users","tailscale_set_acl","tailscale_set_device_routes","tailscale_set_device_tags","tailscale_set_dns_nameservers","tailscale_set_dns_preferences","tailscale_set_dns_searchpaths","tailscale_suspend_user","tailscale_update_device_key","tavily_crawl","tavily_extract","tavily_map","tavily_search","telegram_copy_message","telegram_delete_message","telegram_edit_message_text","telegram_forward_message","telegram_get_chat","telegram_get_chat_member","telegram_message","telegram_pin_message","telegram_send_animation","telegram_send_audio","telegram_send_chat_action","telegram_send_contact","telegram_send_document","telegram_send_location","telegram_send_photo","telegram_send_poll","telegram_send_video","telegram_set_message_reaction","telegram_unpin_message","temporal_cancel_workflow","temporal_count_workflows","temporal_create_schedule","temporal_delete_schedule","temporal_describe_schedule","temporal_describe_task_queue","temporal_describe_workflow","temporal_get_workflow_history","temporal_list_schedules","temporal_list_workflows","temporal_pause_schedule","temporal_query_workflow","temporal_reset_workflow","temporal_signal_with_start","temporal_signal_workflow","temporal_start_workflow","temporal_terminate_workflow","temporal_trigger_schedule","temporal_unpause_schedule","temporal_update_workflow","textract_analyze_expense","textract_analyze_id","textract_parser","textract_parser_v2","thinking_tool","thrive_add_audience_managers","thrive_add_audience_members","thrive_add_user_tags","thrive_create_assignment","thrive_create_audience","thrive_create_completion","thrive_create_user","thrive_delete_assignment","thrive_delete_audience","thrive_delete_user","thrive_get_activity","thrive_get_assignment","thrive_get_audience","thrive_get_completion","thrive_get_content","thrive_get_cpd_category","thrive_get_cpd_entry","thrive_get_cpd_requirement","thrive_get_enrolment","thrive_get_skill_levels","thrive_get_tag","thrive_get_user_by_id","thrive_get_user_by_ref","thrive_list_assignments","thrive_list_audience_managers","thrive_list_audience_members","thrive_list_audiences","thrive_list_completions","thrive_list_enrolments","thrive_list_tags","thrive_query_activities","thrive_query_content","thrive_query_cpd_categories","thrive_query_cpd_entries","thrive_query_cpd_requirements","thrive_query_cpd_user_summaries","thrive_remove_audience_manager","thrive_remove_audience_member","thrive_remove_user_tags","thrive_replace_audience_managers","thrive_replace_audience_members","thrive_search_users","thrive_suspend_user","thrive_update_assignment","thrive_update_audience","thrive_update_user","thrive_update_user_skills","tiktok_get_post_status","tiktok_get_user","tiktok_list_videos","tiktok_query_videos","tiktok_upload_video_draft","tinybird_append_datasource","tinybird_delete_datasource_rows","tinybird_events","tinybird_get_job","tinybird_query","tinybird_query_pipe","tinybird_truncate_datasource","tinyfish_cancel_run","tinyfish_fetch","tinyfish_get_run","tinyfish_list_profiles","tinyfish_list_runs","tinyfish_list_vault_items","tinyfish_run","tinyfish_run_async","tinyfish_search","trello_add_checklist","trello_add_checklist_item","trello_add_comment","trello_add_label","trello_add_member","trello_create_board","trello_create_card","trello_create_list","trello_delete_card","trello_get_actions","trello_get_board","trello_get_card","trello_list_cards","trello_list_lists","trello_list_members","trello_remove_label","trello_remove_member","trello_search","trello_update_card","trello_update_checklist_item","trello_update_list","trigger_dev_activate_schedule","trigger_dev_add_run_tags","trigger_dev_batch_trigger_task","trigger_dev_cancel_run","trigger_dev_complete_waitpoint_token","trigger_dev_create_env_var","trigger_dev_create_schedule","trigger_dev_create_waitpoint_token","trigger_dev_deactivate_schedule","trigger_dev_delete_env_var","trigger_dev_delete_schedule","trigger_dev_execute_query","trigger_dev_get_batch","trigger_dev_get_batch_results","trigger_dev_get_deployment","trigger_dev_get_env_var","trigger_dev_get_latest_deployment","trigger_dev_get_query_schema","trigger_dev_get_queue","trigger_dev_get_run","trigger_dev_get_run_events","trigger_dev_get_run_result","trigger_dev_get_run_trace","trigger_dev_get_schedule","trigger_dev_get_waitpoint_token","trigger_dev_import_env_vars","trigger_dev_list_deployments","trigger_dev_list_env_vars","trigger_dev_list_queues","trigger_dev_list_runs","trigger_dev_list_schedules","trigger_dev_list_timezones","trigger_dev_list_waitpoint_tokens","trigger_dev_override_queue_concurrency","trigger_dev_pause_queue","trigger_dev_promote_deployment","trigger_dev_replay_run","trigger_dev_reschedule_run","trigger_dev_reset_queue_concurrency","trigger_dev_resume_queue","trigger_dev_trigger_task","trigger_dev_update_env_var","trigger_dev_update_run_metadata","trigger_dev_update_schedule","tts_azure","tts_cartesia","tts_deepgram","tts_elevenlabs","tts_google","tts_openai","tts_playht","twilio_send_sms","twilio_voice_get_recording","twilio_voice_list_calls","twilio_voice_make_call","typeform_create_form","typeform_delete_form","typeform_files","typeform_get_form","typeform_insights","typeform_list_forms","typeform_responses","typeform_update_form","upstash_redis_command","upstash_redis_delete","upstash_redis_exists","upstash_redis_expire","upstash_redis_get","upstash_redis_hget","upstash_redis_hgetall","upstash_redis_hset","upstash_redis_incr","upstash_redis_incrby","upstash_redis_keys","upstash_redis_lpush","upstash_redis_lrange","upstash_redis_set","upstash_redis_setnx","upstash_redis_ttl","uptimerobot_create_alert_contact","uptimerobot_create_maintenance_window","uptimerobot_create_monitor","uptimerobot_create_psp","uptimerobot_delete_alert_contact","uptimerobot_delete_maintenance_window","uptimerobot_delete_monitor","uptimerobot_delete_psp","uptimerobot_get_account","uptimerobot_get_alert_contact","uptimerobot_get_incident","uptimerobot_get_maintenance_window","uptimerobot_get_monitor","uptimerobot_get_psp","uptimerobot_list_alert_contacts","uptimerobot_list_incidents","uptimerobot_list_maintenance_windows","uptimerobot_list_monitors","uptimerobot_list_psps","uptimerobot_pause_monitor","uptimerobot_start_monitor","uptimerobot_update_maintenance_window","uptimerobot_update_monitor","uptimerobot_update_psp","vanta_download_document_file","vanta_get_control","vanta_get_document","vanta_get_framework","vanta_get_person","vanta_get_policy","vanta_get_risk_scenario","vanta_get_test","vanta_get_vendor","vanta_get_vulnerable_asset","vanta_list_control_documents","vanta_list_control_tests","vanta_list_controls","vanta_list_document_uploads","vanta_list_documents","vanta_list_framework_controls","vanta_list_frameworks","vanta_list_monitored_computers","vanta_list_people","vanta_list_policies","vanta_list_risk_scenarios","vanta_list_test_entities","vanta_list_tests","vanta_list_vendors","vanta_list_vulnerabilities","vanta_list_vulnerability_remediations","vanta_list_vulnerable_assets","vanta_submit_document","vanta_upload_document_file","vercel_add_domain","vercel_add_project_domain","vercel_cancel_deployment","vercel_create_alias","vercel_create_check","vercel_create_deployment","vercel_create_dns_record","vercel_create_edge_config","vercel_create_env_var","vercel_create_project","vercel_create_webhook","vercel_delete_alias","vercel_delete_deployment","vercel_delete_dns_record","vercel_delete_domain","vercel_delete_edge_config","vercel_delete_env_var","vercel_delete_project","vercel_delete_webhook","vercel_get_alias","vercel_get_check","vercel_get_deployment","vercel_get_deployment_events","vercel_get_domain","vercel_get_domain_config","vercel_get_edge_config","vercel_get_edge_config_items","vercel_get_env_vars","vercel_get_project","vercel_get_team","vercel_get_user","vercel_get_webhook","vercel_list_aliases","vercel_list_checks","vercel_list_deployment_files","vercel_list_deployments","vercel_list_dns_records","vercel_list_domains","vercel_list_edge_configs","vercel_list_project_domains","vercel_list_projects","vercel_list_team_members","vercel_list_teams","vercel_list_webhooks","vercel_pause_project","vercel_promote_deployment","vercel_remove_project_domain","vercel_rerequest_check","vercel_unpause_project","vercel_update_check","vercel_update_dns_record","vercel_update_edge_config_items","vercel_update_env_var","vercel_update_project","vercel_update_project_domain","vercel_verify_project_domain","video_falai","video_luma","video_minimax","video_runway","video_veo","vision_tool","vision_tool_v2","wealthbox_read_contact","wealthbox_read_note","wealthbox_read_task","wealthbox_write_contact","wealthbox_write_note","wealthbox_write_task","webflow_create_item","webflow_delete_item","webflow_get_item","webflow_list_items","webflow_update_item","webhook_request","whatsapp_get_media","whatsapp_mark_read","whatsapp_send_interactive","whatsapp_send_media","whatsapp_send_message","whatsapp_send_reaction","whatsapp_send_template","whatsapp_upload_media","wikipedia_content","wikipedia_random","wikipedia_search","wikipedia_summary","windchill_check_in_document","windchill_check_in_documents","windchill_check_out_document","windchill_check_out_documents","windchill_create_document","windchill_create_documents","windchill_delete_document","windchill_delete_documents","windchill_download_attachment","windchill_download_primary_content","windchill_get_document","windchill_get_document_structure","windchill_get_primary_content","windchill_get_valid_state_transitions","windchill_list_attachments","windchill_list_documents","windchill_revise_document","windchill_revise_documents","windchill_set_lifecycle_state","windchill_undo_check_out_document","windchill_undo_check_out_documents","windchill_update_common_properties","windchill_update_document","windchill_update_document_security_labels","windchill_update_documents","windchill_upload_attachments","windchill_upload_primary_content","wiza_company_enrichment","wiza_get_credits","wiza_individual_reveal","wiza_prospect_search","wordpress_create_category","wordpress_create_comment","wordpress_create_page","wordpress_create_post","wordpress_create_tag","wordpress_delete_category","wordpress_delete_comment","wordpress_delete_media","wordpress_delete_page","wordpress_delete_post","wordpress_delete_tag","wordpress_get_category","wordpress_get_current_user","wordpress_get_media","wordpress_get_page","wordpress_get_post","wordpress_get_tag","wordpress_get_user","wordpress_list_categories","wordpress_list_comments","wordpress_list_media","wordpress_list_pages","wordpress_list_posts","wordpress_list_tags","wordpress_list_users","wordpress_search_content","wordpress_update_category","wordpress_update_comment","wordpress_update_page","wordpress_update_post","wordpress_update_tag","wordpress_upload_media","workday_assign_onboarding","workday_change_job","workday_create_prehire","workday_get_compensation","workday_get_organizations","workday_get_worker","workday_hire_employee","workday_list_workers","workday_terminate_worker","workday_update_worker","workflow_executor","x_create_bookmark","x_create_tweet","x_delete_bookmark","x_delete_tweet","x_get_blocking","x_get_bookmarks","x_get_followers","x_get_following","x_get_liked_tweets","x_get_liking_users","x_get_me","x_get_personalized_trends","x_get_quote_tweets","x_get_retweeted_by","x_get_trends_by_woeid","x_get_tweets_by_ids","x_get_usage","x_get_user_mentions","x_get_user_timeline","x_get_user_tweets","x_hide_reply","x_manage_block","x_manage_follow","x_manage_like","x_manage_mute","x_manage_retweet","x_read","x_search","x_search_tweets","x_search_users","x_user","x_write","youtube_channel_info","youtube_channel_playlists","youtube_channel_videos","youtube_comments","youtube_playlist_items","youtube_search","youtube_trending","youtube_video_categories","youtube_video_details","zendesk_autocomplete_organizations","zendesk_create_organization","zendesk_create_organizations_bulk","zendesk_create_ticket","zendesk_create_tickets_bulk","zendesk_create_user","zendesk_create_users_bulk","zendesk_delete_organization","zendesk_delete_ticket","zendesk_delete_user","zendesk_get_current_user","zendesk_get_organization","zendesk_get_organizations","zendesk_get_ticket","zendesk_get_tickets","zendesk_get_user","zendesk_get_users","zendesk_merge_tickets","zendesk_search","zendesk_search_count","zendesk_search_users","zendesk_update_organization","zendesk_update_ticket","zendesk_update_tickets_bulk","zendesk_update_user","zendesk_update_users_bulk","zep_add_messages","zep_add_user","zep_create_thread","zep_delete_thread","zep_get_context","zep_get_messages","zep_get_threads","zep_get_user","zep_get_user_threads","zerobounce_get_credits","zerobounce_verify_email","zoho_desk_add_comment","zoho_desk_get_attachment","zoho_desk_get_contact","zoho_desk_get_thread","zoho_desk_get_ticket","zoho_desk_list_comments","zoho_desk_list_organizations","zoho_desk_list_threads","zoho_desk_list_tickets","zoho_desk_update_ticket","zoom_create_meeting","zoom_delete_meeting","zoom_delete_recording","zoom_get_meeting","zoom_get_meeting_invitation","zoom_get_meeting_recordings","zoom_list_meetings","zoom_list_past_participants","zoom_list_recordings","zoom_update_meeting","zoominfo_enrich_companies","zoominfo_enrich_contacts","zoominfo_search_companies","zoominfo_search_contacts","zoominfo_search_intent","zoominfo_search_news"]' ) export default toolIds diff --git a/apps/sim/tools/generated/tool-metadata.ts b/apps/sim/tools/generated/tool-metadata.ts index dacfa485f2a..204ce6efcfe 100644 --- a/apps/sim/tools/generated/tool-metadata.ts +++ b/apps/sim/tools/generated/tool-metadata.ts @@ -3,7 +3,7 @@ /** Serializable metadata for every built-in tool, keyed by tool id. */ const toolMetadata: Record = JSON.parse( - '{"a2a_cancel_task":{"id":"a2a_cancel_task","name":"A2A Cancel Task","description":"Request cancellation of an in-progress A2A task.","version":"1.0.0","params":{"agentUrl":{"type":"string","required":true,"visibility":"user-only","description":"The A2A agent endpoint URL"},"taskId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The task ID to cancel"},"apiKey":{"type":"string","required":false,"visibility":"user-only","description":"API key for authentication (if required)"}},"hostedApiKey":"none"},"a2a_get_agent_card":{"id":"a2a_get_agent_card","name":"A2A Get Agent Card","description":"Fetch the Agent Card (discovery document) for an external A2A agent.","version":"1.0.0","params":{"agentUrl":{"type":"string","required":true,"visibility":"user-only","description":"The A2A agent endpoint URL"},"apiKey":{"type":"string","required":false,"visibility":"user-only","description":"API key for authentication (if required)"}},"hostedApiKey":"none"},"a2a_get_task":{"id":"a2a_get_task","name":"A2A Get Task","description":"Retrieve the current state and result of an A2A task.","version":"1.0.0","params":{"agentUrl":{"type":"string","required":true,"visibility":"user-only","description":"The A2A agent endpoint URL"},"taskId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The task ID to retrieve"},"historyLength":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of history messages to include"},"apiKey":{"type":"string","required":false,"visibility":"user-only","description":"API key for authentication (if required)"}},"hostedApiKey":"none"},"a2a_send_message":{"id":"a2a_send_message","name":"A2A Send Message","description":"Send a message to an external A2A agent and return its response.","version":"1.0.0","params":{"agentUrl":{"type":"string","required":true,"visibility":"user-only","description":"The A2A agent endpoint URL"},"message":{"type":"string","required":true,"visibility":"user-or-llm","description":"The message text to send"},"data":{"type":"json","required":false,"visibility":"user-or-llm","description":"Optional structured JSON data to attach"},"files":{"type":"json","required":false,"visibility":"user-or-llm","description":"Optional files to attach"},"taskId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Existing task ID to continue"},"contextId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Conversation context ID to continue"},"apiKey":{"type":"string","required":false,"visibility":"user-only","description":"API key for authentication (if required)"}},"hostedApiKey":"none"},"affinity_batch_update_entity_fields":{"id":"affinity_batch_update_entity_fields","name":"Affinity Batch Update Entity Fields","description":"Write up to 100 non-list field values on one company or person in a single request.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity to write the fields on: companies or persons"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company or person"},"updates":{"type":"json","required":true,"visibility":"user-or-llm","description":"Up to 100 field updates as [{\\"id\\":\\"\\",\\"value\\":{\\"type\\":\\"…\\",\\"data\\":…}}], using the same value shapes as a single field update"}},"hostedApiKey":"none"},"affinity_batch_update_list_entry_fields":{"id":"affinity_batch_update_list_entry_fields","name":"Affinity Batch Update List Entry Fields","description":"Write up to 100 field values on one list row in a single request. Requires the \\"Export data from Lists\\" permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"listEntryId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list entry ID"},"updates":{"type":"json","required":true,"visibility":"user-or-llm","description":"Up to 100 field updates as [{\\"id\\":\\"\\",\\"value\\":{\\"type\\":\\"…\\",\\"data\\":…}}], using the same value shapes as a single field update"}},"hostedApiKey":"none"},"affinity_create_list":{"id":"affinity_create_list","name":"Affinity Create List","description":"Create a list. Its type fixes which entities it can hold, and the API key holder becomes its creator and owner.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the new list"},"type":{"type":"string","required":true,"visibility":"user-or-llm","description":"Entity kind the list holds: company, opportunity, or person"},"isPublic":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Whether everyone in the organization can see the list"}},"hostedApiKey":"none"},"affinity_create_list_field_dropdown_option":{"id":"affinity_create_list_field_dropdown_option","name":"Affinity Create List Field Dropdown Option","description":"Add a selectable option to a dropdown field on a list. A ranked or status option also needs a rank and a color.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown field ID on that list"},"type":{"type":"string","required":true,"visibility":"user-or-llm","description":"Kind of option to create, matching the field. dropdown takes only a label; ranked-dropdown also requires rank and color; status-dropdown additionally requires a status category. Sending a field the kind does not accept is rejected"},"text":{"type":"string","required":true,"visibility":"user-or-llm","description":"The option label"},"rank":{"type":"number","required":false,"visibility":"user-or-llm","description":"Sort order. Required on a ranked-dropdown or status-dropdown option"},"color":{"type":"string","required":false,"visibility":"user-or-llm","description":"Option color: white, gray, blue, green, purple, orange, or red. Required on a ranked-dropdown or status-dropdown option"},"statusCategory":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pipeline meaning of the option: open, won, lost, or on-hold. Status-dropdown options only"},"winRate":{"type":"number","required":false,"visibility":"user-or-llm","description":"Expected win rate of the status. Status-dropdown options only"}},"hostedApiKey":"none"},"affinity_create_merge":{"id":"affinity_create_merge","name":"Affinity Create Merge","description":"Fold a duplicate company or person into the record you are keeping. The merge runs asynchronously — poll the returned task to see it finish. Requires the \\"Manage duplicates\\" permission and an admin role.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"What to merge: companies or persons"},"primaryId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to keep"},"duplicateId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the duplicate record to fold in"}},"hostedApiKey":"none"},"affinity_create_note":{"id":"affinity_create_note","name":"Affinity Create Note","description":"Write a note — attached to companies, persons, and opportunities, anchored to a meeting, call, or chat message, or posted as a reply to an existing note.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"type":{"type":"string","required":true,"visibility":"user-or-llm","description":"Note shape: entities to attach it to records, interaction to anchor it to a meeting, call, or chat message, or user-reply to reply to a note"},"html":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note body as HTML"},"companyIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Companies to attach the note to, e.g. [1, 2]. Not used on a reply"},"personIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Persons to attach the note to, e.g. [1, 2]. Not used on a reply"},"opportunityIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Opportunities to attach the note to, e.g. [1, 2]. Not used on a reply"},"interactionId":{"type":"string","required":false,"visibility":"user-or-llm","description":"The interaction to anchor the note to. Required for an interaction note"},"interactionType":{"type":"string","required":false,"visibility":"user-or-llm","description":"Kind of the anchoring interaction: meeting, call, or chat-message. Required for an interaction note"},"parentId":{"type":"string","required":false,"visibility":"user-or-llm","description":"The note being replied to. Required for a user-reply note"},"creatorId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Attribute the note to another internal person. Defaults to the API key holder"},"createdAt":{"type":"string","required":false,"visibility":"user-or-llm","description":"Backdate the note to this ISO 8601 timestamp"}},"hostedApiKey":"none"},"affinity_create_reminder":{"id":"affinity_create_reminder","name":"Affinity Create Reminder","description":"Create a reminder on one company, person, or opportunity. A recurring reminder resets whenever the chosen signal happens instead of firing once.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"type":{"type":"string","required":true,"visibility":"user-or-llm","description":"one-time to fire once, or recurring to reset on a signal"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"What the reminder is about: company, person, or opportunity"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company, person, or opportunity"},"dueDate":{"type":"string","required":false,"visibility":"user-or-llm","description":"When the reminder is due, as an ISO 8601 timestamp. Required for a one-time reminder; on a recurring one Affinity computes it from the period when omitted"},"content":{"type":"string","required":false,"visibility":"user-or-llm","description":"What the reminder says"},"ownerId":{"type":"string","required":true,"visibility":"user-or-llm","description":"User the reminder is assigned to. Must be an internal user. The API key holder is recorded as the creator, which is a separate field"},"resetTrigger":{"type":"string","required":false,"visibility":"user-or-llm","description":"What restarts a recurring reminder: interaction, email, or event. Required when the type is recurring"},"periodDays":{"type":"number","required":false,"visibility":"user-or-llm","description":"Days between firings of a recurring reminder. Required when the type is recurring"}},"hostedApiKey":"none"},"affinity_delete_list_field_dropdown_option":{"id":"affinity_delete_list_field_dropdown_option","name":"Affinity Delete List Field Dropdown Option","description":"Permanently delete a dropdown option on a list field. Every list entry currently set to it is cleared, and those values cannot be recovered.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown field ID on that list"},"dropdownOptionId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown option ID to delete"}},"hostedApiKey":"none"},"affinity_delete_note":{"id":"affinity_delete_note","name":"Affinity Delete Note","description":"Delete a note you created. Deleting a root note also deletes its replies; deleting a reply removes only that reply.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"noteId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note ID to delete"}},"hostedApiKey":"none"},"affinity_get_company":{"id":"affinity_get_company","name":"Affinity Get Company","description":"Look up one company by ID. Field data is returned only for the Field IDs or Field Types asked for.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"companyId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The company ID"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, or relationship-intelligence. Mutually exclusive with Field IDs"}},"hostedApiKey":"none"},"affinity_get_current_user":{"id":"affinity_get_current_user","name":"Affinity Get Current User","description":"Verify an Affinity API key and return the tenant, the user behind the key, and the scopes the grant carries.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"}},"hostedApiKey":"none"},"affinity_get_entity_field_value":{"id":"affinity_get_entity_field_value","name":"Affinity Get Entity Field Value","description":"Read one non-list field value from a company or person.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity to read the field from: companies or persons"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company or person"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The field ID to read"}},"hostedApiKey":"none"},"affinity_get_list":{"id":"affinity_get_list","name":"Affinity Get List","description":"Read one list — its name, type, owner, and privacy setting.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"}},"hostedApiKey":"none"},"affinity_get_list_entry":{"id":"affinity_get_list_entry","name":"Affinity Get List Entry","description":"Read one row of a list with its entity. Field data is returned only for the Field IDs or Field Types asked for.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"listEntryId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list entry ID"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, list, or relationship-intelligence. Mutually exclusive with Field IDs"}},"hostedApiKey":"none"},"affinity_get_list_entry_field":{"id":"affinity_get_list_entry_field","name":"Affinity Get List Entry Field","description":"Read one field value on a list row.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"listEntryId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list entry ID"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The field ID to read"}},"hostedApiKey":"none"},"affinity_get_list_field_dropdown_option":{"id":"affinity_get_list_field_dropdown_option","name":"Affinity Get List Field Dropdown Option","description":"Read one dropdown option on a list field.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown field ID on that list"},"dropdownOptionId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown option ID"}},"hostedApiKey":"none"},"affinity_get_merge":{"id":"affinity_get_merge","name":"Affinity Get Merge","description":"Read the status of one company or person merge, including why it failed if it did.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which merge to read: companies or persons"},"mergeId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The merge ID"}},"hostedApiKey":"none"},"affinity_get_merge_task":{"id":"affinity_get_merge_task","name":"Affinity Get Merge Task","description":"Read one merge task and how its merges are progressing. Poll this after starting a merge.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which merge task to read: companies or persons"},"taskId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The merge task ID"}},"hostedApiKey":"none"},"affinity_get_note":{"id":"affinity_get_note","name":"Affinity Get Note","description":"Read one note with its body, author, mentions, and attached records.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"noteId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note ID"},"includes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Extra properties to return, e.g. [\\"repliesCount\\",\\"personsPreview\\",\\"companiesPreview\\",\\"opportunitiesPreview\\"]. Those four fields are omitted unless requested here"}},"hostedApiKey":"none"},"affinity_get_opportunity":{"id":"affinity_get_opportunity","name":"Affinity Get Opportunity","description":"Read one opportunity and the list it belongs to. Its field data lives on the list entry.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"opportunityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The opportunity ID"}},"hostedApiKey":"none"},"affinity_get_person":{"id":"affinity_get_person","name":"Affinity Get Person","description":"Look up one person by ID. Field data is returned only for the Field IDs or Field Types asked for.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"personId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The person ID"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, or relationship-intelligence. Mutually exclusive with Field IDs"}},"hostedApiKey":"none"},"affinity_get_saved_view":{"id":"affinity_get_saved_view","name":"Affinity Get Saved View","description":"Read one saved view — its name, kind, and creation date.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"viewId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The saved view ID"}},"hostedApiKey":"none"},"affinity_get_transcript":{"id":"affinity_get_transcript","name":"Affinity Get Transcript","description":"Read one transcript with its first 100 fragments. Page the fragments endpoint for a longer meeting.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"transcriptId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The transcript ID"}},"hostedApiKey":"none"},"affinity_get_user":{"id":"affinity_get_user","name":"Affinity Get User","description":"Read one internal user. A user and their person record share the same numeric ID, so a person ID works here.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"userId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The user ID, which is also their person ID"}},"hostedApiKey":"none"},"affinity_list_calls":{"id":"affinity_list_calls","name":"Affinity List Calls","description":"Page through logged calls and their participants. Only calls the API key holder can see are returned.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_chat_messages":{"id":"affinity_list_chat_messages","name":"Affinity List Chat Messages","description":"Page through logged chat messages and their participants. Only messages the API key holder can see are returned.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_companies":{"id":"affinity_list_companies","name":"Affinity List Companies","description":"Page through companies. Companies come back without field data unless Field IDs or Field Types asks for it.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"ids":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict the page to these company IDs, e.g. [1, 2, 3]"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, or relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_coworker_connections":{"id":"affinity_list_coworker_connections","name":"Affinity List Coworker Connections","description":"Find warm paths into a company through shared work history: who in your Affinity data once worked alongside the people you want to reach. Grouped by target, strongest first.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":true,"visibility":"user-or-llm","description":"Required scope. The only supported filter is target.currentCompany.id, e.g. \\"target.currentCompany.id=123\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of targets to return per page, 1-50. Defaults to 20"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_emails":{"id":"affinity_list_emails","name":"Affinity List Emails","description":"Page through email metadata — subject, participants, and timestamps. Affinity never exposes email bodies through the API.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_entity_field_values":{"id":"affinity_list_entity_field_values","name":"Affinity List Entity Field Values","description":"Page through a company\'s or person\'s non-list field values. List fields are not returned here — read those through the list entry.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity to read field values from: companies or persons"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company or person"},"ids":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict to these field IDs. Mutually exclusive with Field Types"},"types":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict to these field categories: enriched, global, relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 20"}},"hostedApiKey":"none"},"affinity_list_entity_list_entries":{"id":"affinity_list_entity_list_entries","name":"Affinity List Entity List Entries","description":"Page through a company\'s or person\'s rows across every list, each carrying that list\'s field values and when the entity was added.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity to look up the rows of: companies or persons"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company or person"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_entity_lists":{"id":"affinity_list_entity_lists","name":"Affinity List Entity Lists","description":"List every list a company or person appears on that the caller can view.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity to look up the lists of: companies or persons"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company or person"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_entity_notes":{"id":"affinity_list_entity_notes","name":"Affinity List Entity Notes","description":"List the notes relevant to one company, person, or opportunity — directly attached notes plus notes reaching it through its people and meetings.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity the notes hang off: companies, persons, or opportunities"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company, person, or opportunity"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_entity_relationships":{"id":"affinity_list_entity_relationships","name":"Affinity List Entity Relationships","description":"List who knows a company or person, scored 0.0 to 1.0 by how much the two actually interact. Strongest first by default.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity to look up relationships for: companies or persons"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company or person"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression. This endpoint filters on interactionScore only, e.g. \\"interactionScore>=0.5\\""},"orderBy":{"type":"json","required":false,"visibility":"user-or-llm","description":"Sort order: [\\"interactionScore\\"] for weakest first, [\\"-interactionScore\\"] for strongest first (the default)"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_field_dropdown_options":{"id":"affinity_list_field_dropdown_options","name":"Affinity List Field Dropdown Options","description":"List the selectable options on a dropdown or ranked-dropdown company or person field. Writing such a field needs the option ID, not its text.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which field family the field belongs to: companies or persons"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown or ranked-dropdown field ID"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_field_metadata":{"id":"affinity_list_field_metadata","name":"Affinity List Field Metadata","description":"List the non-list company or person fields, with the value type, filter operators, and sort support of each. Start here to find the Field IDs the read and write tools take.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which fields to describe: companies or persons"},"includes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Extra properties to return: [\\"filterability\\",\\"sortability\\"]. Both are omitted unless requested here"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression. This endpoint filters on name only, e.g. \\"name=~Status\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_field_value_changes":{"id":"affinity_list_field_value_changes","name":"Affinity List Field Value Changes","description":"Page through field value changes across the whole workspace. Built for delta sync: follow nextCursor to the end of a run, then resume from the last cursor next time.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression over field.id, listEntry.id, changer.id, changedAt, or actionType. Resume a sync with e.g. \\"changedAt>2026-06-01T12:00:00Z\\""},"orderBy":{"type":"json","required":false,"visibility":"user-or-llm","description":"Sort order: [\\"changedAt\\"] for oldest first (the default), [\\"-changedAt\\"] for newest first"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_investor_executive_connections":{"id":"affinity_list_investor_executive_connections","name":"Affinity List Investor Executive Connections","description":"Find warm paths into a company through investment history: which investors in your Affinity data backed a company the people you want to reach once led. Grouped by target, strongest first.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":true,"visibility":"user-or-llm","description":"Required scope. The only supported filter is target.currentCompany.id, e.g. \\"target.currentCompany.id=123\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of targets to return per page, 1-50. Defaults to 20"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_list_entries":{"id":"affinity_list_list_entries","name":"Affinity List List Entries","description":"Page through the rows of a list. Rows come back without field data unless Field IDs or Field Types asks for it.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, list, or relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_list_entry_field_value_changes":{"id":"affinity_list_list_entry_field_value_changes","name":"Affinity List List Entry Field Value Changes","description":"Page through the history of one list row — who changed which field, when, and to what.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"listEntryId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list entry ID"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression over field.id, changer.id, changedAt, or actionType, e.g. \\"field.id=field-1234\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_list_entry_fields":{"id":"affinity_list_list_entry_fields","name":"Affinity List List Entry Fields","description":"Page through every field value on one list row, including the list-specific columns. All fields are returned unless narrowed.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"listEntryId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list entry ID"},"ids":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict to these field IDs. Mutually exclusive with Field Types"},"types":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict to these field categories: enriched, global, list, relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 20"}},"hostedApiKey":"none"},"affinity_list_list_field_dropdown_options":{"id":"affinity_list_list_field_dropdown_options","name":"Affinity List List Field Dropdown Options","description":"List the selectable options on a dropdown, ranked-dropdown, or status-dropdown field of a list.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown field ID on that list"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_list_fields":{"id":"affinity_list_list_fields","name":"Affinity List List Fields","description":"List the fields available on one list, including its list-specific columns. Use these Field IDs when reading or writing list entries.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"includes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Extra properties to return: [\\"filterability\\",\\"sortability\\"]. Both are omitted unless requested here"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression. This endpoint filters on name only, e.g. \\"name=~Stage\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_lists":{"id":"affinity_list_lists","name":"Affinity List Lists","description":"Page through the lists in the organization that the caller can view.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"term":{"type":"string","required":false,"visibility":"user-or-llm","description":"Case-insensitive substring match on the list name"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_meetings":{"id":"affinity_list_meetings","name":"Affinity List Meetings","description":"Page through past and upcoming meetings with their organizer and attendees.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_merge_tasks":{"id":"affinity_list_merge_tasks","name":"Affinity List Merge Tasks","description":"Page through merge tasks, each summarizing how many of its merges are in progress, succeeded, or failed.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which merge tasks to list: companies or persons"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression. This endpoint filters on status only, e.g. \\"status=in-progress\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_merges":{"id":"affinity_list_merges","name":"Affinity List Merges","description":"Page through the company or person merges the organization has run, with the status and the records involved in each.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which merges to list: companies or persons"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression over status or taskId, e.g. \\"status=failed\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_note_attached_companies":{"id":"affinity_list_note_attached_companies","name":"Affinity List Note Attached Companies","description":"List the companies directly attached to one note.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"noteId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note ID"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_note_attached_opportunities":{"id":"affinity_list_note_attached_opportunities","name":"Affinity List Note Attached Opportunities","description":"List the opportunities directly attached to one note.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"noteId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note ID"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_note_attached_persons":{"id":"affinity_list_note_attached_persons","name":"Affinity List Note Attached Persons","description":"List the persons directly attached to one note.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"noteId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note ID"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_note_replies":{"id":"affinity_list_note_replies","name":"Affinity List Note Replies","description":"Page through the replies on one note, including AI Notetaker replies.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"noteId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note ID whose replies to read"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_notes":{"id":"affinity_list_notes","name":"Affinity List Notes","description":"Page through every note the caller can see. Replies are excluded.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"includes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Extra properties to return, e.g. [\\"repliesCount\\",\\"personsPreview\\",\\"companiesPreview\\",\\"opportunitiesPreview\\"]. Those four fields are omitted unless requested here"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_opportunities":{"id":"affinity_list_opportunities","name":"Affinity List Opportunities","description":"Page through opportunities. Field data lives on the list entry, not here — read it through the list or saved view the opportunity belongs to.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"ids":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict the page to these opportunity IDs, e.g. [1, 2, 3]"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_persons":{"id":"affinity_list_persons","name":"Affinity List Persons","description":"Page through persons. Persons come back without field data unless Field IDs or Field Types asks for it.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"ids":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict the page to these person IDs, e.g. [1, 2, 3]"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, or relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_reminders":{"id":"affinity_list_reminders","name":"Affinity List Reminders","description":"Page through the reminders the caller can see. Filter by status to surface what is overdue.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_saved_view_entries":{"id":"affinity_list_saved_view_entries","name":"Affinity List Saved View Entries","description":"Page through the rows of a saved view. The view\'s own filters and columns decide which rows and which field data come back.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"viewId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The saved view ID"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_saved_views":{"id":"affinity_list_saved_views","name":"Affinity List Saved Views","description":"List the saved views on a list that the caller can view.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_list_transcript_fragments":{"id":"affinity_list_transcript_fragments","name":"Affinity List Transcript Fragments","description":"Page through everything said in a meeting, segment by segment with the speaker.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"transcriptId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The transcript ID"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_transcripts":{"id":"affinity_list_transcripts","name":"Affinity List Transcripts","description":"Page through meeting transcript metadata. Read one transcript to get what was actually said.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression, e.g. \\"createdAt>=2026-01-01\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_list_users":{"id":"affinity_list_users","name":"Affinity List Users","description":"Page through the internal users in the organization. Email addresses and roles are returned only to callers with the \\"Manage Users\\" permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"term":{"type":"string","required":false,"visibility":"user-or-llm","description":"Case-insensitive match across first name, last name, and primary email"},"filter":{"type":"string","required":false,"visibility":"user-or-llm","description":"Affinity Filtering Language expression over id or status, e.g. \\"status=active\\""},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_search_companies":{"id":"affinity_search_companies","name":"Affinity Search Companies","description":"Search companies by filters, sorts, and a free-text term. Requires the \\"Export All Organizations directory\\" permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filters":{"type":"json","required":false,"visibility":"user-or-llm","description":"Filter group as {operator: \\"and\\"|\\"or\\", filters: [...]}, at most 50 leaves. Each leaf is {valueType, fieldId, operator, value}, and a leaf may itself be a nested group"},"searchTerm":{"type":"string","required":false,"visibility":"user-or-llm","description":"Free-text term matched against the searchable fields. At least 3 characters"},"searchFieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs the search term is matched against. Defaults to the searchable fields"},"sorts":{"type":"json","required":false,"visibility":"user-or-llm","description":"Sort order as [{fieldId, direction: \\"asc\\"|\\"desc\\", attributeId?}], up to 5, applied in order"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, or relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_search_files":{"id":"affinity_search_files","name":"Affinity Search Files","description":"Search files by keyword, ordered by relevance. Narrow to specific files or to one company, or leave both unset to search the whole account.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"prompt":{"type":"string","required":true,"visibility":"user-or-llm","description":"What to search for. Between 3 and 500 characters"},"ids":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict the search to these file IDs. Cannot be combined with Company ID"},"companyId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Restrict the search to one company\'s files. Cannot be combined with file IDs"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of files to return, 1-100. Defaults to 20"}},"hostedApiKey":"none"},"affinity_search_list_entries":{"id":"affinity_search_list_entries","name":"Affinity Search List Entries","description":"Search the rows of one list by filters, sorts, and a free-text term. Requires the \\"Export data from Lists\\" permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID to search"},"filters":{"type":"json","required":false,"visibility":"user-or-llm","description":"Filter group as {operator: \\"and\\"|\\"or\\", filters: [...]}, at most 50 leaves. Each leaf is {valueType, fieldId, operator, value}, and a leaf may itself be a nested group"},"searchTerm":{"type":"string","required":false,"visibility":"user-or-llm","description":"Free-text term matched against the searchable fields. At least 3 characters"},"searchFieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs the search term is matched against. Defaults to the searchable fields"},"sorts":{"type":"json","required":false,"visibility":"user-or-llm","description":"Sort order as [{fieldId, direction: \\"asc\\"|\\"desc\\", attributeId?}], up to 5, applied in order"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, list, or relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_search_notes":{"id":"affinity_search_notes","name":"Affinity Search Notes","description":"Search notes by keyword, ordered by relevance. Narrow to specific notes or to one company, or leave both unset to search the whole account.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"prompt":{"type":"string","required":true,"visibility":"user-or-llm","description":"What to search for. Between 3 and 500 characters"},"ids":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict the search to these note IDs. Cannot be combined with Company ID"},"companyId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Restrict the search to one company\'s notes. Cannot be combined with note IDs"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of notes to return, 1-100. Defaults to 20"}},"hostedApiKey":"none"},"affinity_search_persons":{"id":"affinity_search_persons","name":"Affinity Search Persons","description":"Search persons by filters, sorts, and a free-text term. Requires the \\"Export All People directory\\" permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"filters":{"type":"json","required":false,"visibility":"user-or-llm","description":"Filter group as {operator: \\"and\\"|\\"or\\", filters: [...]}, at most 50 leaves. Each leaf is {valueType, fieldId, operator, value}, and a leaf may itself be a nested group"},"searchTerm":{"type":"string","required":false,"visibility":"user-or-llm","description":"Free-text term matched against the searchable fields. At least 3 characters"},"searchFieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs the search term is matched against. Defaults to the searchable fields"},"sorts":{"type":"json","required":false,"visibility":"user-or-llm","description":"Sort order as [{fieldId, direction: \\"asc\\"|\\"desc\\", attributeId?}], up to 5, applied in order"},"fieldIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field IDs to return values for, e.g. [\\"affinity-data-location\\"]. Mutually exclusive with Field Types"},"fieldTypes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Field categories to return values for: enriched, global, or relationship-intelligence. Mutually exclusive with Field IDs"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous page, returned as nextCursor or prevCursor"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to return per page, 1-100. Defaults to 100"},"totalCount":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the total size of the collection. Costs an extra query"}},"hostedApiKey":"none"},"affinity_semantic_search":{"id":"affinity_semantic_search","name":"Affinity Semantic Search","description":"Find companies from a description in plain language — industry, technology, stage, or business model. Currently searches companies only.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"prompt":{"type":"string","required":true,"visibility":"user-or-llm","description":"What to look for, in plain language, e.g. \\"climate tech companies in our pipeline\\". Up to 500 characters"},"listIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Restrict the search to companies on these lists, e.g. [1, 2]"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of companies to return, 1-100. Defaults to 100"}},"hostedApiKey":"none"},"affinity_update_entity_field_value":{"id":"affinity_update_entity_field_value","name":"Affinity Update Entity Field Value","description":"Write one non-list field value on a company or person. The value type must match how the field is defined.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"entityType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Which entity to write the field on: companies or persons"},"entityId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of that company or person"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The field ID to write"},"value":{"type":"json","required":true,"visibility":"user-or-llm","description":"The new value as {type, data}, where type matches the field\'s value type. Examples: {\\"type\\":\\"text\\",\\"data\\":\\"Series B\\"}, {\\"type\\":\\"number\\",\\"data\\":42}, {\\"type\\":\\"dropdown\\",\\"data\\":{\\"dropdownOptionId\\":7}}, {\\"type\\":\\"person\\",\\"data\\":{\\"id\\":123}}, {\\"type\\":\\"person-multi\\",\\"data\\":[{\\"id\\":123}]}. Pass data as null to clear the field"}},"hostedApiKey":"none"},"affinity_update_list_entry_field":{"id":"affinity_update_list_entry_field","name":"Affinity Update List Entry Field","description":"Write one field value on a list row. Requires the \\"Export data from Lists\\" permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"listEntryId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list entry ID"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The field ID to write"},"value":{"type":"json","required":true,"visibility":"user-or-llm","description":"The new value as {type, data}, where type matches the field\'s value type. Examples: {\\"type\\":\\"text\\",\\"data\\":\\"Series B\\"}, {\\"type\\":\\"number\\",\\"data\\":42}, {\\"type\\":\\"dropdown\\",\\"data\\":{\\"dropdownOptionId\\":7}}, {\\"type\\":\\"person\\",\\"data\\":{\\"id\\":123}}, {\\"type\\":\\"person-multi\\",\\"data\\":[{\\"id\\":123}]}. Pass data as null to clear the field"}},"hostedApiKey":"none"},"affinity_update_list_field_dropdown_option":{"id":"affinity_update_list_field_dropdown_option","name":"Affinity Update List Field Dropdown Option","description":"Change a dropdown option on a list field. Every field is optional — supply only what should change, and only fields the option\'s kind actually has.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"listId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The list ID"},"fieldId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown field ID on that list"},"dropdownOptionId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The dropdown option ID to update"},"text":{"type":"string","required":false,"visibility":"user-or-llm","description":"Replacement option label. Supply at least one field to change"},"rank":{"type":"number","required":false,"visibility":"user-or-llm","description":"Sort order. Required on a ranked-dropdown or status-dropdown option"},"color":{"type":"string","required":false,"visibility":"user-or-llm","description":"Option color: white, gray, blue, green, purple, orange, or red. Required on a ranked-dropdown or status-dropdown option"},"statusCategory":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pipeline meaning of the option: open, won, lost, or on-hold. Status-dropdown options only"},"winRate":{"type":"number","required":false,"visibility":"user-or-llm","description":"Expected win rate of the status. Status-dropdown options only"}},"hostedApiKey":"none"},"affinity_update_note":{"id":"affinity_update_note","name":"Affinity Update Note","description":"Rewrite a note\'s body or replace which records it is attached to. Each list of IDs replaces that association wholesale, an empty list clears it, and omitting one leaves it untouched. A note\'s type cannot be changed.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Affinity API key, sent as a bearer token"},"noteId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note ID to update"},"html":{"type":"string","required":false,"visibility":"user-or-llm","description":"Replacement note body as HTML"},"companyIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Replacement set of attached companies, e.g. [1, 2]. Send [] to detach every company; omit to leave them unchanged"},"personIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Replacement set of attached persons, e.g. [1, 2]. Send [] to detach every person; omit to leave them unchanged"},"opportunityIds":{"type":"json","required":false,"visibility":"user-or-llm","description":"Replacement set of attached opportunities, e.g. [1, 2]. Send [] to detach every opportunity; omit to leave them unchanged"}},"hostedApiKey":"none"},"agentmail_create_draft":{"id":"agentmail_create_draft","name":"Create Draft","description":"Create a new email draft in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to create the draft in"},"to":{"type":"string","required":false,"visibility":"user-or-llm","description":"Recipient email addresses (comma-separated)"},"subject":{"type":"string","required":false,"visibility":"user-or-llm","description":"Draft subject line"},"text":{"type":"string","required":false,"visibility":"user-or-llm","description":"Plain text draft body"},"html":{"type":"string","required":false,"visibility":"user-or-llm","description":"HTML draft body"},"cc":{"type":"string","required":false,"visibility":"user-or-llm","description":"CC recipient email addresses (comma-separated)"},"bcc":{"type":"string","required":false,"visibility":"user-or-llm","description":"BCC recipient email addresses (comma-separated)"},"inReplyTo":{"type":"string","required":false,"visibility":"user-or-llm","description":"ID of message being replied to"},"sendAt":{"type":"string","required":false,"visibility":"user-or-llm","description":"ISO 8601 timestamp to schedule sending"}},"hostedApiKey":"none"},"agentmail_create_inbox":{"id":"agentmail_create_inbox","name":"Create Inbox","description":"Create a new email inbox with AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"username":{"type":"string","required":false,"visibility":"user-or-llm","description":"Username for the inbox email address"},"domain":{"type":"string","required":false,"visibility":"user-or-llm","description":"Domain for the inbox email address"},"displayName":{"type":"string","required":false,"visibility":"user-or-llm","description":"Display name for the inbox"}},"hostedApiKey":"none"},"agentmail_delete_draft":{"id":"agentmail_delete_draft","name":"Delete Draft","description":"Delete an email draft in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the draft"},"draftId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the draft to delete"}},"hostedApiKey":"none"},"agentmail_delete_inbox":{"id":"agentmail_delete_inbox","name":"Delete Inbox","description":"Delete an email inbox in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to delete"}},"hostedApiKey":"none"},"agentmail_delete_thread":{"id":"agentmail_delete_thread","name":"Delete Thread","description":"Delete an email thread in AgentMail (moves to trash, or permanently deletes if already in trash)","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the thread"},"threadId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the thread to delete"},"permanent":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Force permanent deletion instead of moving to trash"}},"hostedApiKey":"none"},"agentmail_forward_message":{"id":"agentmail_forward_message","name":"Forward Message","description":"Forward an email message to new recipients in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the message"},"messageId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the message to forward"},"to":{"type":"string","required":true,"visibility":"user-or-llm","description":"Recipient email addresses (comma-separated)"},"subject":{"type":"string","required":false,"visibility":"user-or-llm","description":"Override subject line"},"text":{"type":"string","required":false,"visibility":"user-or-llm","description":"Additional plain text to prepend"},"html":{"type":"string","required":false,"visibility":"user-or-llm","description":"Additional HTML to prepend"},"cc":{"type":"string","required":false,"visibility":"user-or-llm","description":"CC recipient email addresses (comma-separated)"},"bcc":{"type":"string","required":false,"visibility":"user-or-llm","description":"BCC recipient email addresses (comma-separated)"}},"hostedApiKey":"none"},"agentmail_get_draft":{"id":"agentmail_get_draft","name":"Get Draft","description":"Get details of a specific email draft in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox the draft belongs to"},"draftId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the draft to retrieve"}},"hostedApiKey":"none"},"agentmail_get_inbox":{"id":"agentmail_get_inbox","name":"Get Inbox","description":"Get details of a specific email inbox in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to retrieve"}},"hostedApiKey":"none"},"agentmail_get_message":{"id":"agentmail_get_message","name":"Get Message","description":"Get details of a specific email message in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the message"},"messageId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the message to retrieve"}},"hostedApiKey":"none"},"agentmail_get_thread":{"id":"agentmail_get_thread","name":"Get Thread","description":"Get details of a specific email thread including messages in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the thread"},"threadId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the thread to retrieve"}},"hostedApiKey":"none"},"agentmail_list_drafts":{"id":"agentmail_list_drafts","name":"List Drafts","description":"List email drafts in an inbox in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to list drafts from"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of drafts to return"},"pageToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token for next page of results"}},"hostedApiKey":"none"},"agentmail_list_inboxes":{"id":"agentmail_list_inboxes","name":"List Inboxes","description":"List all email inboxes in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of inboxes to return"},"pageToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token for next page of results"}},"hostedApiKey":"none"},"agentmail_list_messages":{"id":"agentmail_list_messages","name":"List Messages","description":"List messages in an inbox in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to list messages from"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of messages to return"},"pageToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token for next page of results"}},"hostedApiKey":"none"},"agentmail_list_threads":{"id":"agentmail_list_threads","name":"List Threads","description":"List email threads in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to list threads from"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of threads to return"},"pageToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token for next page of results"},"labels":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated labels to filter threads by"},"before":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter threads before this ISO 8601 timestamp"},"after":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter threads after this ISO 8601 timestamp"}},"hostedApiKey":"none"},"agentmail_reply_message":{"id":"agentmail_reply_message","name":"Reply to Message","description":"Reply to an existing email message in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to reply from"},"messageId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the message to reply to"},"text":{"type":"string","required":false,"visibility":"user-or-llm","description":"Plain text reply body"},"html":{"type":"string","required":false,"visibility":"user-or-llm","description":"HTML reply body"},"to":{"type":"string","required":false,"visibility":"user-or-llm","description":"Override recipient email addresses (comma-separated)"},"cc":{"type":"string","required":false,"visibility":"user-or-llm","description":"CC email addresses (comma-separated)"},"bcc":{"type":"string","required":false,"visibility":"user-or-llm","description":"BCC email addresses (comma-separated)"},"replyAll":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Reply to all recipients of the original message"}},"hostedApiKey":"none"},"agentmail_send_draft":{"id":"agentmail_send_draft","name":"Send Draft","description":"Send an existing email draft in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the draft"},"draftId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the draft to send"}},"hostedApiKey":"none"},"agentmail_send_message":{"id":"agentmail_send_message","name":"Send Message","description":"Send an email message from an AgentMail inbox","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to send from"},"to":{"type":"string","required":true,"visibility":"user-or-llm","description":"Recipient email address (comma-separated for multiple)"},"subject":{"type":"string","required":true,"visibility":"user-or-llm","description":"Email subject line"},"text":{"type":"string","required":false,"visibility":"user-or-llm","description":"Plain text email body"},"html":{"type":"string","required":false,"visibility":"user-or-llm","description":"HTML email body"},"cc":{"type":"string","required":false,"visibility":"user-or-llm","description":"CC recipient email addresses (comma-separated)"},"bcc":{"type":"string","required":false,"visibility":"user-or-llm","description":"BCC recipient email addresses (comma-separated)"}},"hostedApiKey":"none"},"agentmail_update_draft":{"id":"agentmail_update_draft","name":"Update Draft","description":"Update an existing email draft in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the draft"},"draftId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the draft to update"},"to":{"type":"string","required":false,"visibility":"user-or-llm","description":"Recipient email addresses (comma-separated)"},"subject":{"type":"string","required":false,"visibility":"user-or-llm","description":"Draft subject line"},"text":{"type":"string","required":false,"visibility":"user-or-llm","description":"Plain text draft body"},"html":{"type":"string","required":false,"visibility":"user-or-llm","description":"HTML draft body"},"cc":{"type":"string","required":false,"visibility":"user-or-llm","description":"CC recipient email addresses (comma-separated)"},"bcc":{"type":"string","required":false,"visibility":"user-or-llm","description":"BCC recipient email addresses (comma-separated)"},"sendAt":{"type":"string","required":false,"visibility":"user-or-llm","description":"ISO 8601 timestamp to schedule sending"}},"hostedApiKey":"none"},"agentmail_update_inbox":{"id":"agentmail_update_inbox","name":"Update Inbox","description":"Update the display name of an email inbox in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox to update"},"displayName":{"type":"string","required":true,"visibility":"user-or-llm","description":"New display name for the inbox"}},"hostedApiKey":"none"},"agentmail_update_message":{"id":"agentmail_update_message","name":"Update Message","description":"Add or remove labels on an email message in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the message"},"messageId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the message to update"},"addLabels":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated labels to add to the message"},"removeLabels":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated labels to remove from the message"}},"hostedApiKey":"none"},"agentmail_update_thread":{"id":"agentmail_update_thread","name":"Update Thread Labels","description":"Add or remove labels on an email thread in AgentMail","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentMail API key"},"inboxId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the inbox containing the thread"},"threadId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the thread to update"},"addLabels":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated labels to add to the thread"},"removeLabels":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated labels to remove from the thread"}},"hostedApiKey":"none"},"agentphone_create_call":{"id":"agentphone_create_call","name":"Create Outbound Call","description":"Initiate an outbound voice call from an AgentPhone agent","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"agentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Agent that will handle the call"},"toNumber":{"type":"string","required":true,"visibility":"user-or-llm","description":"Phone number to call in E.164 format (e.g. +14155551234)"},"fromNumberId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Phone number ID to use as caller ID. Must belong to the agent. If omitted, the agent\'s first assigned number is used."},"initialGreeting":{"type":"string","required":false,"visibility":"user-or-llm","description":"Optional greeting spoken when the recipient answers"},"voice":{"type":"string","required":false,"visibility":"user-or-llm","description":"Voice ID override for this call (defaults to the agent\'s configured voice)"},"systemPrompt":{"type":"string","required":false,"visibility":"user-or-llm","description":"When provided, uses a built-in LLM for the conversation instead of forwarding to your webhook"}},"hostedApiKey":"none"},"agentphone_create_contact":{"id":"agentphone_create_contact","name":"Create Contact","description":"Create a new contact in AgentPhone","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"phoneNumber":{"type":"string","required":true,"visibility":"user-or-llm","description":"Phone number in E.164 format (e.g. +14155551234)"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Contact\'s full name"},"email":{"type":"string","required":false,"visibility":"user-or-llm","description":"Contact\'s email address"},"notes":{"type":"string","required":false,"visibility":"user-or-llm","description":"Freeform notes stored on the contact"}},"hostedApiKey":"none"},"agentphone_create_number":{"id":"agentphone_create_number","name":"Create Phone Number","description":"Provision a new SMS- and voice-enabled phone number","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Two-letter country code (e.g. US, CA). Defaults to US."},"areaCode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Preferred area code (US/CA only, e.g. \\"415\\"). Best-effort — may be ignored if unavailable."},"agentId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Optionally attach the number to an agent immediately"}},"hostedApiKey":"none"},"agentphone_delete_contact":{"id":"agentphone_delete_contact","name":"Delete Contact","description":"Delete a contact by ID","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"contactId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Contact ID"}},"hostedApiKey":"none"},"agentphone_get_call":{"id":"agentphone_get_call","name":"Get Call","description":"Fetch a call and its full transcript","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"callId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the call to retrieve"}},"hostedApiKey":"none"},"agentphone_get_call_transcript":{"id":"agentphone_get_call_transcript","name":"Get Call Transcript","description":"Get the full ordered transcript for a call","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"callId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the call to retrieve the transcript for"}},"hostedApiKey":"none"},"agentphone_get_contact":{"id":"agentphone_get_contact","name":"Get Contact","description":"Fetch a single contact by ID","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"contactId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Contact ID"}},"hostedApiKey":"none"},"agentphone_get_conversation":{"id":"agentphone_get_conversation","name":"Get Conversation","description":"Get a conversation along with its recent messages","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"conversationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Conversation ID"},"messageLimit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of recent messages to include (default 50, max 100)"}},"hostedApiKey":"none"},"agentphone_get_conversation_messages":{"id":"agentphone_get_conversation_messages","name":"Get Conversation Messages","description":"Get paginated messages for a conversation","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"conversationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Conversation ID"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of messages to return (default 50, max 200)"},"before":{"type":"string","required":false,"visibility":"user-or-llm","description":"Return messages received before this ISO 8601 timestamp"},"after":{"type":"string","required":false,"visibility":"user-or-llm","description":"Return messages received after this ISO 8601 timestamp"}},"hostedApiKey":"none"},"agentphone_get_number_messages":{"id":"agentphone_get_number_messages","name":"Get Phone Number Messages","description":"Fetch messages received on a specific phone number","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"numberId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the phone number"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of messages to return (default 50, max 200)"},"before":{"type":"string","required":false,"visibility":"user-or-llm","description":"Return messages received before this ISO 8601 timestamp"},"after":{"type":"string","required":false,"visibility":"user-or-llm","description":"Return messages received after this ISO 8601 timestamp"}},"hostedApiKey":"none"},"agentphone_get_usage":{"id":"agentphone_get_usage","name":"Get Usage","description":"Retrieve current usage statistics for the AgentPhone account","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"}},"hostedApiKey":"none"},"agentphone_get_usage_daily":{"id":"agentphone_get_usage_daily","name":"Get Daily Usage","description":"Get a daily breakdown of usage (messages, calls, webhooks) for the last N days","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"days":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of days to return (1-365, default 30)"}},"hostedApiKey":"none"},"agentphone_get_usage_monthly":{"id":"agentphone_get_usage_monthly","name":"Get Monthly Usage","description":"Get monthly usage aggregation (messages, calls, webhooks) for the last N months","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"months":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of months to return (1-24, default 6)"}},"hostedApiKey":"none"},"agentphone_list_calls":{"id":"agentphone_list_calls","name":"List Calls","description":"List voice calls for this AgentPhone account","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to return (default 20, max 100)"},"offset":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to skip (min 0)"},"status":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter by status (completed, in-progress, failed)"},"direction":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter by direction (inbound, outbound)"},"type":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter by call type (pstn, web)"},"search":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search by phone number (matches fromNumber or toNumber)"}},"hostedApiKey":"none"},"agentphone_list_contacts":{"id":"agentphone_list_contacts","name":"List Contacts","description":"List contacts for this AgentPhone account","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"search":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter by name or phone number (case-insensitive contains)"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to return (default 50, max 200)"},"offset":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to skip (min 0)"}},"hostedApiKey":"none"},"agentphone_list_conversations":{"id":"agentphone_list_conversations","name":"List Conversations","description":"List conversations (message threads) for this AgentPhone account","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to return (default 20, max 100)"},"offset":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to skip (min 0)"}},"hostedApiKey":"none"},"agentphone_list_numbers":{"id":"agentphone_list_numbers","name":"List Phone Numbers","description":"List all phone numbers provisioned for this AgentPhone account","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to return (default 20, max 100)"},"offset":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to skip (min 0)"}},"hostedApiKey":"none"},"agentphone_react_to_message":{"id":"agentphone_react_to_message","name":"React to Message","description":"Send an iMessage tapback reaction to a message (iMessage only)","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"messageId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the message to react to"},"reaction":{"type":"string","required":true,"visibility":"user-or-llm","description":"Reaction type: love, like, dislike, laugh, emphasize, or question"}},"hostedApiKey":"none"},"agentphone_release_number":{"id":"agentphone_release_number","name":"Release Phone Number","description":"Release (delete) a phone number. This action is irreversible.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"numberId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the phone number to release"}},"hostedApiKey":"none"},"agentphone_send_message":{"id":"agentphone_send_message","name":"Send Message","description":"Send an outbound SMS or iMessage from an AgentPhone agent","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"agentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Agent sending the message"},"toNumber":{"type":"string","required":true,"visibility":"user-or-llm","description":"Recipient phone number in E.164 format (e.g. +14155551234)"},"body":{"type":"string","required":true,"visibility":"user-or-llm","description":"Message text to send"},"mediaUrl":{"type":"string","required":false,"visibility":"user-or-llm","description":"Optional URL of an image, video, or file to attach"},"numberId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Phone number ID to send from. If omitted, the agent\'s first assigned number is used."}},"hostedApiKey":"none"},"agentphone_update_contact":{"id":"agentphone_update_contact","name":"Update Contact","description":"Update a contact\'s fields","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"contactId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Contact ID"},"phoneNumber":{"type":"string","required":false,"visibility":"user-or-llm","description":"New phone number in E.164 format"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"New contact name"},"email":{"type":"string","required":false,"visibility":"user-or-llm","description":"New email address"},"notes":{"type":"string","required":false,"visibility":"user-or-llm","description":"New freeform notes"}},"hostedApiKey":"none"},"agentphone_update_conversation":{"id":"agentphone_update_conversation","name":"Update Conversation","description":"Update conversation metadata (stored state). Pass null to clear existing metadata.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"AgentPhone API key"},"conversationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Conversation ID"},"metadata":{"type":"json","required":false,"visibility":"user-or-llm","description":"Custom key-value metadata to store on the conversation. Pass null to clear existing metadata."}},"hostedApiKey":"none"},"agiloft_async_status":{"id":"agiloft_async_status","name":"Agiloft Async Status","description":"Check whether an asynchronous Agiloft call, such as a run action button, has completed.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table the asynchronous call was made against"},"callbackId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Callback ID returned by the asynchronous call, e.g. from Run Action Button"}},"hostedApiKey":"none"},"agiloft_attach_file":{"id":"agiloft_attach_file","name":"Agiloft Attach File","description":"Attach a file to a field in an Agiloft record.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to attach the file to"},"fieldName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the attachment field"},"file":{"type":"file","required":true,"visibility":"user-or-llm","description":"File to attach"},"fileName":{"type":"string","required":false,"visibility":"user-or-llm","description":"Name to assign to the file (defaults to original file name)"},"overwrite":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Replace the contents of the field instead of adding another file to it"}},"hostedApiKey":"none"},"agiloft_attachment_info":{"id":"agiloft_attachment_info","name":"Agiloft Attachment Info","description":"Get information about file attachments on a record field.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to check attachments on"},"fieldName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the attachment field to inspect"}},"hostedApiKey":"none"},"agiloft_create_record":{"id":"agiloft_create_record","name":"Agiloft Create Record","description":"Create a new record in an Agiloft table.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\", \\"contacts.employees\\")"},"data":{"type":"string","required":true,"visibility":"user-or-llm","description":"Record field values as a JSON object (e.g., {\\"first_name\\": \\"John\\", \\"status\\": \\"Active\\"})"}},"hostedApiKey":"none"},"agiloft_delete_record":{"id":"agiloft_delete_record","name":"Agiloft Delete Record","description":"Delete a record from an Agiloft table.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\", \\"contacts.employees\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to delete"},"substituteIds":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated IDs of records that adopt the dependants of the deleted record. Read only when the delete rule is REPLACE_WITH_ANOTHER."},"deleteRule":{"type":"string","required":false,"visibility":"user-or-llm","description":"How to treat records that depend on this one: ERROR_IF_DEPENDANTS (default — fails rather than cascading), APPLY_DELETE_WHERE_POSSIBLE, DELETE_WHERE_POSSIBLE_OTHERWISE_UNLINK, APPLY_UNLINK, UNLINK_WHERE_POSSIBLE_OTHERWISE_DELETE, or REPLACE_WITH_ANOTHER"}},"hostedApiKey":"none"},"agiloft_get_choice_line_id":{"id":"agiloft_get_choice_line_id","name":"Agiloft Get Choice Line ID","description":"Resolve the internal numeric ID of a choice-list value, for use in EWSelect WHERE clauses against choice fields.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"case\\", \\"contracts\\")"},"fieldName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Choice field name (e.g., \\"priority\\", \\"status\\")"},"value":{"type":"string","required":true,"visibility":"user-or-llm","description":"Choice display value to resolve (e.g., \\"High\\", \\"Active\\")"}},"hostedApiKey":"none"},"agiloft_list_tables":{"id":"agiloft_list_tables","name":"Agiloft List Tables","description":"List the tables and fields in an Agiloft knowledge base, to discover the logical names other operations need.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":false,"visibility":"user-or-llm","description":"Logical name of a single table to describe (e.g., \\"contacts\\"). Leave empty to list every table in the knowledge base."},"includeLinkedInfo":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Include the source table and column behind each linked field"},"skipColumnsInfo":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Return table names only, omitting field details, for a much smaller response"}},"hostedApiKey":"none"},"agiloft_lock_record":{"id":"agiloft_lock_record","name":"Agiloft Lock Record","description":"Lock, unlock, or check the lock status of an Agiloft record.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to lock, unlock, or check"},"lockAction":{"type":"string","required":true,"visibility":"user-or-llm","description":"Action to perform: \\"lock\\", \\"unlock\\", or \\"check\\""},"force":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Unlock only: release a lock held by another user."}},"hostedApiKey":"none"},"agiloft_nlp_search":{"id":"agiloft_nlp_search","name":"Agiloft Natural Language Search","description":"Search Agiloft records by describing what you want in plain language, such as \\"active NDAs submitted last month\\".","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"nlpQuery":{"type":"string","required":true,"visibility":"user-or-llm","description":"The request in plain language, e.g. \\"Show me open, high-priority contracts\\". Structured field filters are not accepted — use Search Records for those."},"fields":{"type":"string","required":true,"visibility":"user-or-llm","description":"Comma-separated field names to return, e.g. \\"id, contract_title1, company_name\\""},"page":{"type":"string","required":false,"visibility":"user-or-llm","description":"Page number, starting from 0"},"limit":{"type":"string","required":false,"visibility":"user-or-llm","description":"Records per page"}},"hostedApiKey":"none"},"agiloft_read_record":{"id":"agiloft_read_record","name":"Agiloft Read Record","description":"Read a record by ID from an Agiloft table.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\", \\"contacts.employees\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to read"},"fields":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated list of field names to include in the response"}},"hostedApiKey":"none"},"agiloft_remove_attachment":{"id":"agiloft_remove_attachment","name":"Agiloft Remove Attachment","description":"Remove an attached file from a field in an Agiloft record.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record containing the attachment"},"fieldName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the attachment field"},"position":{"type":"string","required":true,"visibility":"user-or-llm","description":"Position index of the file to remove (starting from 0)"}},"hostedApiKey":"none"},"agiloft_retrieve_attachment":{"id":"agiloft_retrieve_attachment","name":"Agiloft Retrieve Attachment","description":"Download an attached file from an Agiloft record field.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record containing the attachment"},"fieldName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the attachment field"},"position":{"type":"string","required":true,"visibility":"user-or-llm","description":"Position index of the file in the field (starting from 0)"}},"hostedApiKey":"none"},"agiloft_run_action_button":{"id":"agiloft_run_action_button","name":"Agiloft Run Action Button","description":"Run an action button on an Agiloft record, such as an approval or send-for-signature step.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\", \\"case\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to run the action button on"},"actionButtonField":{"type":"string","required":true,"visibility":"user-or-llm","description":"Logical name of the field holding the action button (e.g., \\"ab_field\\")"}},"hostedApiKey":"none"},"agiloft_saved_search":{"id":"agiloft_saved_search","name":"Agiloft Saved Search","description":"List the saved searches defined for an Agiloft table.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Logical table name to list saved searches for (e.g., \\"contract\\")"}},"hostedApiKey":"none"},"agiloft_search_records":{"id":"agiloft_search_records","name":"Agiloft Search Records","description":"Search for records in an Agiloft table using a query.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name to search in (e.g., \\"contracts\\", \\"contacts.employees\\")"},"query":{"type":"string","required":false,"visibility":"user-or-llm","description":"Ad hoc EWSearch query. Combine conditions with && (and) or || (or) and quote every value — e.g. \\"summary~=\'test\'&&priority=\'High\'\\". Required unless a saved search is given."},"search":{"type":"string","required":false,"visibility":"user-or-llm","description":"Label of a saved search defined on the table (e.g., \\"C: Status is Closed\\"). Can be combined with a query to narrow it further."},"fields":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated list of field names to include in the results"},"page":{"type":"string","required":false,"visibility":"user-or-llm","description":"Page number for paginated results (starting from 0)"},"limit":{"type":"string","required":false,"visibility":"user-or-llm","description":"Maximum number of records to return per page. Agiloft treats 0 as \\"all records\\", so leave it unset or use a positive value to keep result sizes bounded."}},"hostedApiKey":"none"},"agiloft_select_records":{"id":"agiloft_select_records","name":"Agiloft Select Records","description":"Select record IDs matching a SQL WHERE clause from an Agiloft table.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\", \\"contacts.employees\\")"},"where":{"type":"string","required":true,"visibility":"user-or-llm","description":"SQL WHERE clause using database column names (e.g., \\"summary like \'%new%\'\\" or \\"assigned_person=\'John Doe\'\\"). EWSelect has no page size and returns every matching ID, so append a database limit such as \\"limit 0,200\\" to bound the result."}},"hostedApiKey":"none"},"agiloft_update_record":{"id":"agiloft_update_record","name":"Agiloft Update Record","description":"Update an existing record in an Agiloft table.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\", \\"contacts.employees\\")"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the record to update"},"data":{"type":"string","required":true,"visibility":"user-or-llm","description":"Updated field values as a JSON object (e.g., {\\"status\\": \\"Active\\", \\"priority\\": \\"High\\"})"}},"hostedApiKey":"none"},"agiloft_upsert_record":{"id":"agiloft_upsert_record","name":"Agiloft Upsert Record","description":"Create an Agiloft record, or update it when a record already matches the given fields.","version":"1.0.0","params":{"instanceUrl":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft instance URL (e.g., https://mycompany.agiloft.com)"},"knowledgeBase":{"type":"string","required":true,"visibility":"user-only","description":"Knowledge base name"},"login":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft username"},"password":{"type":"string","required":true,"visibility":"user-only","description":"Agiloft password"},"table":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table name (e.g., \\"contracts\\", \\"contacts.employees\\")"},"match":{"type":"string","required":true,"visibility":"user-or-llm","description":"Field used to find an existing record (e.g., \\"ext_id\\"). Pick something that identifies a record uniquely — if more than one record matches, Agiloft writes nothing and returns a conflict."},"async":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Queue the write instead of waiting for it. Returns a callback ID instead of a record ID; pass that to Async Status to poll the result."},"data":{"type":"string","required":true,"visibility":"user-or-llm","description":"Field values as a JSON object. On create these populate the new record; on update only the supplied fields change."}},"hostedApiKey":"none"},"ahrefs_anchors":{"id":"ahrefs_anchors","name":"Ahrefs Anchors","description":"Get the anchor text distribution for a target domain or URL\'s backlinks, showing how many links and referring domains use each anchor text.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\" or \\"https://example.com/page\\""},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match)"},"history":{"type":"string","required":false,"visibility":"user-or-llm","description":"Historical scope: \\"live\\" (currently live), \\"all_time\\" (default, includes lost backlinks), or \\"since:YYYY-MM-DD\\" (backlinks found since a date)"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_backlinks":{"id":"ahrefs_backlinks","name":"Ahrefs Backlinks","description":"Get a list of backlinks pointing to a target domain or URL. Returns details about each backlink including source URL, anchor text, and domain rating.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\" or \\"https://example.com/page\\""},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"history":{"type":"string","required":false,"visibility":"user-or-llm","description":"Historical scope: \\"live\\" (currently live backlinks), \\"all_time\\" (default, includes lost backlinks), or \\"since:YYYY-MM-DD\\" (backlinks found since a date)."},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_backlinks_stats":{"id":"ahrefs_backlinks_stats","name":"Ahrefs Backlinks Stats","description":"Get backlink and referring domain totals for a target domain or URL, both currently live and across all time.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\" or \\"https://example.com/page\\""},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"date":{"type":"string","required":false,"visibility":"user-only","description":"Date to report metrics on, in YYYY-MM-DD format (defaults to today)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_batch_analysis":{"id":"ahrefs_batch_analysis","name":"Ahrefs Batch Analysis","description":"Get bulk SEO metrics (Domain Rating, backlinks, referring domains, organic traffic, and more) for multiple domains or URLs in a single request. Useful for comparing many competitors at once.","version":"1.0.0","params":{"targets":{"type":"string","required":true,"visibility":"user-or-llm","description":"Comma-separated list of domains or URLs to analyze. Example: \\"example.com,competitor.com\\""},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode applied to every target: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match)"},"protocol":{"type":"string","required":false,"visibility":"user-or-llm","description":"Protocol applied to every target: \\"both\\" (default), \\"http\\", or \\"https\\""},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for traffic data. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"volumeMode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search volume calculation: \\"monthly\\" or \\"average\\" (default: \\"monthly\\")"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_broken_backlinks":{"id":"ahrefs_broken_backlinks","name":"Ahrefs Broken Backlinks","description":"Get a list of broken backlinks pointing to a target domain or URL. Useful for identifying link reclamation opportunities.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\" or \\"https://example.com/page\\""},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_domain_rating":{"id":"ahrefs_domain_rating","name":"Ahrefs Domain Rating","description":"Get the Domain Rating (DR) and Ahrefs Rank for a target domain. Domain Rating shows the strength of a website\'s backlink profile on a scale from 0 to 100.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain to analyze (e.g., example.com)"},"date":{"type":"string","required":false,"visibility":"user-only","description":"Date for historical data in YYYY-MM-DD format (defaults to today)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_domain_rating_history":{"id":"ahrefs_domain_rating_history","name":"Ahrefs Domain Rating History","description":"Get the historical Domain Rating (DR) trend for a target domain or URL over a date range, grouped daily, weekly, or monthly.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\""},"dateFrom":{"type":"string","required":true,"visibility":"user-only","description":"Start date of the historical period, in YYYY-MM-DD format"},"dateTo":{"type":"string","required":false,"visibility":"user-only","description":"End date of the historical period, in YYYY-MM-DD format (defaults to today)"},"historyGrouping":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval for grouping data points: \\"daily\\", \\"weekly\\", or \\"monthly\\" (default: \\"monthly\\")"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_keyword_overview":{"id":"ahrefs_keyword_overview","name":"Ahrefs Keyword Overview","description":"Get detailed metrics for a keyword including search volume, keyword difficulty, CPC, clicks, and traffic potential.","version":"1.0.0","params":{"keyword":{"type":"string","required":true,"visibility":"user-or-llm","description":"The keyword to analyze"},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for keyword data. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_keywords_history":{"id":"ahrefs_keywords_history","name":"Ahrefs Keywords History","description":"Get the historical organic keyword ranking distribution for a target domain or URL over a date range: how many keywords rank in each position bucket at each point in time.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\""},"dateFrom":{"type":"string","required":true,"visibility":"user-only","description":"Start date of the historical period, in YYYY-MM-DD format"},"dateTo":{"type":"string","required":false,"visibility":"user-only","description":"End date of the historical period, in YYYY-MM-DD format (defaults to today)"},"historyGrouping":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval for grouping data points: \\"daily\\", \\"weekly\\", or \\"monthly\\" (default: \\"monthly\\")"},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for search results. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_metrics":{"id":"ahrefs_metrics","name":"Ahrefs Metrics","description":"Get a one-call organic and paid search overview for a target domain or URL: organic traffic, organic keywords, paid traffic, paid keywords, and estimated traffic cost.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\""},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for traffic data. Example: \\"us\\", \\"gb\\", \\"de\\""},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"date":{"type":"string","required":false,"visibility":"user-only","description":"Date to report metrics on, in YYYY-MM-DD format (defaults to today)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_metrics_history":{"id":"ahrefs_metrics_history","name":"Ahrefs Metrics History","description":"Get the historical organic and paid traffic trend for a target domain or URL over a date range: organic traffic/cost and paid traffic/cost at each point in time.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\""},"dateFrom":{"type":"string","required":true,"visibility":"user-only","description":"Start date of the historical period, in YYYY-MM-DD format"},"dateTo":{"type":"string","required":false,"visibility":"user-only","description":"End date of the historical period, in YYYY-MM-DD format (defaults to today)"},"volumeMode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search volume calculation: \\"monthly\\" or \\"average\\" (default: \\"monthly\\")"},"historyGrouping":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval for grouping data points: \\"daily\\", \\"weekly\\", or \\"monthly\\" (default: \\"monthly\\")"},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for traffic data. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_organic_competitors":{"id":"ahrefs_organic_competitors","name":"Ahrefs Organic Competitors","description":"Get domains that compete with a target domain or URL for the same organic keywords, ranked by keyword overlap.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\""},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for search results. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"date":{"type":"string","required":false,"visibility":"user-only","description":"Date to report metrics on, in YYYY-MM-DD format (defaults to today)"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_organic_keywords":{"id":"ahrefs_organic_keywords","name":"Ahrefs Organic Keywords","description":"Get organic keywords that a target domain or URL ranks for in Google search results. Returns keyword details including search volume, ranking position, and estimated traffic.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\" or \\"https://example.com/page\\""},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for search results. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"date":{"type":"string","required":false,"visibility":"user-only","description":"Date to report metrics on, in YYYY-MM-DD format (defaults to today)"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_paid_pages":{"id":"ahrefs_paid_pages","name":"Ahrefs Paid Pages","description":"Get a target domain\'s pages that receive paid search traffic, sorted by estimated paid traffic. Returns page URLs with their paid traffic, keyword counts, and estimated spend.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\""},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for traffic data. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match)"},"date":{"type":"string","required":false,"visibility":"user-only","description":"Date to report metrics on, in YYYY-MM-DD format (defaults to today)"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_rank_tracker_competitors_overview":{"id":"ahrefs_rank_tracker_competitors_overview","name":"Ahrefs Rank Tracker Competitors Overview","description":"Get competitor rankings for the keywords tracked in an Ahrefs Rank Tracker project: each tracked keyword\'s volume and difficulty alongside every competitor\'s position, traffic, and traffic value. This endpoint is free and does not consume API units.","version":"1.0.0","params":{"projectId":{"type":"number","required":true,"visibility":"user-or-llm","description":"The Rank Tracker project ID (found in the project URL in Ahrefs)"},"date":{"type":"string","required":true,"visibility":"user-only","description":"Date to report rankings for, in YYYY-MM-DD format"},"device":{"type":"string","required":true,"visibility":"user-or-llm","description":"Rankings device type: \\"desktop\\" or \\"mobile\\""},"dateCompared":{"type":"string","required":false,"visibility":"user-only","description":"Comparison date in YYYY-MM-DD format, to compute position/traffic deltas"},"volumeMode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search volume calculation: \\"monthly\\" or \\"average\\" (default: \\"monthly\\")"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_rank_tracker_competitors_stats":{"id":"ahrefs_rank_tracker_competitors_stats","name":"Ahrefs Rank Tracker Competitors Stats","description":"Get aggregate competitor stats for an Ahrefs Rank Tracker project: each competitor\'s traffic, traffic value, average position, and share of voice across all tracked keywords. This endpoint is free and does not consume API units.","version":"1.0.0","params":{"projectId":{"type":"number","required":true,"visibility":"user-or-llm","description":"The Rank Tracker project ID (found in the project URL in Ahrefs)"},"date":{"type":"string","required":true,"visibility":"user-only","description":"Date to report metrics for, in YYYY-MM-DD format"},"device":{"type":"string","required":true,"visibility":"user-or-llm","description":"Rankings device type: \\"desktop\\" or \\"mobile\\""},"volumeMode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search volume calculation: \\"monthly\\" or \\"average\\" (default: \\"monthly\\")"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_rank_tracker_overview":{"id":"ahrefs_rank_tracker_overview","name":"Ahrefs Rank Tracker Overview","description":"Get ranking overview metrics for the keywords tracked in an Ahrefs Rank Tracker project: position, search volume, keyword difficulty, and estimated traffic. This endpoint is free and does not consume API units.","version":"1.0.0","params":{"projectId":{"type":"number","required":true,"visibility":"user-or-llm","description":"The Rank Tracker project ID (found in the project URL in Ahrefs)"},"date":{"type":"string","required":true,"visibility":"user-only","description":"Date to report rankings for, in YYYY-MM-DD format"},"device":{"type":"string","required":true,"visibility":"user-or-llm","description":"Rankings device type: \\"desktop\\" or \\"mobile\\""},"dateCompared":{"type":"string","required":false,"visibility":"user-only","description":"Comparison date in YYYY-MM-DD format, to compute position/traffic deltas"},"volumeMode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search volume calculation: \\"monthly\\" or \\"average\\" (default: \\"monthly\\")"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_rank_tracker_serp_overview":{"id":"ahrefs_rank_tracker_serp_overview","name":"Ahrefs Rank Tracker SERP Overview","description":"Get the full SERP (search engine results page) for a keyword tracked in an Ahrefs Rank Tracker project, including every ranking URL with its position, title, and authority metrics. This endpoint is free and does not consume API units.","version":"1.0.0","params":{"projectId":{"type":"number","required":true,"visibility":"user-or-llm","description":"The Rank Tracker project ID (found in the project URL in Ahrefs)"},"keyword":{"type":"string","required":true,"visibility":"user-or-llm","description":"The tracked keyword to retrieve SERP data for"},"country":{"type":"string","required":true,"visibility":"user-or-llm","description":"Country code for the tracked keyword. Example: \\"us\\", \\"gb\\", \\"de\\""},"device":{"type":"string","required":true,"visibility":"user-or-llm","description":"Rankings device type: \\"desktop\\" or \\"mobile\\""},"topPositions":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of top organic positions to return (defaults to all available)"},"date":{"type":"string","required":false,"visibility":"user-only","description":"Timestamp to return the last available SERP Overview at, in YYYY-MM-DDThh:mm:ss format"},"locationId":{"type":"number","required":false,"visibility":"user-or-llm","description":"Location ID of the tracked keyword, if tracked at a specific location"},"languageCode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Language code of the tracked keyword"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_refdomains_history":{"id":"ahrefs_refdomains_history","name":"Ahrefs Referring Domains History","description":"Get the historical referring domains trend for a target domain or URL over a date range, grouped daily, weekly, or monthly.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\""},"dateFrom":{"type":"string","required":true,"visibility":"user-only","description":"Start date of the historical period, in YYYY-MM-DD format"},"dateTo":{"type":"string","required":false,"visibility":"user-only","description":"End date of the historical period, in YYYY-MM-DD format (defaults to today)"},"historyGrouping":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval for grouping data points: \\"daily\\", \\"weekly\\", or \\"monthly\\" (default: \\"monthly\\")"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_referring_domains":{"id":"ahrefs_referring_domains","name":"Ahrefs Referring Domains","description":"Get a list of domains that link to a target domain or URL. Returns unique referring domains with their domain rating, backlink counts, and discovery dates.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain or URL to analyze. Example: \\"example.com\\" or \\"https://example.com/page\\""},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"history":{"type":"string","required":false,"visibility":"user-or-llm","description":"Historical scope: \\"live\\" (currently live), \\"all_time\\" (default, includes lost domains), or \\"since:YYYY-MM-DD\\" (domains found since a date)."},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_related_terms":{"id":"ahrefs_related_terms","name":"Ahrefs Related Terms","description":"Get keyword ideas related to a seed keyword: terms the same top-ranking pages also rank for (\\"also rank for\\") or also discuss (\\"also talk about\\"), with volume, difficulty, and CPC.","version":"1.0.0","params":{"keyword":{"type":"string","required":true,"visibility":"user-or-llm","description":"The seed keyword to find related terms for"},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for keyword data. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"terms":{"type":"string","required":false,"visibility":"user-or-llm","description":"Type of related keywords to return: \\"also_rank_for\\", \\"also_talk_about\\", or \\"all\\" (default: \\"all\\")"},"viewFor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Whether to derive related terms from the top 10 or top 100 ranking pages (default: \\"top_10\\")"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_site_audit_page_explorer":{"id":"ahrefs_site_audit_page_explorer","name":"Ahrefs Site Audit Page Explorer","description":"Get crawled pages from an Ahrefs Site Audit project with health and SEO metrics: HTTP status, title, link counts, backlinks, indexability, and traffic. Optionally filter to pages affected by a specific issue.","version":"1.0.0","params":{"projectId":{"type":"number","required":true,"visibility":"user-or-llm","description":"The Site Audit project ID (found in the project URL in Ahrefs)"},"date":{"type":"string","required":false,"visibility":"user-only","description":"Crawl date in YYYY-MM-DDThh:mm:ss format (defaults to the most recent crawl)"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"offset":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of results to skip, for pagination"},"issueId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Only return pages affected by this issue ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"ahrefs_top_pages":{"id":"ahrefs_top_pages","name":"Ahrefs Top Pages","description":"Get the top pages of a target domain sorted by organic traffic. Returns page URLs with their traffic, keyword counts, and estimated traffic value.","version":"1.0.0","params":{"target":{"type":"string","required":true,"visibility":"user-or-llm","description":"The target domain to analyze. Example: \\"example.com\\""},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Country code for traffic data. Example: \\"us\\", \\"gb\\", \\"de\\" (default: \\"us\\")"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Analysis mode: domain (entire domain), prefix (URL prefix), subdomains (include all subdomains, default), exact (exact URL match). Example: \\"domain\\""},"date":{"type":"string","required":false,"visibility":"user-only","description":"Date to report metrics on, in YYYY-MM-DD format (defaults to today)"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of results to return. Example: 50 (default: 1000)"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ahrefs API Key"}},"hostedApiKey":"none"},"airtable_create_records":{"id":"airtable_create_records","name":"Airtable Create Records","description":"Write new records to an Airtable table","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"},"tableId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table ID (starts with \\"tbl\\") or table name"},"records":{"type":"json","required":true,"visibility":"user-or-llm","description":"Array of records to create, each with a `fields` object"},"typecast":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"When true, Airtable automatically converts string values to the field type"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_delete_records":{"id":"airtable_delete_records","name":"Airtable Delete Records","description":"Delete one or more records from an Airtable table by ID","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"},"tableId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table ID (starts with \\"tbl\\") or table name"},"recordIds":{"type":"json","required":true,"visibility":"user-or-llm","description":"Array of record IDs to delete (each starts with \\"rec\\", e.g., [\\"recXXXXXXXXXXXXXX\\"]). Pass a single-element array to delete one record."}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_get_base_schema":{"id":"airtable_get_base_schema","name":"Airtable Get Base Schema","description":"Get the schema of all tables, fields, and views in an Airtable base","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_get_record":{"id":"airtable_get_record","name":"Airtable Get Record","description":"Retrieve a single record from an Airtable table by its ID","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"},"tableId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table ID (starts with \\"tbl\\") or table name"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Record ID to retrieve (starts with \\"rec\\", e.g., \\"recXXXXXXXXXXXXXX\\")"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_list_bases":{"id":"airtable_list_bases","name":"Airtable List Bases","description":"List all bases the authenticated user has access to","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"offset":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination offset for retrieving additional bases"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_list_records":{"id":"airtable_list_records","name":"Airtable List Records","description":"Read records from an Airtable table","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"},"tableId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table ID (starts with \\"tbl\\") or table name"},"maxRecords":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of records to return (default: all records)"},"filterFormula":{"type":"string","required":false,"visibility":"user-or-llm","description":"Formula to filter records (e.g., \\"({Field Name} = \'Value\')\\")"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_list_tables":{"id":"airtable_list_tables","name":"Airtable List Tables","description":"List all tables and their schema in an Airtable base","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_update_multiple_records":{"id":"airtable_update_multiple_records","name":"Airtable Update Multiple Records","description":"Update multiple existing records in an Airtable table","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"},"tableId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table ID (starts with \\"tbl\\") or table name"},"records":{"type":"json","required":true,"visibility":"user-or-llm","description":"Array of records to update, each with an `id` and a `fields` object"},"typecast":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"When true, Airtable automatically converts string values to the field type"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_update_record":{"id":"airtable_update_record","name":"Airtable Update Record","description":"Update an existing record in an Airtable table by ID","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"},"tableId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table ID (starts with \\"tbl\\") or table name"},"recordId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Record ID to update (starts with \\"rec\\", e.g., \\"recXXXXXXXXXXXXXX\\")"},"fields":{"type":"json","required":true,"visibility":"user-or-llm","description":"An object containing the field names and their new values"},"typecast":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"When true, Airtable automatically converts string values to the field type"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airtable_upsert_records":{"id":"airtable_upsert_records","name":"Airtable Upsert Records","description":"Update existing records or create new ones in an Airtable table, matching on the specified merge fields","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token"},"baseId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Airtable base ID (starts with \\"app\\", e.g., \\"appXXXXXXXXXXXXXX\\")"},"tableId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Table ID (starts with \\"tbl\\") or table name"},"records":{"type":"json","required":true,"visibility":"user-or-llm","description":"Array of records to upsert, each with a `fields` object"},"fieldsToMergeOn":{"type":"json","required":true,"visibility":"user-or-llm","description":"Array of field names used to match existing records (max 3). A record is updated when all merge fields match, otherwise it is created. Example: [\\"Name\\"]"},"typecast":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"When true, Airtable automatically converts string values to the field type"}},"oauth":{"required":true,"provider":"airtable"},"hostedApiKey":"none"},"airweave_search":{"id":"airweave_search","name":"Airweave Search","description":"Search your synced data collections using Airweave. Supports semantic search with hybrid, neural, or keyword retrieval strategies. Optionally generate AI-powered answers from search results.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Airweave API Key for authentication"},"collectionId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The readable ID of the collection to search"},"query":{"type":"string","required":true,"visibility":"user-or-llm","description":"The search query text"},"limit":{"type":"number","required":false,"visibility":"user-only","description":"Maximum number of results to return (default: 100)"},"retrievalStrategy":{"type":"string","required":false,"visibility":"user-or-llm","description":"Retrieval strategy: hybrid (default), neural, or keyword"},"expandQuery":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Generate query variations to improve recall"},"rerank":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Reorder results for improved relevance using LLM"},"generateAnswer":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Generate a natural-language answer to the query"}},"hostedApiKey":"none"},"algolia_add_record":{"id":"algolia_add_record","name":"Algolia Add Record","description":"Add or replace a record in an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"},"objectID":{"type":"string","required":false,"visibility":"user-or-llm","description":"Object ID for the record (auto-generated if not provided)"},"record":{"type":"json","required":true,"visibility":"user-or-llm","description":"JSON object representing the record to add"}},"hostedApiKey":"none"},"algolia_batch_operations":{"id":"algolia_batch_operations","name":"Algolia Batch Operations","description":"Perform batch add, update, partial update, or delete operations on records in an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"},"requests":{"type":"json","required":true,"visibility":"user-or-llm","description":"Array of batch operations. Each item has \\"action\\" (addObject, updateObject, partialUpdateObject, partialUpdateObjectNoCreate, deleteObject, delete, clear) and \\"body\\" (the record data; must include objectID for update/delete; use an empty object {} for the index-level delete/clear actions)"}},"hostedApiKey":"none"},"algolia_browse_records":{"id":"algolia_browse_records","name":"Algolia Browse Records","description":"Browse and iterate over all records in an Algolia index using cursor pagination","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia API Key (must have browse ACL)"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index to browse"},"query":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search query to filter browsed records"},"filters":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter string to narrow down results"},"attributesToRetrieve":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated list of attributes to retrieve"},"hitsPerPage":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of hits per page (default: 1000, max: 1000)"},"cursor":{"type":"string","required":false,"visibility":"user-or-llm","description":"Cursor from a previous browse response for pagination"},"aroundLatLng":{"type":"string","required":false,"visibility":"user-or-llm","description":"Coordinates for geo-search (e.g., \\"40.71,-74.01\\")"},"aroundRadius":{"type":"string","required":false,"visibility":"user-or-llm","description":"Maximum radius in meters for geo-search, or \\"all\\" for unlimited"},"insideBoundingBox":{"type":"json","required":false,"visibility":"user-or-llm","description":"Bounding box coordinates as [[lat1, lng1, lat2, lng2]] for geo-search"},"insidePolygon":{"type":"json","required":false,"visibility":"user-or-llm","description":"Polygon coordinates as [[lat1, lng1, lat2, lng2, lat3, lng3, ...]] for geo-search"}},"hostedApiKey":"none"},"algolia_clear_records":{"id":"algolia_clear_records","name":"Algolia Clear Records","description":"Clear all records from an Algolia index while keeping settings, synonyms, and rules","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key (must have deleteIndex ACL)"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index to clear"}},"hostedApiKey":"none"},"algolia_copy_move_index":{"id":"algolia_copy_move_index","name":"Algolia Copy/Move Index","description":"Copy or move an Algolia index to a new destination","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the source index"},"operation":{"type":"string","required":true,"visibility":"user-or-llm","description":"Operation to perform: \\"copy\\" or \\"move\\""},"destination":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the destination index"},"scope":{"type":"json","required":false,"visibility":"user-or-llm","description":"Array of scopes to copy (only for \\"copy\\" operation): [\\"settings\\", \\"synonyms\\", \\"rules\\"]. Omit to copy everything including records."}},"hostedApiKey":"none"},"algolia_delete_by_filter":{"id":"algolia_delete_by_filter","name":"Algolia Delete By Filter","description":"Delete all records matching a filter from an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key (must have deleteIndex ACL)"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"},"filters":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter expression to match records for deletion (e.g., \\"category:outdated\\")"},"facetFilters":{"type":"json","required":false,"visibility":"user-or-llm","description":"Array of facet filters (e.g., [\\"brand:Acme\\"])"},"numericFilters":{"type":"json","required":false,"visibility":"user-or-llm","description":"Array of numeric filters (e.g., [\\"price > 100\\"])"},"tagFilters":{"type":"json","required":false,"visibility":"user-or-llm","description":"Array of tag filters using the _tags attribute (e.g., [\\"published\\"])"},"aroundLatLng":{"type":"string","required":false,"visibility":"user-or-llm","description":"Coordinates for geo-search filter (e.g., \\"40.71,-74.01\\")"},"aroundRadius":{"type":"string","required":false,"visibility":"user-or-llm","description":"Maximum radius in meters for geo-search, or \\"all\\" for unlimited"},"insideBoundingBox":{"type":"json","required":false,"visibility":"user-or-llm","description":"Bounding box coordinates as [[lat1, lng1, lat2, lng2]] for geo-search filter"},"insidePolygon":{"type":"json","required":false,"visibility":"user-or-llm","description":"Polygon coordinates as [[lat1, lng1, lat2, lng2, lat3, lng3, ...]] for geo-search filter"}},"hostedApiKey":"none"},"algolia_delete_index":{"id":"algolia_delete_index","name":"Algolia Delete Index","description":"Delete an entire Algolia index and all its records","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key (must have deleteIndex ACL)"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index to delete"}},"hostedApiKey":"none"},"algolia_delete_record":{"id":"algolia_delete_record","name":"Algolia Delete Record","description":"Delete a record by objectID from an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"},"objectID":{"type":"string","required":true,"visibility":"user-or-llm","description":"The objectID of the record to delete"}},"hostedApiKey":"none"},"algolia_get_record":{"id":"algolia_get_record","name":"Algolia Get Record","description":"Get a record by objectID from an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"},"objectID":{"type":"string","required":true,"visibility":"user-or-llm","description":"The objectID of the record to retrieve"},"attributesToRetrieve":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated list of attributes to retrieve"}},"hostedApiKey":"none"},"algolia_get_records":{"id":"algolia_get_records","name":"Algolia Get Records","description":"Retrieve multiple records by objectID from one or more Algolia indices","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Default index name for all requests"},"requests":{"type":"json","required":true,"visibility":"user-or-llm","description":"Array of objects specifying records to retrieve. Each must have \\"objectID\\" and optionally \\"indexName\\" and \\"attributesToRetrieve\\"."}},"hostedApiKey":"none"},"algolia_get_settings":{"id":"algolia_get_settings","name":"Algolia Get Settings","description":"Retrieve the settings of an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"}},"hostedApiKey":"none"},"algolia_get_task_status":{"id":"algolia_get_task_status","name":"Algolia Get Task Status","description":"Check whether an Algolia indexing task has finished publishing","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index the task ran against"},"taskID":{"type":"number","required":true,"visibility":"user-or-llm","description":"The taskID returned by a previous write operation"}},"hostedApiKey":"none"},"algolia_list_indices":{"id":"algolia_list_indices","name":"Algolia List Indices","description":"List all indices in an Algolia application","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia API Key"},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for paginating indices (default: not paginated)"},"hitsPerPage":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of indices per page (default: 100)"}},"hostedApiKey":"none"},"algolia_partial_update_record":{"id":"algolia_partial_update_record","name":"Algolia Partial Update Record","description":"Partially update a record in an Algolia index without replacing it entirely","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"},"objectID":{"type":"string","required":true,"visibility":"user-or-llm","description":"The objectID of the record to update"},"attributes":{"type":"json","required":true,"visibility":"user-or-llm","description":"JSON object with attributes to update. Supports built-in operations like {\\"stock\\": {\\"_operation\\": \\"Decrement\\", \\"value\\": 1}}"},"createIfNotExists":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Whether to create the record if it does not exist (default: true)"}},"hostedApiKey":"none"},"algolia_search":{"id":"algolia_search","name":"Algolia Search","description":"Search an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia API Key"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index to search"},"query":{"type":"string","required":true,"visibility":"user-or-llm","description":"Search query text"},"hitsPerPage":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of hits per page (default: 20)"},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number to retrieve (default: 0)"},"filters":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter string (e.g., \\"category:electronics AND price < 100\\")"},"attributesToRetrieve":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated list of attributes to retrieve"},"facets":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated list of facet attribute names to retrieve counts for (use \\"*\\" for all)"},"getRankingInfo":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Whether to include detailed ranking information in each hit"},"aroundLatLng":{"type":"string","required":false,"visibility":"user-or-llm","description":"Coordinates for geo-search (e.g., \\"40.71,-74.01\\")"},"aroundRadius":{"type":"string","required":false,"visibility":"user-or-llm","description":"Maximum radius in meters for geo-search, or \\"all\\" for unlimited"},"insideBoundingBox":{"type":"json","required":false,"visibility":"user-or-llm","description":"Bounding box coordinates as [[lat1, lng1, lat2, lng2]] for geo-search"},"insidePolygon":{"type":"json","required":false,"visibility":"user-or-llm","description":"Polygon coordinates as [[lat1, lng1, lat2, lng2, lat3, lng3, ...]] for geo-search"}},"hostedApiKey":"none"},"algolia_update_settings":{"id":"algolia_update_settings","name":"Algolia Update Settings","description":"Update the settings of an Algolia index","version":"1.0","params":{"applicationId":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Application ID"},"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Algolia Admin API Key (must have editSettings ACL)"},"indexName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the Algolia index"},"settings":{"type":"json","required":true,"visibility":"user-or-llm","description":"JSON object with settings to update (e.g., {\\"searchableAttributes\\": [\\"name\\", \\"description\\"], \\"customRanking\\": [\\"desc(popularity)\\"]})"},"forwardToReplicas":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Whether to apply changes to replica indices (default: false)"}},"hostedApiKey":"none"},"amplitude_event_segmentation":{"id":"amplitude_event_segmentation","name":"Amplitude Event Segmentation","description":"Query event analytics data with segmentation. Get event counts, uniques, averages, and more.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"eventType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Event type name to analyze"},"start":{"type":"string","required":true,"visibility":"user-or-llm","description":"Start date in YYYYMMDD format"},"end":{"type":"string","required":true,"visibility":"user-or-llm","description":"End date in YYYYMMDD format"},"metric":{"type":"string","required":false,"visibility":"user-or-llm","description":"Metric type: uniques, totals, pct_dau, average, histogram, sums, value_avg, or formula (default: uniques)"},"interval":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval: 1 (daily), 7 (weekly), or 30 (monthly)"},"groupBy":{"type":"string","required":false,"visibility":"user-or-llm","description":"Property name to group by (prefix custom user properties with \\"gp:\\")"},"groupBy2":{"type":"string","required":false,"visibility":"user-or-llm","description":"Second property name to group by (prefix custom user properties with \\"gp:\\")"},"limit":{"type":"string","required":false,"visibility":"user-or-llm","description":"Maximum number of group-by values (max 1000)"},"filters":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON array of filter objects applied to the event, e.g. [{\\"subprop_type\\":\\"event\\",\\"subprop_key\\":\\"city\\",\\"subprop_op\\":\\"is\\",\\"subprop_value\\":[\\"San Francisco\\"]}]"},"formula":{"type":"string","required":false,"visibility":"user-or-llm","description":"Required when metric is \\"formula\\", e.g. \\"UNIQUES(A)/UNIQUES(B)\\""},"segment":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON segment definition(s) applied to the query"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_funnels":{"id":"amplitude_funnels","name":"Amplitude Funnels","description":"Analyze conversion rates and drop-off between a sequence of events.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"events":{"type":"string","required":true,"visibility":"user-or-llm","description":"JSON array of event objects, one per funnel step in order, e.g. [{\\"event_type\\":\\"signup\\"},{\\"event_type\\":\\"purchase\\"}]"},"start":{"type":"string","required":true,"visibility":"user-or-llm","description":"Start date in YYYYMMDD format"},"end":{"type":"string","required":true,"visibility":"user-or-llm","description":"End date in YYYYMMDD format"},"mode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Funnel ordering: \\"ordered\\", \\"unordered\\", or \\"sequential\\" (default: ordered)"},"userType":{"type":"string","required":false,"visibility":"user-or-llm","description":"User type: \\"new\\" or \\"active\\" (default: active)"},"interval":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval: -300000 (real-time), -3600000 (hourly), 1 (daily), 7 (weekly), or 30 (monthly)"},"conversionWindowSeconds":{"type":"string","required":false,"visibility":"user-or-llm","description":"Conversion window in seconds (default: 2592000, i.e. 30 days)"},"groupBy":{"type":"string","required":false,"visibility":"user-or-llm","description":"Property to group by (limit: one; prefix custom properties with \\"gp:\\")"},"limit":{"type":"string","required":false,"visibility":"user-or-llm","description":"Maximum number of group-by values (default: 100, max: 1000)"},"segment":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON segment definition(s) applied to the query"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_get_active_users":{"id":"amplitude_get_active_users","name":"Amplitude Get Active Users","description":"Get active or new user counts over a date range from the Dashboard REST API.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"start":{"type":"string","required":true,"visibility":"user-or-llm","description":"Start date in YYYYMMDD format"},"end":{"type":"string","required":true,"visibility":"user-or-llm","description":"End date in YYYYMMDD format"},"metric":{"type":"string","required":false,"visibility":"user-or-llm","description":"Metric type: \\"active\\" or \\"new\\" (default: active)"},"interval":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval: 1 (daily), 7 (weekly), or 30 (monthly)"},"groupBy":{"type":"string","required":false,"visibility":"user-or-llm","description":"Property name to group by"},"segment":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON segment definition(s) applied to the query"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_get_revenue":{"id":"amplitude_get_revenue","name":"Amplitude Get Revenue","description":"Get revenue LTV data including ARPU, ARPPU, total revenue, and paying user counts.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"start":{"type":"string","required":true,"visibility":"user-or-llm","description":"Start date in YYYYMMDD format"},"end":{"type":"string","required":true,"visibility":"user-or-llm","description":"End date in YYYYMMDD format"},"metric":{"type":"string","required":false,"visibility":"user-or-llm","description":"Metric: 0 (ARPU), 1 (ARPPU), 2 (Total Revenue), 3 (Paying Users)"},"interval":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval: 1 (daily), 7 (weekly), or 30 (monthly)"},"groupBy":{"type":"string","required":false,"visibility":"user-or-llm","description":"Property name to group by (limit: one)"},"segment":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON segment definition(s) applied to the query"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_group_identify":{"id":"amplitude_group_identify","name":"Amplitude Group Identify","description":"Set group-level properties in Amplitude. Supports $set, $setOnce, $add, $append, $unset operations.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"groupType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Group classification (e.g., \\"company\\", \\"org_id\\")"},"groupValue":{"type":"string","required":true,"visibility":"user-or-llm","description":"Specific group identifier (e.g., \\"Acme Corp\\")"},"groupProperties":{"type":"string","required":true,"visibility":"user-or-llm","description":"JSON object of group properties. Use operations like $set, $setOnce, $add, $append, $unset."},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_identify_user":{"id":"amplitude_identify_user","name":"Amplitude Identify User","description":"Set user properties in Amplitude using the Identify API. Supports $set, $setOnce, $add, $append, $unset operations.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"userId":{"type":"string","required":false,"visibility":"user-or-llm","description":"User ID (required if no device_id)"},"deviceId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Device ID (required if no user_id)"},"userProperties":{"type":"string","required":true,"visibility":"user-or-llm","description":"JSON object of user properties. Use operations like $set, $setOnce, $add, $append, $unset."},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_list_events":{"id":"amplitude_list_events","name":"Amplitude List Events","description":"List all event types in the Amplitude project with their weekly totals and unique counts.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_realtime_active_users":{"id":"amplitude_realtime_active_users","name":"Amplitude Real-time Active Users","description":"Get real-time active user counts at 5-minute granularity for the last 2 days.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_retention":{"id":"amplitude_retention","name":"Amplitude Retention","description":"Measure how many users return to perform an action after a starting action.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"startEvent":{"type":"string","required":true,"visibility":"user-or-llm","description":"JSON starting event object, e.g. {\\"event_type\\":\\"_new\\"} or {\\"event_type\\":\\"_active\\"}"},"returnEvent":{"type":"string","required":true,"visibility":"user-or-llm","description":"JSON returning event object, e.g. {\\"event_type\\":\\"_all\\"} or {\\"event_type\\":\\"_active\\"}"},"start":{"type":"string","required":true,"visibility":"user-or-llm","description":"Start date in YYYYMMDD format"},"end":{"type":"string","required":true,"visibility":"user-or-llm","description":"End date in YYYYMMDD format"},"retentionMode":{"type":"string","required":false,"visibility":"user-or-llm","description":"Retention type: \\"bracket\\", \\"rolling\\", or \\"n-day\\" (default: n-day)"},"retentionBrackets":{"type":"string","required":false,"visibility":"user-or-llm","description":"Required when Retention Mode is \\"bracket\\". Day ranges, e.g. [[0,4]]"},"interval":{"type":"string","required":false,"visibility":"user-or-llm","description":"Time interval: 1 (daily), 7 (weekly), or 30 (monthly)"},"groupBy":{"type":"string","required":false,"visibility":"user-or-llm","description":"Property to group by (limit: one; prefix custom properties with \\"gp:\\")"},"segment":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON segment definition(s) applied to the query"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_send_event":{"id":"amplitude_send_event","name":"Amplitude Send Event","description":"Track an event in Amplitude using the HTTP V2 API.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"userId":{"type":"string","required":false,"visibility":"user-or-llm","description":"User ID (required if no device_id)"},"deviceId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Device ID (required if no user_id)"},"eventType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the event (e.g., \\"page_view\\", \\"purchase\\")"},"eventProperties":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON object of custom event properties"},"userProperties":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON object of user properties to set (supports $set, $setOnce, $add, $append, $unset)"},"time":{"type":"string","required":false,"visibility":"user-or-llm","description":"Event timestamp in milliseconds since epoch"},"sessionId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Session start time in milliseconds since epoch"},"insertId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Unique ID for deduplication (within 7-day window)"},"appVersion":{"type":"string","required":false,"visibility":"user-or-llm","description":"Application version string"},"platform":{"type":"string","required":false,"visibility":"user-or-llm","description":"Platform (e.g., \\"Web\\", \\"iOS\\", \\"Android\\")"},"country":{"type":"string","required":false,"visibility":"user-or-llm","description":"Two-letter country code"},"language":{"type":"string","required":false,"visibility":"user-or-llm","description":"Language code (e.g., \\"en\\")"},"ip":{"type":"string","required":false,"visibility":"user-or-llm","description":"IP address for geo-location"},"price":{"type":"string","required":false,"visibility":"user-or-llm","description":"Price of the item purchased"},"quantity":{"type":"string","required":false,"visibility":"user-or-llm","description":"Quantity of items purchased"},"revenue":{"type":"string","required":false,"visibility":"user-or-llm","description":"Revenue amount"},"productId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Product identifier"},"revenueType":{"type":"string","required":false,"visibility":"user-or-llm","description":"Revenue type (e.g., \\"purchase\\", \\"refund\\")"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_user_activity":{"id":"amplitude_user_activity","name":"Amplitude User Activity","description":"Get the event stream for a specific user by their Amplitude ID.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"amplitudeId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Amplitude internal user ID"},"offset":{"type":"string","required":false,"visibility":"user-or-llm","description":"Offset for pagination (default 0)"},"limit":{"type":"string","required":false,"visibility":"user-or-llm","description":"Maximum number of events to return (default 1000, max 1000)"},"direction":{"type":"string","required":false,"visibility":"user-or-llm","description":"Sort direction: \\"latest\\" or \\"earliest\\" (default: latest)"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"amplitude_user_profile":{"id":"amplitude_user_profile","name":"Amplitude User Profile","description":"Get a user profile including properties, cohort memberships, and computed properties. Not available for EU data-residency projects.","version":"1.0.0","params":{"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"userId":{"type":"string","required":false,"visibility":"user-or-llm","description":"External user ID (required if no device_id)"},"deviceId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Device ID (required if no user_id)"},"getAmpProps":{"type":"string","required":false,"visibility":"user-or-llm","description":"Include Amplitude user properties (true/false, default: false)"},"getCohortIds":{"type":"string","required":false,"visibility":"user-or-llm","description":"Include cohort IDs the user belongs to (true/false, default: false)"},"getComputations":{"type":"string","required":false,"visibility":"user-or-llm","description":"Include computed user properties (true/false, default: false)"}},"hostedApiKey":"none"},"amplitude_user_search":{"id":"amplitude_user_search","name":"Amplitude User Search","description":"Search for a user by User ID, Device ID, or Amplitude ID using the Dashboard REST API.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude API Key"},"secretKey":{"type":"string","required":true,"visibility":"user-only","description":"Amplitude Secret Key"},"user":{"type":"string","required":true,"visibility":"user-or-llm","description":"User ID, Device ID, or Amplitude ID to search for"},"dataResidency":{"type":"string","required":false,"visibility":"user-or-llm","description":"Data residency region: \\"us\\" (default) or \\"eu\\""}},"hostedApiKey":"none"},"apify_get_dataset_items":{"id":"apify_get_dataset_items","name":"APIFY Get Dataset Items","description":"Retrieve items stored in an APIFY dataset","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"APIFY API token from console.apify.com/account#/integrations"},"datasetId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Dataset ID to read items from. Example: \\"9RnD3Pql2vGZkc5H5\\""},"itemLimit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Max items to return (1-250000). Default: all items. Example: 500"},"offset":{"type":"number","required":false,"visibility":"user-or-llm","description":"Number of items to skip at the start. Default: 0"},"fields":{"type":"string","required":false,"visibility":"user-or-llm","description":"Comma-separated list of fields to include. Example: \\"title,url,price\\""}},"hostedApiKey":"none"},"apify_get_run":{"id":"apify_get_run","name":"APIFY Get Run","description":"Get the status and details of an APIFY actor run","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"APIFY API token from console.apify.com/account#/integrations"},"runId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Actor run ID to fetch. Example: \\"HG7ML7M8z78YcAPEB\\""}},"hostedApiKey":"none"},"apify_run_actor_async":{"id":"apify_run_actor_async","name":"APIFY Run Actor (Async)","description":"Run an APIFY actor asynchronously with polling for long-running tasks","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"APIFY API token from console.apify.com/account#/integrations"},"actorId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Actor ID or username/actor-name. Examples: \\"apify/web-scraper\\", \\"janedoe/my-actor\\", \\"moJRLRc85AitArpNN\\""},"input":{"type":"string","required":false,"visibility":"user-or-llm","description":"Actor input as JSON string. Example: { \\"startUrls\\": [ { \\"url\\": \\"https://example.com\\" } ], \\"maxPages\\": 10 }"},"waitForFinish":{"type":"number","required":false,"visibility":"user-or-llm","description":"Initial wait time in seconds (0-60) before polling starts. Example: 30"},"itemLimit":{"type":"number","required":false,"default":100,"visibility":"user-or-llm","description":"Max dataset items to fetch (1-250000). Default: 100. Example: 500"},"memory":{"type":"number","required":false,"visibility":"user-or-llm","description":"Memory in megabytes allocated for the actor run (128-32768). Example: 1024 for 1GB, 2048 for 2GB"},"timeout":{"type":"number","required":false,"visibility":"user-or-llm","description":"Timeout in seconds for the actor run. Example: 300 for 5 minutes, 3600 for 1 hour"},"build":{"type":"string","required":false,"visibility":"user-or-llm","description":"Actor build to run. Examples: \\"latest\\", \\"beta\\", \\"1.2.3\\", \\"build-tag-name\\""}},"hostedApiKey":"none"},"apify_run_actor_sync":{"id":"apify_run_actor_sync","name":"APIFY Run Actor (Sync)","description":"Run an APIFY actor synchronously and get results (max 5 minutes)","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"APIFY API token from console.apify.com/account#/integrations"},"actorId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Actor ID or username/actor-name. Examples: \\"apify/web-scraper\\", \\"janedoe/my-actor\\", \\"moJRLRc85AitArpNN\\""},"input":{"type":"string","required":false,"visibility":"user-or-llm","description":"Actor input as JSON string. Example: { \\"startUrls\\": [ { \\"url\\": \\"https://example.com\\" } ], \\"maxPages\\": 10 }"},"memory":{"type":"number","required":false,"visibility":"user-or-llm","description":"Memory in megabytes allocated for the actor run (128-32768). Example: 1024 for 1GB, 2048 for 2GB"},"timeout":{"type":"number","required":false,"visibility":"user-or-llm","description":"Timeout in seconds for the actor run. Example: 300 for 5 minutes, 3600 for 1 hour"},"build":{"type":"string","required":false,"visibility":"user-or-llm","description":"Actor build to run. Examples: \\"latest\\", \\"beta\\", \\"1.2.3\\", \\"build-tag-name\\""}},"hostedApiKey":"none"},"apify_run_task":{"id":"apify_run_task","name":"APIFY Run Task","description":"Run a saved APIFY actor task synchronously and get dataset items (max 5 minutes)","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"APIFY API token from console.apify.com/account#/integrations"},"taskId":{"type":"string","required":true,"visibility":"user-or-llm","description":"Task ID or username/task-name. Examples: \\"janedoe/my-task\\", \\"moJRLRc85AitArpNN\\""},"input":{"type":"string","required":false,"visibility":"user-or-llm","description":"JSON string that overrides the task\'s saved input. Example: { \\"startUrls\\": [ { \\"url\\": \\"https://example.com\\" } ] }"},"itemLimit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Max dataset items to return (1-250000). Example: 500"},"memory":{"type":"number","required":false,"visibility":"user-or-llm","description":"Memory in megabytes allocated for the run (128-32768). Example: 1024 for 1GB"},"timeout":{"type":"number","required":false,"visibility":"user-or-llm","description":"Timeout in seconds for the run. Example: 300 for 5 minutes"},"build":{"type":"string","required":false,"visibility":"user-or-llm","description":"Actor build to run. Examples: \\"latest\\", \\"beta\\", \\"1.2.3\\""}},"hostedApiKey":"none"},"apollo_account_bulk_create":{"id":"apollo_account_bulk_create","name":"Apollo Bulk Create Accounts","description":"Create up to 100 accounts at once in your Apollo database. Set run_dedupe=true to deduplicate by domain, organization_id, and name. Master key required.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"accounts":{"type":"array","required":true,"visibility":"user-or-llm","description":"Array of accounts to create (max 100). Each account should include a name, and may optionally include domain, phone, phone_status_cd, raw_address, owner_id, linkedin_url, facebook_url, twitter_url, salesforce_id, and hubspot_id."},"append_label_names":{"type":"array","required":false,"visibility":"user-only","description":"Array of label names to add to ALL accounts in this request"},"run_dedupe":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"When true, performs aggressive deduplication by domain, organization_id, and name (defaults to false)"}},"hostedApiKey":"none"},"apollo_account_bulk_update":{"id":"apollo_account_bulk_update","name":"Apollo Bulk Update Accounts","description":"Update up to 1000 existing accounts at once in your Apollo database (higher limit than contacts!). Each account must include an id field. Master key required.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"account_ids":{"type":"array","required":false,"visibility":"user-or-llm","description":"Array of account IDs to update with the same values (max 1000). Use with name/owner_id for uniform updates. Use either this OR account_attributes."},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"When using account_ids, apply this name to all accounts"},"owner_id":{"type":"string","required":false,"visibility":"user-or-llm","description":"When using account_ids, apply this owner to all accounts"},"account_stage_id":{"type":"string","required":false,"visibility":"user-or-llm","description":"When using account_ids, apply this account stage to all accounts"},"account_attributes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Array of account objects with individual updates (each must include id). Example: [{\\"id\\": \\"acc1\\", \\"name\\": \\"Acme\\", \\"owner_id\\": \\"u1\\", \\"account_stage_id\\": \\"s1\\", \\"typed_custom_fields\\": {\\"field_id\\": \\"value\\"}}]"},"async":{"type":"boolean","required":false,"visibility":"user-only","description":"When true, processes the update asynchronously. Only supported when using account_ids; returns 422 if used with account_attributes."}},"hostedApiKey":"none"},"apollo_account_create":{"id":"apollo_account_create","name":"Apollo Create Account","description":"Create a new account (company) in your Apollo database","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Company name (e.g., \\"Acme Corporation\\")"},"domain":{"type":"string","required":false,"visibility":"user-or-llm","description":"Company domain without www. prefix (e.g., \\"acme.com\\")"},"phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Primary phone number for the account"},"owner_id":{"type":"string","required":false,"visibility":"user-only","description":"Apollo user ID of the account owner"},"account_stage_id":{"type":"string","required":false,"visibility":"user-only","description":"Apollo ID for the account stage to assign this account to"},"raw_address":{"type":"string","required":false,"visibility":"user-or-llm","description":"Corporate location (e.g., \\"San Francisco, CA, USA\\")"},"typed_custom_fields":{"type":"json","required":false,"visibility":"user-only","description":"Custom field values as { custom_field_id: value } map"}},"hostedApiKey":"none"},"apollo_account_search":{"id":"apollo_account_search","name":"Apollo Search Accounts","description":"Search your team\'s accounts in Apollo. Display limit: 50,000 records (100 records per page, 500 pages max). Use filters to narrow results. Master key required.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"q_organization_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter accounts by organization name (partial-match search)"},"account_stage_ids":{"type":"array","required":false,"visibility":"user-only","description":"Filter by account stage IDs"},"account_label_ids":{"type":"array","required":false,"visibility":"user-only","description":"Filter by account label IDs"},"sort_by_field":{"type":"string","required":false,"visibility":"user-or-llm","description":"Sort field: \\"account_last_activity_date\\", \\"account_created_at\\", or \\"account_updated_at\\""},"sort_ascending":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Sort ascending when true. Defaults to descending."},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for pagination (e.g., 1, 2, 3)"},"per_page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Results per page, max 100 (e.g., 25, 50, 100)"}},"hostedApiKey":"none"},"apollo_account_update":{"id":"apollo_account_update","name":"Apollo Update Account","description":"Update an existing account in your Apollo database","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"account_id":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the account to update (e.g., \\"acc_abc123\\")"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Company name (e.g., \\"Acme Corporation\\")"},"domain":{"type":"string","required":false,"visibility":"user-or-llm","description":"Company domain (e.g., \\"acme.com\\")"},"phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Company phone number"},"owner_id":{"type":"string","required":false,"visibility":"user-only","description":"Apollo user ID of the account owner"},"account_stage_id":{"type":"string","required":false,"visibility":"user-only","description":"Apollo ID for the account stage to assign this account to"},"raw_address":{"type":"string","required":false,"visibility":"user-or-llm","description":"Corporate location (e.g., \\"San Francisco, CA, USA\\")"},"typed_custom_fields":{"type":"json","required":false,"visibility":"user-only","description":"Custom field values as { custom_field_id: value } map"}},"hostedApiKey":"none"},"apollo_contact_bulk_create":{"id":"apollo_contact_bulk_create","name":"Apollo Bulk Create Contacts","description":"Create up to 100 contacts at once in your Apollo database. Supports deduplication to prevent creating duplicate contacts. Master key required.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"contacts":{"type":"array","required":true,"visibility":"user-or-llm","description":"Array of contacts to create (max 100). Each contact may include first_name, last_name, email, title, organization_name, account_id, owner_id, contact_stage_id, linkedin_url, phone (single string) or phone_numbers (array of {raw_number, position}), contact_emails, typed_custom_fields, and CRM IDs (salesforce_contact_id, hubspot_id, team_id) for cross-system matching"},"append_label_names":{"type":"array","required":false,"visibility":"user-or-llm","description":"Label names to add to all contacts in this request (e.g., [\\"Hot Lead\\"])"},"run_dedupe":{"type":"boolean","required":false,"visibility":"user-only","description":"Enable deduplication to prevent creating duplicate contacts. When true, existing contacts are returned without modification"}},"hostedApiKey":"none"},"apollo_contact_bulk_update":{"id":"apollo_contact_bulk_update","name":"Apollo Bulk Update Contacts","description":"Update up to 100 existing contacts at once in your Apollo database. Each contact must include an id field. Master key required.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"contact_ids":{"type":"array","required":false,"visibility":"user-or-llm","description":"Array of contact IDs to update. Must be paired with an object-form contact_attributes specifying the fields to apply uniformly to all listed contacts."},"contact_attributes":{"type":"json","required":false,"visibility":"user-or-llm","description":"Required. Either an array of per-contact updates (each with id) — used standalone — or a single object of attributes to apply to all contact_ids. Supported fields: owner_id, email, organization_name, title, first_name, last_name, account_id, present_raw_address, linkedin_url, typed_custom_fields"},"async":{"type":"boolean","required":false,"visibility":"user-only","description":"Force asynchronous processing. Automatically enabled for >100 contacts"}},"hostedApiKey":"none"},"apollo_contact_create":{"id":"apollo_contact_create","name":"Apollo Create Contact","description":"Create a new contact in your Apollo database","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"first_name":{"type":"string","required":true,"visibility":"user-or-llm","description":"First name of the contact"},"last_name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Last name of the contact"},"email":{"type":"string","required":false,"visibility":"user-or-llm","description":"Email address of the contact"},"title":{"type":"string","required":false,"visibility":"user-or-llm","description":"Job title (e.g., \\"VP of Sales\\", \\"Software Engineer\\")"},"account_id":{"type":"string","required":false,"visibility":"user-or-llm","description":"Apollo account ID to associate with (e.g., \\"acc_abc123\\")"},"owner_id":{"type":"string","required":false,"visibility":"user-only","description":"User ID of the contact owner (accepted by Apollo but not officially documented for POST /contacts)"},"organization_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Name of the contact\'s employer (e.g., \\"Apollo\\")"},"website_url":{"type":"string","required":false,"visibility":"user-or-llm","description":"Corporate website URL (e.g., \\"https://www.apollo.io/\\")"},"label_names":{"type":"array","required":false,"visibility":"user-or-llm","description":"Lists/labels to add the contact to (e.g., [\\"Prospects\\"])"},"contact_stage_id":{"type":"string","required":false,"visibility":"user-or-llm","description":"Apollo ID for the contact stage"},"present_raw_address":{"type":"string","required":false,"visibility":"user-or-llm","description":"Personal location for the contact (e.g., \\"Atlanta, United States\\")"},"direct_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Primary phone number"},"corporate_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Work/office phone number"},"mobile_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Mobile phone number"},"home_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Home phone number"},"other_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Alternative phone number"},"typed_custom_fields":{"type":"json","required":false,"visibility":"user-or-llm","description":"Custom field values keyed by custom field ID"},"run_dedupe":{"type":"boolean","required":false,"visibility":"user-only","description":"When true, Apollo deduplicates against existing contacts"}},"hostedApiKey":"none"},"apollo_contact_search":{"id":"apollo_contact_search","name":"Apollo Search Contacts","description":"Search your team\'s contacts in Apollo","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"q_keywords":{"type":"string","required":false,"visibility":"user-or-llm","description":"Keywords to search for"},"contact_stage_ids":{"type":"array","required":false,"visibility":"user-only","description":"Filter by contact stage IDs"},"contact_label_ids":{"type":"array","required":false,"visibility":"user-only","description":"Filter by Apollo label IDs (lists)"},"sort_by_field":{"type":"string","required":false,"visibility":"user-only","description":"Sort field: contact_last_activity_date, contact_email_last_opened_at, contact_email_last_clicked_at, contact_created_at, or contact_updated_at"},"sort_ascending":{"type":"boolean","required":false,"visibility":"user-only","description":"When true, sort ascending. Must be used together with sort_by_field"},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for pagination (e.g., 1, 2, 3)"},"per_page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Results per page, max 100 (e.g., 25, 50, 100)"}},"hostedApiKey":"none"},"apollo_contact_update":{"id":"apollo_contact_update","name":"Apollo Update Contact","description":"Update an existing contact in your Apollo database","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"contact_id":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the contact to update (e.g., \\"con_abc123\\")"},"first_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"First name of the contact"},"last_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Last name of the contact"},"email":{"type":"string","required":false,"visibility":"user-or-llm","description":"Email address"},"title":{"type":"string","required":false,"visibility":"user-or-llm","description":"Job title (e.g., \\"VP of Sales\\", \\"Software Engineer\\")"},"account_id":{"type":"string","required":false,"visibility":"user-or-llm","description":"Apollo account ID (e.g., \\"acc_abc123\\")"},"owner_id":{"type":"string","required":false,"visibility":"user-only","description":"User ID of the contact owner (accepted by Apollo but not officially documented for PATCH /contacts/{id})"},"organization_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Name of the contact\'s employer (e.g., \\"Apollo\\")"},"website_url":{"type":"string","required":false,"visibility":"user-or-llm","description":"Corporate website URL (e.g., \\"https://www.apollo.io/\\")"},"label_names":{"type":"array","required":false,"visibility":"user-or-llm","description":"Lists/labels to add the contact to (e.g., [\\"Prospects\\"])"},"contact_stage_id":{"type":"string","required":false,"visibility":"user-or-llm","description":"Apollo ID for the contact stage"},"present_raw_address":{"type":"string","required":false,"visibility":"user-or-llm","description":"Personal location for the contact (e.g., \\"Atlanta, United States\\")"},"direct_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Primary phone number"},"corporate_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Work/office phone number"},"mobile_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Mobile phone number"},"home_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Home phone number"},"other_phone":{"type":"string","required":false,"visibility":"user-or-llm","description":"Alternative phone number"},"typed_custom_fields":{"type":"json","required":false,"visibility":"user-or-llm","description":"Custom field values keyed by custom field ID"}},"hostedApiKey":"none"},"apollo_email_accounts":{"id":"apollo_email_accounts","name":"Apollo Get Email Accounts","description":"Get list of team\'s linked email accounts in Apollo","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"}},"hostedApiKey":"none"},"apollo_opportunity_create":{"id":"apollo_opportunity_create","name":"Apollo Create Opportunity","description":"Create a new deal for an account in your Apollo database (master key required)","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the opportunity/deal (e.g., \\"Enterprise License - Q1\\")"},"account_id":{"type":"string","required":false,"visibility":"user-or-llm","description":"ID of the account this opportunity belongs to (e.g., \\"acc_abc123\\")"},"amount":{"type":"string","required":false,"visibility":"user-or-llm","description":"Monetary value as a plain number string with no commas or currency symbols"},"opportunity_stage_id":{"type":"string","required":false,"visibility":"user-only","description":"ID of the opportunity stage"},"owner_id":{"type":"string","required":false,"visibility":"user-only","description":"User ID of the opportunity owner"},"closed_date":{"type":"string","required":false,"visibility":"user-or-llm","description":"Expected close date in YYYY-MM-DD format"},"typed_custom_fields":{"type":"json","required":false,"visibility":"user-only","description":"Custom field values as { custom_field_id: value } map"}},"hostedApiKey":"none"},"apollo_opportunity_get":{"id":"apollo_opportunity_get","name":"Apollo Get Opportunity","description":"Retrieve complete details of a specific deal/opportunity by ID","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"opportunity_id":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the opportunity to retrieve (e.g., \\"opp_abc123\\")"}},"hostedApiKey":"none"},"apollo_opportunity_search":{"id":"apollo_opportunity_search","name":"Apollo Search Opportunities","description":"Search and list all deals/opportunities in your team\'s Apollo account","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"sort_by_field":{"type":"string","required":false,"visibility":"user-or-llm","description":"Sort field: \\"amount\\", \\"is_closed\\", or \\"is_won\\""},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for pagination (e.g., 1, 2, 3)"},"per_page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Results per page, max 100 (e.g., 25, 50, 100)"}},"hostedApiKey":"none"},"apollo_opportunity_update":{"id":"apollo_opportunity_update","name":"Apollo Update Opportunity","description":"Update an existing deal/opportunity in your Apollo database","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"opportunity_id":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the opportunity to update (e.g., \\"opp_abc123\\")"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Name of the opportunity/deal (e.g., \\"Enterprise License - Q1\\")"},"amount":{"type":"string","required":false,"visibility":"user-or-llm","description":"Monetary value as a plain number string with no commas or currency symbols"},"opportunity_stage_id":{"type":"string","required":false,"visibility":"user-only","description":"ID of the opportunity stage"},"owner_id":{"type":"string","required":false,"visibility":"user-only","description":"User ID of the opportunity owner"},"closed_date":{"type":"string","required":false,"visibility":"user-or-llm","description":"Expected close date in YYYY-MM-DD format"},"typed_custom_fields":{"type":"json","required":false,"visibility":"user-only","description":"Custom field values as { custom_field_id: value } map"}},"hostedApiKey":"none"},"apollo_organization_bulk_enrich":{"id":"apollo_organization_bulk_enrich","name":"Apollo Bulk Organization Enrichment","description":"Enrich data for up to 10 organizations at once using Apollo","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"domains":{"type":"array","required":true,"visibility":"user-or-llm","description":"Array of company domains to enrich (max 10, no www. or @, e.g., [\\"apollo.io\\", \\"stripe.com\\"])"}},"hostedApiKey":"none"},"apollo_organization_enrich":{"id":"apollo_organization_enrich","name":"Apollo Organization Enrichment","description":"Enrich data for a single organization using Apollo","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"domain":{"type":"string","required":true,"visibility":"user-or-llm","description":"Company domain (e.g., \\"apollo.io\\", \\"acme.com\\")"}},"hostedApiKey":"none"},"apollo_organization_search":{"id":"apollo_organization_search","name":"Apollo Organization Search","description":"Search Apollo\'s database for companies using filters","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"organization_locations":{"type":"array","required":false,"visibility":"user-or-llm","description":"Company HQ locations (cities, US states, or countries)"},"organization_not_locations":{"type":"array","required":false,"visibility":"user-or-llm","description":"Exclude companies whose HQ is in these locations"},"organization_num_employees_ranges":{"type":"array","required":false,"visibility":"user-or-llm","description":"Employee count ranges as \\"min,max\\" strings (e.g., [\\"1,10\\", \\"250,500\\", \\"10000,20000\\"])"},"q_organization_keyword_tags":{"type":"array","required":false,"visibility":"user-or-llm","description":"Industry or keyword tags"},"q_organization_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Organization name to search for (e.g., \\"Acme\\", \\"TechCorp\\")"},"organization_ids":{"type":"array","required":false,"visibility":"user-or-llm","description":"Apollo organization IDs to include (e.g., [\\"5e66b6381e05b4008c8331b8\\"])"},"q_organization_domains_list":{"type":"array","required":false,"visibility":"user-or-llm","description":"Domain names to filter by (no www. or @, up to 1,000)"},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for pagination (e.g., 1, 2, 3)"},"per_page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Results per page, max 100 (e.g., 25, 50, 100)"}},"hostedApiKey":"none"},"apollo_people_bulk_enrich":{"id":"apollo_people_bulk_enrich","name":"Apollo Bulk People Enrichment","description":"Enrich data for up to 10 people at once using Apollo","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"people":{"type":"array","required":true,"visibility":"user-or-llm","description":"Array of people to enrich (max 10)"},"reveal_personal_emails":{"type":"boolean","required":false,"visibility":"user-only","description":"Reveal personal email addresses (uses credits)"},"reveal_phone_number":{"type":"boolean","required":false,"visibility":"user-only","description":"Reveal phone numbers (uses credits, requires webhook_url)"},"webhook_url":{"type":"string","required":false,"visibility":"user-only","description":"Webhook URL for async phone number delivery (required when reveal_phone_number is true)"}},"hostedApiKey":"none"},"apollo_people_enrich":{"id":"apollo_people_enrich","name":"Apollo People Enrichment","description":"Enrich data for a single person using Apollo","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"first_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"First name of the person"},"last_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Last name of the person"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Full name of the person (alternative to first_name/last_name)"},"id":{"type":"string","required":false,"visibility":"user-or-llm","description":"Apollo ID for the person"},"hashed_email":{"type":"string","required":false,"visibility":"user-or-llm","description":"MD5 or SHA-256 hashed email"},"email":{"type":"string","required":false,"visibility":"user-or-llm","description":"Email address of the person"},"organization_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Company name where the person works"},"domain":{"type":"string","required":false,"visibility":"user-or-llm","description":"Company domain (e.g., \\"apollo.io\\", \\"acme.com\\")"},"linkedin_url":{"type":"string","required":false,"visibility":"user-or-llm","description":"LinkedIn profile URL"},"reveal_personal_emails":{"type":"boolean","required":false,"visibility":"user-only","description":"Reveal personal email addresses (uses credits)"},"reveal_phone_number":{"type":"boolean","required":false,"visibility":"user-only","description":"Reveal phone numbers (uses credits, requires webhook_url)"},"webhook_url":{"type":"string","required":false,"visibility":"user-only","description":"Webhook URL for async phone number delivery (required when reveal_phone_number is true)"}},"hostedApiKey":"none"},"apollo_people_search":{"id":"apollo_people_search","name":"Apollo People Search","description":"Search Apollo\'s database for people using demographic filters","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key"},"person_titles":{"type":"array","required":false,"visibility":"user-or-llm","description":"Job titles to search for (e.g., [\\"CEO\\", \\"VP of Sales\\"])"},"include_similar_titles":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Whether to return people with job titles similar to person_titles"},"person_locations":{"type":"array","required":false,"visibility":"user-or-llm","description":"Locations to search in (e.g., [\\"San Francisco, CA\\", \\"New York, NY\\"])"},"person_seniorities":{"type":"array","required":false,"visibility":"user-or-llm","description":"Seniority levels (one of: owner, founder, c_suite, partner, vp, head, director, manager, senior, entry, intern)"},"organization_ids":{"type":"array","required":false,"visibility":"user-or-llm","description":"Apollo organization IDs to filter by (e.g., [\\"5e66b6381e05b4008c8331b8\\"])"},"organization_names":{"type":"array","required":false,"visibility":"user-or-llm","description":"Company names to search within (legacy filter)"},"organization_locations":{"type":"array","required":false,"visibility":"user-or-llm","description":"Headquarters locations of the people\'s current employer (e.g., [\'texas\', \'tokyo\', \'spain\'])"},"q_organization_domains_list":{"type":"array","required":false,"visibility":"user-or-llm","description":"Employer domain names (e.g., [\\"apollo.io\\", \\"microsoft.com\\"]) — up to 1,000, no www. or @"},"organization_num_employees_ranges":{"type":"array","required":false,"visibility":"user-or-llm","description":"Employee count ranges for the person\'s current employer. Each entry is \\"min,max\\" (e.g., [\\"1,10\\", \\"250,500\\", \\"10000,20000\\"])"},"contact_email_status":{"type":"array","required":false,"visibility":"user-or-llm","description":"Email statuses to filter by: \\"verified\\", \\"unverified\\", \\"likely to engage\\", \\"unavailable\\""},"q_keywords":{"type":"string","required":false,"visibility":"user-or-llm","description":"Keywords to search for"},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for pagination, default 1 (e.g., 1, 2, 3)"},"per_page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Results per page, default 25, max 100 (e.g., 25, 50, 100)"}},"hostedApiKey":"none"},"apollo_sequence_add_contacts":{"id":"apollo_sequence_add_contacts","name":"Apollo Add Contacts to Sequence","description":"Add contacts to an Apollo sequence","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"sequence_id":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the sequence to add contacts to (e.g., \\"seq_abc123\\")"},"contact_ids":{"type":"array","required":false,"visibility":"user-or-llm","description":"Array of contact IDs to add to the sequence (e.g., [\\"con_abc123\\", \\"con_def456\\"]). Either contact_ids or label_names must be provided."},"label_names":{"type":"array","required":false,"visibility":"user-or-llm","description":"Array of label names to identify contacts to add to the sequence. Either contact_ids or label_names must be provided."},"send_email_from_email_account_id":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the email account to send from. Use the Get Email Accounts operation to look this up."},"send_email_from_email_address":{"type":"string","required":false,"visibility":"user-only","description":"Specific email address to send from within the email account."},"sequence_no_email":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts even if they have no email address"},"sequence_unverified_email":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts with unverified email addresses"},"sequence_job_change":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts who recently changed jobs"},"sequence_active_in_other_campaigns":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts active in other campaigns"},"sequence_finished_in_other_campaigns":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts who finished other campaigns"},"sequence_same_company_in_same_campaign":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts even if others from the same company are in the sequence"},"contacts_without_ownership_permission":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts without ownership permission"},"add_if_in_queue":{"type":"boolean","required":false,"visibility":"user-only","description":"Add contacts even if they are in the queue"},"contact_verification_skipped":{"type":"boolean","required":false,"visibility":"user-only","description":"Skip contact verification when adding"},"user_id":{"type":"string","required":false,"visibility":"user-only","description":"ID of the user performing the action"},"status":{"type":"string","required":false,"visibility":"user-only","description":"Initial status for added contacts: \\"active\\" or \\"paused\\""},"auto_unpause_at":{"type":"string","required":false,"visibility":"user-only","description":"ISO 8601 datetime to automatically unpause contacts"}},"hostedApiKey":"none"},"apollo_sequence_search":{"id":"apollo_sequence_search","name":"Apollo Search Sequences","description":"Search for sequences/campaigns in your team\'s Apollo account (master key required)","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"q_name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Search sequences by name (e.g., \\"Outbound Q1\\", \\"Follow-up\\")"},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for pagination (e.g., 1, 2, 3)"},"per_page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Results per page, max 100 (e.g., 25, 50, 100)"}},"hostedApiKey":"none"},"apollo_task_create":{"id":"apollo_task_create","name":"Apollo Create Task","description":"Create one or more tasks in Apollo (one task per contact_id, master key required)","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"user_id":{"type":"string","required":true,"visibility":"user-or-llm","description":"ID of the Apollo user the task is assigned to"},"contact_ids":{"type":"array","required":true,"visibility":"user-or-llm","description":"Array of contact IDs. One task is created per contact."},"priority":{"type":"string","required":false,"visibility":"user-or-llm","description":"Task priority: \\"high\\", \\"medium\\", or \\"low\\" (defaults to \\"medium\\")"},"due_at":{"type":"string","required":true,"visibility":"user-or-llm","description":"Due date/time in ISO 8601 format (e.g., \\"2024-12-31T23:59:59Z\\")"},"type":{"type":"string","required":true,"visibility":"user-or-llm","description":"Task type: \\"call\\", \\"outreach_manual_email\\", \\"linkedin_step_connect\\", \\"linkedin_step_message\\", \\"linkedin_step_view_profile\\", \\"linkedin_step_interact_post\\", or \\"action_item\\""},"status":{"type":"string","required":true,"visibility":"user-or-llm","description":"Task status: \\"scheduled\\", \\"completed\\", or \\"skipped\\""},"note":{"type":"string","required":false,"visibility":"user-or-llm","description":"Free-form note providing context for the task"}},"hostedApiKey":"none"},"apollo_task_search":{"id":"apollo_task_search","name":"Apollo Search Tasks","description":"Search for tasks in Apollo","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Apollo API key (master key required)"},"sort_by_field":{"type":"string","required":false,"visibility":"user-or-llm","description":"Sort field: \\"task_due_at\\" or \\"task_priority\\""},"open_factor_names":{"type":"array","required":false,"visibility":"user-or-llm","description":"Filter by status. Common values: [\\"task_types\\"] for open tasks, [\\"task_completed_at\\"] for completed tasks."},"page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Page number for pagination (e.g., 1, 2, 3)"},"per_page":{"type":"number","required":false,"visibility":"user-or-llm","description":"Results per page, max 100 (e.g., 25, 50, 100)"}},"hostedApiKey":"none"},"appconfig_create_application":{"id":"appconfig_create_application","name":"AppConfig Create Application","description":"Create an application in AWS AppConfig","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the application to create"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"Description of the application"}},"hostedApiKey":"none"},"appconfig_create_configuration_profile":{"id":"appconfig_create_configuration_profile","name":"AppConfig Create Configuration Profile","description":"Create a configuration profile in an AWS AppConfig application","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID to create the configuration profile in"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the configuration profile"},"locationUri":{"type":"string","required":true,"visibility":"user-or-llm","description":"Where the configuration is stored. Use \\"hosted\\" for AppConfig-hosted configurations, or an SSM/S3 URI"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"Description of the configuration profile"},"retrievalRoleArn":{"type":"string","required":false,"visibility":"user-or-llm","description":"ARN of an IAM role to retrieve the configuration (required for non-hosted URIs)"},"type":{"type":"string","required":false,"visibility":"user-or-llm","description":"Profile type: AWS.Freeform (default) or AWS.AppConfig.FeatureFlags"}},"hostedApiKey":"none"},"appconfig_create_environment":{"id":"appconfig_create_environment","name":"AppConfig Create Environment","description":"Create an environment for an AWS AppConfig application","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID to create the environment in"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the environment to create"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"Description of the environment"}},"hostedApiKey":"none"},"appconfig_create_hosted_configuration_version":{"id":"appconfig_create_hosted_configuration_version","name":"AppConfig Create Hosted Configuration Version","description":"Create a new hosted configuration version for an AppConfig configuration profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profile"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID to add the version to"},"content":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration content (e.g., a JSON or YAML document)"},"contentType":{"type":"string","required":true,"visibility":"user-or-llm","description":"Content type of the configuration (e.g., application/json, text/plain)"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"Description of the configuration version"},"latestVersionNumber":{"type":"number","required":false,"visibility":"user-or-llm","description":"The version number of the latest version, used for optimistic concurrency"},"versionLabel":{"type":"string","required":false,"visibility":"user-or-llm","description":"A user-defined label for the configuration version"}},"hostedApiKey":"none"},"appconfig_delete_application":{"id":"appconfig_delete_application","name":"AppConfig Delete Application","description":"Delete an AWS AppConfig application","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID to delete"}},"hostedApiKey":"none"},"appconfig_delete_configuration_profile":{"id":"appconfig_delete_configuration_profile","name":"AppConfig Delete Configuration Profile","description":"Delete an AWS AppConfig configuration profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profile"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID to delete"}},"hostedApiKey":"none"},"appconfig_delete_environment":{"id":"appconfig_delete_environment","name":"AppConfig Delete Environment","description":"Delete an AWS AppConfig environment","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the environment"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID to delete"}},"hostedApiKey":"none"},"appconfig_delete_hosted_configuration_version":{"id":"appconfig_delete_hosted_configuration_version","name":"AppConfig Delete Hosted Configuration Version","description":"Delete a specific hosted configuration version from an AppConfig profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profile"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID that owns the version"},"versionNumber":{"type":"number","required":true,"visibility":"user-or-llm","description":"The version number to delete"}},"hostedApiKey":"none"},"appconfig_get_application":{"id":"appconfig_get_application","name":"AppConfig Get Application","description":"Get details about a single AWS AppConfig application","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID to retrieve"}},"hostedApiKey":"none"},"appconfig_get_configuration":{"id":"appconfig_get_configuration","name":"AppConfig Get Configuration","description":"Retrieve the latest deployed configuration for an AppConfig application, environment, and profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID or name to retrieve configuration for"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID or name to retrieve configuration for"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID or name to retrieve"}},"hostedApiKey":"none"},"appconfig_get_configuration_profile":{"id":"appconfig_get_configuration_profile","name":"AppConfig Get Configuration Profile","description":"Get details about a single AWS AppConfig configuration profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profile"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID to retrieve"}},"hostedApiKey":"none"},"appconfig_get_deployment":{"id":"appconfig_get_deployment","name":"AppConfig Get Deployment","description":"Get details about a specific AWS AppConfig deployment","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID of the deployment"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID of the deployment"},"deploymentNumber":{"type":"number","required":true,"visibility":"user-or-llm","description":"The sequence number of the deployment"}},"hostedApiKey":"none"},"appconfig_get_environment":{"id":"appconfig_get_environment","name":"AppConfig Get Environment","description":"Get details about a single AWS AppConfig environment","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the environment"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID to retrieve"}},"hostedApiKey":"none"},"appconfig_get_hosted_configuration_version":{"id":"appconfig_get_hosted_configuration_version","name":"AppConfig Get Hosted Configuration Version","description":"Retrieve a specific hosted configuration version from an AppConfig profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profile"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID to read the version from"},"versionNumber":{"type":"number","required":true,"visibility":"user-or-llm","description":"The version number to retrieve"}},"hostedApiKey":"none"},"appconfig_list_applications":{"id":"appconfig_list_applications","name":"AppConfig List Applications","description":"List applications in AWS AppConfig","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"maxResults":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of applications to return (1-50)"},"nextToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token from a previous response"}},"hostedApiKey":"none"},"appconfig_list_configuration_profiles":{"id":"appconfig_list_configuration_profiles","name":"AppConfig List Configuration Profiles","description":"List configuration profiles for an AWS AppConfig application","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profiles"},"maxResults":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of configuration profiles to return (1-50)"},"nextToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token from a previous response"}},"hostedApiKey":"none"},"appconfig_list_deployment_strategies":{"id":"appconfig_list_deployment_strategies","name":"AppConfig List Deployment Strategies","description":"List deployment strategies available in AWS AppConfig","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"maxResults":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of deployment strategies to return (1-50)"},"nextToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token from a previous response"}},"hostedApiKey":"none"},"appconfig_list_deployments":{"id":"appconfig_list_deployments","name":"AppConfig List Deployments","description":"List deployments for an AWS AppConfig environment","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID of the deployments"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID of the deployments"},"maxResults":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of deployments to return (1-50)"},"nextToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token from a previous response"}},"hostedApiKey":"none"},"appconfig_list_environments":{"id":"appconfig_list_environments","name":"AppConfig List Environments","description":"List environments for an AWS AppConfig application","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the environments"},"maxResults":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of environments to return (1-50)"},"nextToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token from a previous response"}},"hostedApiKey":"none"},"appconfig_list_hosted_configuration_versions":{"id":"appconfig_list_hosted_configuration_versions","name":"AppConfig List Hosted Configuration Versions","description":"List hosted configuration versions for an AWS AppConfig configuration profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profile"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID to list versions for"},"maxResults":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of versions to return (1-50)"},"nextToken":{"type":"string","required":false,"visibility":"user-or-llm","description":"Pagination token from a previous response"}},"hostedApiKey":"none"},"appconfig_start_deployment":{"id":"appconfig_start_deployment","name":"AppConfig Start Deployment","description":"Start deploying a configuration version to an AWS AppConfig environment","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID to deploy in"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID to deploy to"},"deploymentStrategyId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The deployment strategy ID to use"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID to deploy"},"configurationVersion":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration version to deploy"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"Description of the deployment"}},"hostedApiKey":"none"},"appconfig_stop_deployment":{"id":"appconfig_stop_deployment","name":"AppConfig Stop Deployment","description":"Stop an in-progress AWS AppConfig deployment","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID of the deployment"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID of the deployment"},"deploymentNumber":{"type":"number","required":true,"visibility":"user-or-llm","description":"The sequence number of the deployment to stop"}},"hostedApiKey":"none"},"appconfig_update_application":{"id":"appconfig_update_application","name":"AppConfig Update Application","description":"Update the name or description of an AWS AppConfig application","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID to update"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"New name for the application"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"New description for the application"}},"hostedApiKey":"none"},"appconfig_update_configuration_profile":{"id":"appconfig_update_configuration_profile","name":"AppConfig Update Configuration Profile","description":"Update the name, description, or retrieval role of an AppConfig configuration profile","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the configuration profile"},"configurationProfileId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The configuration profile ID to update"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"New name for the configuration profile"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"New description for the configuration profile"},"retrievalRoleArn":{"type":"string","required":false,"visibility":"user-or-llm","description":"New ARN of the IAM role used to retrieve the configuration"}},"hostedApiKey":"none"},"appconfig_update_environment":{"id":"appconfig_update_environment","name":"AppConfig Update Environment","description":"Update the name or description of an AWS AppConfig environment","version":"1.0","params":{"region":{"type":"string","required":true,"visibility":"user-only","description":"AWS region (e.g., us-east-1)"},"accessKeyId":{"type":"string","required":true,"visibility":"user-only","description":"AWS access key ID"},"secretAccessKey":{"type":"string","required":true,"visibility":"user-only","description":"AWS secret access key"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The application ID that owns the environment"},"environmentId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The environment ID to update"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"New name for the environment"},"description":{"type":"string","required":false,"visibility":"user-or-llm","description":"New description for the environment"}},"hostedApiKey":"none"},"arxiv_get_author_papers":{"id":"arxiv_get_author_papers","name":"ArXiv Get Author Papers","description":"Search for papers by a specific author on ArXiv.","version":"1.0.0","params":{"authorName":{"type":"string","required":true,"visibility":"user-or-llm","description":"Author name to search for"},"maxResults":{"type":"number","required":false,"visibility":"user-only","description":"Maximum number of results to return (default: 10, max: 2000)"}},"hostedApiKey":"none"},"arxiv_get_paper":{"id":"arxiv_get_paper","name":"ArXiv Get Paper","description":"Get detailed information about a specific ArXiv paper by its ID.","version":"1.0.0","params":{"paperId":{"type":"string","required":true,"visibility":"user-or-llm","description":"ArXiv paper ID (e.g., \\"1706.03762\\")"}},"hostedApiKey":"none"},"arxiv_search":{"id":"arxiv_search","name":"ArXiv Search","description":"Search for academic papers on ArXiv by keywords, authors, titles, or other fields.","version":"1.0.0","params":{"searchQuery":{"type":"string","required":true,"visibility":"user-or-llm","description":"The search query to execute"},"searchField":{"type":"string","required":false,"visibility":"user-only","description":"Field to search in: all, ti (title), au (author), abs (abstract), co (comment), jr (journal), cat (category), rn (report number)"},"maxResults":{"type":"number","required":false,"visibility":"user-only","description":"Maximum number of results to return (default: 10, max: 2000)"},"sortBy":{"type":"string","required":false,"visibility":"user-only","description":"Sort by: relevance, lastUpdatedDate, submittedDate (default: relevance)"},"sortOrder":{"type":"string","required":false,"visibility":"user-only","description":"Sort order: ascending, descending (default: descending)"}},"hostedApiKey":"none"},"asana_add_comment":{"id":"asana_add_comment","name":"Asana Add Comment","description":"Add a comment (story) to an Asana task","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"taskGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"Asana task GID (numeric string)"},"text":{"type":"string","required":true,"visibility":"user-or-llm","description":"The text content of the comment"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_add_followers":{"id":"asana_add_followers","name":"Asana Add Followers","description":"Add one or more followers to an Asana task","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"taskGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"GID of the Asana task (numeric string)"},"followers":{"type":"array","required":true,"visibility":"user-or-llm","description":"Array of user GIDs to add as followers to the task"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_create_project":{"id":"asana_create_project","name":"Asana Create Project","description":"Create a new project in an Asana workspace","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"workspace":{"type":"string","required":true,"visibility":"user-or-llm","description":"Asana workspace GID (numeric string) where the project will be created"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the project"},"notes":{"type":"string","required":false,"visibility":"user-or-llm","description":"Notes or description for the project"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_create_section":{"id":"asana_create_section","name":"Asana Create Section","description":"Create a new section in an Asana project","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"projectGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"GID of the Asana project (numeric string) to add the section to"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the section"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_create_subtask":{"id":"asana_create_subtask","name":"Asana Create Subtask","description":"Create a subtask under an existing Asana task","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"taskGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"GID of the parent Asana task (numeric string)"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the subtask"},"notes":{"type":"string","required":false,"visibility":"user-or-llm","description":"Notes or description for the subtask"},"assignee":{"type":"string","required":false,"visibility":"user-or-llm","description":"User GID to assign the subtask to"},"due_on":{"type":"string","required":false,"visibility":"user-or-llm","description":"Due date in YYYY-MM-DD format"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_create_task":{"id":"asana_create_task","name":"Asana Create Task","description":"Create a new task in Asana","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"workspace":{"type":"string","required":true,"visibility":"user-or-llm","description":"Asana workspace GID (numeric string) where the task will be created"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"Name of the task"},"notes":{"type":"string","required":false,"visibility":"user-or-llm","description":"Notes or description for the task"},"assignee":{"type":"string","required":false,"visibility":"user-or-llm","description":"User GID to assign the task to"},"due_on":{"type":"string","required":false,"visibility":"user-or-llm","description":"Due date in YYYY-MM-DD format"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_delete_task":{"id":"asana_delete_task","name":"Asana Delete Task","description":"Delete an Asana task by its GID (moves it to the trash)","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"taskGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"GID of the Asana task to delete (numeric string)"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_get_project":{"id":"asana_get_project","name":"Asana Get Project","description":"Retrieve a single Asana project by its GID","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"projectGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"Asana project GID (numeric string) to retrieve"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_get_projects":{"id":"asana_get_projects","name":"Asana Get Projects","description":"Retrieve all projects from an Asana workspace","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"workspace":{"type":"string","required":true,"visibility":"user-or-llm","description":"Asana workspace GID (numeric string) to retrieve projects from"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_get_task":{"id":"asana_get_task","name":"Asana Get Task","description":"Retrieve a single task by GID or get multiple tasks with filters","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"taskGid":{"type":"string","required":false,"visibility":"user-or-llm","description":"The globally unique identifier (GID) of the task. If not provided, will get multiple tasks."},"workspace":{"type":"string","required":false,"visibility":"user-or-llm","description":"Asana workspace GID (numeric string) to filter tasks (required when not using taskGid)"},"project":{"type":"string","required":false,"visibility":"user-or-llm","description":"Asana project GID (numeric string) to filter tasks"},"limit":{"type":"number","required":false,"visibility":"user-or-llm","description":"Maximum number of tasks to return (default: 50)"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_list_sections":{"id":"asana_list_sections","name":"Asana List Sections","description":"List all sections in an Asana project","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"projectGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"GID of the Asana project (numeric string) to list sections from"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_list_workspaces":{"id":"asana_list_workspaces","name":"Asana List Workspaces","description":"List all Asana workspaces and organizations the authenticated user belongs to","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_search_tasks":{"id":"asana_search_tasks","name":"Asana Search Tasks","description":"Search for tasks in an Asana workspace","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"workspace":{"type":"string","required":true,"visibility":"user-or-llm","description":"Asana workspace GID (numeric string) to search tasks in"},"text":{"type":"string","required":false,"visibility":"user-or-llm","description":"Text to search for in task names"},"assignee":{"type":"string","required":false,"visibility":"user-or-llm","description":"Filter tasks by assignee user GID"},"projects":{"type":"array","required":false,"visibility":"user-or-llm","description":"Array of Asana project GIDs (numeric strings) to filter tasks by"},"completed":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Filter by completion status"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"asana_update_task":{"id":"asana_update_task","name":"Asana Update Task","description":"Update an existing task in Asana","version":"1.0.0","params":{"accessToken":{"type":"string","required":true,"visibility":"hidden","description":"OAuth access token for Asana"},"taskGid":{"type":"string","required":true,"visibility":"user-or-llm","description":"Asana task GID (numeric string) of the task to update"},"name":{"type":"string","required":false,"visibility":"user-or-llm","description":"Updated name for the task"},"notes":{"type":"string","required":false,"visibility":"user-or-llm","description":"Updated notes or description for the task"},"assignee":{"type":"string","required":false,"visibility":"user-or-llm","description":"Updated assignee user GID"},"completed":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Mark task as completed or not completed"},"due_on":{"type":"string","required":false,"visibility":"user-or-llm","description":"Updated due date in YYYY-MM-DD format"}},"oauth":{"required":true,"provider":"asana"},"hostedApiKey":"none"},"ashby_add_candidate_tag":{"id":"ashby_add_candidate_tag","name":"Ashby Add Candidate Tag","description":"Adds a tag to a candidate in Ashby and returns the updated candidate.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ashby API Key"},"onBehalfOfUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Active Ashby user UUID to attribute this mutation to; the API key must permit on-behalf-of calls"},"candidateId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The UUID of the candidate to add the tag to"},"tagId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The UUID of the tag to add"}},"hostedApiKey":"none"},"ashby_anonymize_candidate":{"id":"ashby_anonymize_candidate","name":"Ashby Anonymize Candidate","description":"Strips personally identifiable information from a candidate in Ashby. This does not delete the candidate - the record and its applications remain, with the PII removed. Ashby exposes no candidate deletion endpoint; true deletion is UI-only, restricted by role, and limited to a 10-day window. Requires the candidatesWrite permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ashby API Key"},"onBehalfOfUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Active Ashby user UUID to attribute this mutation to; the API key must permit on-behalf-of calls"},"candidateId":{"type":"string","required":true,"visibility":"user-or-llm","description":"UUID of the candidate to anonymize"}},"hostedApiKey":"none"},"ashby_change_application_source":{"id":"ashby_change_application_source","name":"Ashby Change Application Source","description":"Changes the source attributed to an existing application, so programmatically created applications report correctly on the recruiting side. Requires the candidatesWrite permission.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ashby API Key"},"onBehalfOfUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Active Ashby user UUID to attribute this mutation to; the API key must permit on-behalf-of calls"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"UUID of the application whose source should change"},"sourceId":{"type":"string","required":false,"visibility":"user-or-llm","description":"UUID of the source to attribute the application to, as returned by List Sources. Omit only when unsetSource is true."},"unsetSource":{"type":"boolean","required":false,"visibility":"user-or-llm","description":"Set true to deliberately clear the application source. Required to unset, so that a missing or empty sourceId cannot wipe attribution by accident."}},"hostedApiKey":"none"},"ashby_change_application_stage":{"id":"ashby_change_application_stage","name":"Ashby Change Application Stage","description":"Moves an application to a different interview stage. Requires an archive reason when moving to an Archived stage.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ashby API Key"},"onBehalfOfUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Active Ashby user UUID to attribute this mutation to; the API key must permit on-behalf-of calls"},"applicationId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The UUID of the application to update the stage of"},"interviewStageId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The UUID of the interview stage to move the application to"},"archiveReasonId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Archive reason UUID. Required when moving to an Archived stage, ignored otherwise"},"archiveEmail":{"type":"json","required":false,"visibility":"user-or-llm","description":"Archive email configuration with communicationTemplateId and optional sendAt ISO 8601 timestamp. Pass null or omit to send no archive email."}},"hostedApiKey":"none"},"ashby_create_application":{"id":"ashby_create_application","name":"Ashby Create Application","description":"Creates a new application for a candidate on a job. Optionally specify interview plan, stage, source, and credited user.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ashby API Key"},"onBehalfOfUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Active Ashby user UUID to attribute this mutation to; the API key must permit on-behalf-of calls"},"candidateId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The UUID of the candidate to consider for the job"},"jobId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The UUID of the job to consider the candidate for"},"interviewPlanId":{"type":"string","required":false,"visibility":"user-or-llm","description":"UUID of the interview plan to use (defaults to the job default plan)"},"interviewStageId":{"type":"string","required":false,"visibility":"user-or-llm","description":"UUID of the interview stage to place the application in, or FirstPreInterviewScreen (defaults to the first Lead stage)"},"sourceId":{"type":"string","required":false,"visibility":"user-or-llm","description":"UUID of the source to set on the application"},"creditedToUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"UUID of the user the application is credited to"},"createdAt":{"type":"string","required":false,"visibility":"user-or-llm","description":"ISO 8601 timestamp to set as the application creation date (defaults to now)"},"applicationHistory":{"type":"json","required":false,"visibility":"user-or-llm","description":"Optional documented application history entries to create with the application"}},"hostedApiKey":"none"},"ashby_create_candidate":{"id":"ashby_create_candidate","name":"Ashby Create Candidate","description":"Creates a new candidate record in Ashby.","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ashby API Key"},"onBehalfOfUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Active Ashby user UUID to attribute this mutation to; the API key must permit on-behalf-of calls"},"name":{"type":"string","required":true,"visibility":"user-or-llm","description":"The candidate full name"},"email":{"type":"string","required":false,"visibility":"user-or-llm","description":"Primary email address for the candidate"},"phoneNumber":{"type":"string","required":false,"visibility":"user-or-llm","description":"Primary phone number for the candidate"},"linkedInUrl":{"type":"string","required":false,"visibility":"user-or-llm","description":"LinkedIn profile URL"},"githubUrl":{"type":"string","required":false,"visibility":"user-or-llm","description":"GitHub profile URL"},"website":{"type":"string","required":false,"visibility":"user-or-llm","description":"Personal website URL"},"sourceId":{"type":"string","required":false,"visibility":"user-or-llm","description":"UUID of the source to attribute the candidate to"},"creditedToUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"UUID of the Ashby user to credit with sourcing this candidate"},"createdAt":{"type":"string","required":false,"visibility":"user-or-llm","description":"Backdated creation timestamp in ISO 8601 (e.g. 2024-01-01T00:00:00Z). Defaults to now."},"alternateEmailAddresses":{"type":"json","required":false,"visibility":"user-or-llm","description":"Array of additional email address strings to add to the candidate, e.g. [\\"a@x.com\\",\\"b@y.com\\"]"},"location":{"type":"json","required":false,"visibility":"user-or-llm","description":"Candidate location object with optional city, region, and country"}},"hostedApiKey":"none"},"ashby_create_note":{"id":"ashby_create_note","name":"Ashby Create Note","description":"Creates a note on a candidate in Ashby. Supports plain text and HTML content (bold, italic, underline, links, lists, code).","version":"1.0.0","params":{"apiKey":{"type":"string","required":true,"visibility":"user-only","description":"Ashby API Key"},"onBehalfOfUserId":{"type":"string","required":false,"visibility":"user-or-llm","description":"Active Ashby user UUID to attribute this mutation to; the API key must permit on-behalf-of calls"},"candidateId":{"type":"string","required":true,"visibility":"user-or-llm","description":"The UUID of the candidate to add the note to"},"note":{"type":"string","required":true,"visibility":"user-or-llm","description":"The note content. If noteType is text/html, supports: , , , ,