diff --git a/apps/docs/content/docs/blocks/function.mdx b/apps/docs/content/docs/blocks/function.mdx index ab1098835..8adfdc6a9 100644 --- a/apps/docs/content/docs/blocks/function.mdx +++ b/apps/docs/content/docs/blocks/function.mdx @@ -88,9 +88,8 @@ For security and performance reasons, function execution has certain limitations ### Outputs -- **Result**: The value returned by your function -- **Standard Output**: Any console output from your function -- **Execution Time**: The time taken to execute your function (in milliseconds) +- **result**: The value returned by your function +- **stdout**: Any console output from your function ## Example Usage diff --git a/apps/docs/content/docs/blocks/response.mdx b/apps/docs/content/docs/blocks/response.mdx index 2570acd87..d53e8fbb3 100644 --- a/apps/docs/content/docs/blocks/response.mdx +++ b/apps/docs/content/docs/blocks/response.mdx @@ -115,14 +115,9 @@ Headers are configured as key-value pairs: diff --git a/apps/docs/content/docs/tools/airtable.mdx b/apps/docs/content/docs/tools/airtable.mdx index 89084c35b..4ab40ebd4 100644 --- a/apps/docs/content/docs/tools/airtable.mdx +++ b/apps/docs/content/docs/tools/airtable.mdx @@ -182,10 +182,9 @@ Update multiple existing records in an Airtable table | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `records` | json | records of the response | -| ↳ `record` | json | record of the response | -| ↳ `metadata` | json | metadata of the response | +| `records` | json | records output from the block | +| `record` | json | record output from the block | +| `metadata` | json | metadata output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/autoblocks.mdx b/apps/docs/content/docs/tools/autoblocks.mdx index 341719db5..a4f611869 100644 --- a/apps/docs/content/docs/tools/autoblocks.mdx +++ b/apps/docs/content/docs/tools/autoblocks.mdx @@ -174,11 +174,10 @@ Manage and render prompts using Autoblocks prompt management system | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `promptId` | string | promptId of the response | -| ↳ `version` | string | version of the response | -| ↳ `renderedPrompt` | string | renderedPrompt of the response | -| ↳ `templates` | json | templates of the response | +| `promptId` | string | promptId output from the block | +| `version` | string | version output from the block | +| `renderedPrompt` | string | renderedPrompt output from the block | +| `templates` | json | templates output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/browser_use.mdx b/apps/docs/content/docs/tools/browser_use.mdx index 5159c88c5..4784121a2 100644 --- a/apps/docs/content/docs/tools/browser_use.mdx +++ b/apps/docs/content/docs/tools/browser_use.mdx @@ -102,11 +102,10 @@ Runs a browser automation task using BrowserUse | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `id` | string | id of the response | -| ↳ `success` | boolean | success of the response | -| ↳ `output` | any | output of the response | -| ↳ `steps` | json | steps of the response | +| `id` | string | id output from the block | +| `success` | boolean | success output from the block | +| `output` | any | output output from the block | +| `steps` | json | steps output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/clay.mdx b/apps/docs/content/docs/tools/clay.mdx index 728522e96..5693a9bcc 100644 --- a/apps/docs/content/docs/tools/clay.mdx +++ b/apps/docs/content/docs/tools/clay.mdx @@ -238,8 +238,7 @@ Populate Clay with data from a JSON file. Enables direct communication and notif | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `data` | any | data of the response | +| `data` | any | data output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/confluence.mdx b/apps/docs/content/docs/tools/confluence.mdx index 799cb1892..8bcd339a3 100644 --- a/apps/docs/content/docs/tools/confluence.mdx +++ b/apps/docs/content/docs/tools/confluence.mdx @@ -113,12 +113,11 @@ Update a Confluence page using the Confluence API. | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `ts` | string | ts of the response | -| ↳ `pageId` | string | pageId of the response | -| ↳ `content` | string | content of the response | -| ↳ `title` | string | title of the response | -| ↳ `success` | boolean | success of the response | +| `ts` | string | ts output from the block | +| `pageId` | string | pageId output from the block | +| `content` | string | content output from the block | +| `title` | string | title output from the block | +| `success` | boolean | success output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/discord.mdx b/apps/docs/content/docs/tools/discord.mdx index da3e1e938..c67059753 100644 --- a/apps/docs/content/docs/tools/discord.mdx +++ b/apps/docs/content/docs/tools/discord.mdx @@ -150,9 +150,8 @@ Retrieve information about a Discord user | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `message` | string | message of the response | -| ↳ `data` | any | data of the response | +| `message` | string | message output from the block | +| `data` | any | data output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/elevenlabs.mdx b/apps/docs/content/docs/tools/elevenlabs.mdx index d3b9295e0..68df5c143 100644 --- a/apps/docs/content/docs/tools/elevenlabs.mdx +++ b/apps/docs/content/docs/tools/elevenlabs.mdx @@ -80,8 +80,7 @@ Convert TTS using ElevenLabs voices | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `audioUrl` | string | audioUrl of the response | +| `audioUrl` | string | audioUrl output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/exa.mdx b/apps/docs/content/docs/tools/exa.mdx index 9aec1a1e3..72eebe5b2 100644 --- a/apps/docs/content/docs/tools/exa.mdx +++ b/apps/docs/content/docs/tools/exa.mdx @@ -158,11 +158,10 @@ Get an AI-generated answer to a question with citations from the web using Exa A | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `results` | json | results of the response | -| ↳ `similarLinks` | json | similarLinks of the response | -| ↳ `answer` | string | answer of the response | -| ↳ `citations` | json | citations of the response | +| `results` | json | results output from the block | +| `similarLinks` | json | similarLinks output from the block | +| `answer` | string | answer output from the block | +| `citations` | json | citations output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/file.mdx b/apps/docs/content/docs/tools/file.mdx index 20816c795..398bb1bf2 100644 --- a/apps/docs/content/docs/tools/file.mdx +++ b/apps/docs/content/docs/tools/file.mdx @@ -87,9 +87,8 @@ This tool does not produce any outputs. | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `files` | json | files of the response | -| ↳ `combinedContent` | string | combinedContent of the response | +| `files` | json | files output from the block | +| `combinedContent` | string | combinedContent output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/firecrawl.mdx b/apps/docs/content/docs/tools/firecrawl.mdx index 1f19918a4..9f9b7e4f4 100644 --- a/apps/docs/content/docs/tools/firecrawl.mdx +++ b/apps/docs/content/docs/tools/firecrawl.mdx @@ -111,12 +111,11 @@ Search for information on the web using Firecrawl | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `markdown` | string | markdown of the response | -| ↳ `html` | any | html of the response | -| ↳ `metadata` | json | metadata of the response | -| ↳ `data` | json | data of the response | -| ↳ `warning` | any | warning of the response | +| `markdown` | string | markdown output from the block | +| `html` | any | html output from the block | +| `metadata` | json | metadata output from the block | +| `data` | json | data output from the block | +| `warning` | any | warning output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/github.mdx b/apps/docs/content/docs/tools/github.mdx index 0bddfb669..6784fee00 100644 --- a/apps/docs/content/docs/tools/github.mdx +++ b/apps/docs/content/docs/tools/github.mdx @@ -174,9 +174,8 @@ Retrieve the latest commit from a GitHub repository | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `content` | string | content of the response | -| ↳ `metadata` | json | metadata of the response | +| `content` | string | content output from the block | +| `metadata` | json | metadata output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/gmail.mdx b/apps/docs/content/docs/tools/gmail.mdx index 8a3639666..29c8239bd 100644 --- a/apps/docs/content/docs/tools/gmail.mdx +++ b/apps/docs/content/docs/tools/gmail.mdx @@ -130,9 +130,8 @@ No configuration parameters required. | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `content` | string | content of the response | -| ↳ `metadata` | json | metadata of the response | +| `content` | string | content output from the block | +| `metadata` | json | metadata output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/google_calendar.mdx b/apps/docs/content/docs/tools/google_calendar.mdx index 1bac14004..839c747ed 100644 --- a/apps/docs/content/docs/tools/google_calendar.mdx +++ b/apps/docs/content/docs/tools/google_calendar.mdx @@ -228,9 +228,8 @@ Invite attendees to an existing Google Calendar event | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `content` | string | content of the response | -| ↳ `metadata` | json | metadata of the response | +| `content` | string | content output from the block | +| `metadata` | json | metadata output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/google_docs.mdx b/apps/docs/content/docs/tools/google_docs.mdx index fa1cb2fd0..c6ca2893a 100644 --- a/apps/docs/content/docs/tools/google_docs.mdx +++ b/apps/docs/content/docs/tools/google_docs.mdx @@ -159,10 +159,9 @@ Create a new Google Docs document | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `content` | string | content of the response | -| ↳ `metadata` | json | metadata of the response | -| ↳ `updatedContent` | boolean | updatedContent of the response | +| `content` | string | content output from the block | +| `metadata` | json | metadata output from the block | +| `updatedContent` | boolean | updatedContent output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/google_drive.mdx b/apps/docs/content/docs/tools/google_drive.mdx index 4cb311933..3b00aa8e3 100644 --- a/apps/docs/content/docs/tools/google_drive.mdx +++ b/apps/docs/content/docs/tools/google_drive.mdx @@ -177,9 +177,8 @@ List files and folders in Google Drive | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `file` | json | file of the response | -| ↳ `files` | json | files of the response | +| `file` | json | file output from the block | +| `files` | json | files output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/google_search.mdx b/apps/docs/content/docs/tools/google_search.mdx index 4f93f3864..c2d811ef3 100644 --- a/apps/docs/content/docs/tools/google_search.mdx +++ b/apps/docs/content/docs/tools/google_search.mdx @@ -101,7 +101,11 @@ Search the web with the Custom Search API ### Outputs -This block does not produce any outputs. +| Output | Type | Description | +| ------ | ---- | ----------- | +| `items` | json | items output from the block | +| `searchInformation` | json | searchInformation output from the block | + ## Notes diff --git a/apps/docs/content/docs/tools/google_sheets.mdx b/apps/docs/content/docs/tools/google_sheets.mdx index 3588e1c7f..bac32e65b 100644 --- a/apps/docs/content/docs/tools/google_sheets.mdx +++ b/apps/docs/content/docs/tools/google_sheets.mdx @@ -212,14 +212,13 @@ Append data to the end of a Google Sheets spreadsheet | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `data` | json | data of the response | -| ↳ `metadata` | json | metadata of the response | -| ↳ `updatedRange` | string | updatedRange of the response | -| ↳ `updatedRows` | number | updatedRows of the response | -| ↳ `updatedColumns` | number | updatedColumns of the response | -| ↳ `updatedCells` | number | updatedCells of the response | -| ↳ `tableRange` | string | tableRange of the response | +| `data` | json | data output from the block | +| `metadata` | json | metadata output from the block | +| `updatedRange` | string | updatedRange output from the block | +| `updatedRows` | number | updatedRows output from the block | +| `updatedColumns` | number | updatedColumns output from the block | +| `updatedCells` | number | updatedCells output from the block | +| `tableRange` | string | tableRange output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/guesty.mdx b/apps/docs/content/docs/tools/guesty.mdx index c1e549092..864dca2d5 100644 --- a/apps/docs/content/docs/tools/guesty.mdx +++ b/apps/docs/content/docs/tools/guesty.mdx @@ -107,15 +107,14 @@ Search for guests in Guesty by phone number | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `id` | string | id of the response | -| ↳ `guest` | json | guest of the response | -| ↳ `checkIn` | string | checkIn of the response | -| ↳ `checkOut` | string | checkOut of the response | -| ↳ `status` | string | status of the response | -| ↳ `listing` | json | listing of the response | -| ↳ `money` | json | money of the response | -| ↳ `guests` | json | guests of the response | +| `id` | string | id output from the block | +| `guest` | json | guest output from the block | +| `checkIn` | string | checkIn output from the block | +| `checkOut` | string | checkOut output from the block | +| `status` | string | status output from the block | +| `listing` | json | listing output from the block | +| `money` | json | money output from the block | +| `guests` | json | guests output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/huggingface.mdx b/apps/docs/content/docs/tools/huggingface.mdx index 837884ed4..0cea4603b 100644 --- a/apps/docs/content/docs/tools/huggingface.mdx +++ b/apps/docs/content/docs/tools/huggingface.mdx @@ -115,10 +115,9 @@ Generate completions using Hugging Face Inference API | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `content` | string | content of the response | -| ↳ `model` | string | model of the response | -| ↳ `usage` | json | usage of the response | +| `content` | string | content output from the block | +| `model` | string | model output from the block | +| `usage` | json | usage output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/image_generator.mdx b/apps/docs/content/docs/tools/image_generator.mdx index d26413773..6be17223f 100644 --- a/apps/docs/content/docs/tools/image_generator.mdx +++ b/apps/docs/content/docs/tools/image_generator.mdx @@ -93,10 +93,9 @@ Generate images using OpenAI | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `content` | string | content of the response | -| ↳ `image` | string | image of the response | -| ↳ `metadata` | json | metadata of the response | +| `content` | string | content output from the block | +| `image` | string | image output from the block | +| `metadata` | json | metadata output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/jina.mdx b/apps/docs/content/docs/tools/jina.mdx index d1de76f28..af649f976 100644 --- a/apps/docs/content/docs/tools/jina.mdx +++ b/apps/docs/content/docs/tools/jina.mdx @@ -101,8 +101,7 @@ Extract and process web content into clean, LLM-friendly text using Jina AI Read | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `content` | string | content of the response | +| `content` | string | content output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/jira.mdx b/apps/docs/content/docs/tools/jira.mdx index f5287e45a..952b2d6a0 100644 --- a/apps/docs/content/docs/tools/jira.mdx +++ b/apps/docs/content/docs/tools/jira.mdx @@ -165,15 +165,14 @@ Retrieve multiple Jira issues in bulk | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `ts` | string | ts of the response | -| ↳ `issueKey` | string | issueKey of the response | -| ↳ `summary` | string | summary of the response | -| ↳ `description` | string | description of the response | -| ↳ `created` | string | created of the response | -| ↳ `updated` | string | updated of the response | -| ↳ `success` | boolean | success of the response | -| ↳ `url` | string | url of the response | +| `ts` | string | ts output from the block | +| `issueKey` | string | issueKey output from the block | +| `summary` | string | summary output from the block | +| `description` | string | description output from the block | +| `created` | string | created output from the block | +| `updated` | string | updated output from the block | +| `success` | boolean | success output from the block | +| `url` | string | url output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/knowledge.mdx b/apps/docs/content/docs/tools/knowledge.mdx index b8f3dad06..1ffd84723 100644 --- a/apps/docs/content/docs/tools/knowledge.mdx +++ b/apps/docs/content/docs/tools/knowledge.mdx @@ -66,6 +66,13 @@ Search for similar content in one or more knowledge bases using vector similarit | `knowledgeBaseIds` | string | Yes | ID of the knowledge base to search in, or comma-separated IDs for multiple knowledge bases | | `query` | string | Yes | Search query text | | `topK` | number | No | Number of most similar results to return \(1-100\) | +| `tag1` | string | No | Filter by tag 1 value | +| `tag2` | string | No | Filter by tag 2 value | +| `tag3` | string | No | Filter by tag 3 value | +| `tag4` | string | No | Filter by tag 4 value | +| `tag5` | string | No | Filter by tag 5 value | +| `tag6` | string | No | Filter by tag 6 value | +| `tag7` | string | No | Filter by tag 7 value | #### Output @@ -111,6 +118,13 @@ Create a new document in a knowledge base | `knowledgeBaseId` | string | Yes | ID of the knowledge base containing the document | | `name` | string | Yes | Name of the document | | `content` | string | Yes | Content of the document | +| `tag1` | string | No | Tag 1 value for the document | +| `tag2` | string | No | Tag 2 value for the document | +| `tag3` | string | No | Tag 3 value for the document | +| `tag4` | string | No | Tag 4 value for the document | +| `tag5` | string | No | Tag 5 value for the document | +| `tag6` | string | No | Tag 6 value for the document | +| `tag7` | string | No | Tag 7 value for the document | #### Output @@ -135,10 +149,9 @@ Create a new document in a knowledge base | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `results` | json | results of the response | -| ↳ `query` | string | query of the response | -| ↳ `totalResults` | number | totalResults of the response | +| `results` | json | results output from the block | +| `query` | string | query output from the block | +| `totalResults` | number | totalResults output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/linear.mdx b/apps/docs/content/docs/tools/linear.mdx index 13a9b55c6..1362e9ea4 100644 --- a/apps/docs/content/docs/tools/linear.mdx +++ b/apps/docs/content/docs/tools/linear.mdx @@ -105,9 +105,8 @@ Create a new issue in Linear | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `issues` | json | issues of the response | -| ↳ `issue` | json | issue of the response | +| `issues` | json | issues output from the block | +| `issue` | json | issue output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/linkup.mdx b/apps/docs/content/docs/tools/linkup.mdx index 7145533c6..99d91fb04 100644 --- a/apps/docs/content/docs/tools/linkup.mdx +++ b/apps/docs/content/docs/tools/linkup.mdx @@ -92,9 +92,8 @@ Search the web for information using Linkup | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `answer` | string | answer of the response | -| ↳ `sources` | json | sources of the response | +| `answer` | string | answer output from the block | +| `sources` | json | sources output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/mem0.mdx b/apps/docs/content/docs/tools/mem0.mdx index 0c52cfcb3..8efc9f1b8 100644 --- a/apps/docs/content/docs/tools/mem0.mdx +++ b/apps/docs/content/docs/tools/mem0.mdx @@ -126,10 +126,9 @@ Retrieve memories from Mem0 by ID or filter criteria | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `ids` | any | ids of the response | -| ↳ `memories` | any | memories of the response | -| ↳ `searchResults` | any | searchResults of the response | +| `ids` | any | ids output from the block | +| `memories` | any | memories output from the block | +| `searchResults` | any | searchResults output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/memory.mdx b/apps/docs/content/docs/tools/memory.mdx index 7ab042490..1a236dba5 100644 --- a/apps/docs/content/docs/tools/memory.mdx +++ b/apps/docs/content/docs/tools/memory.mdx @@ -124,9 +124,8 @@ Delete a specific memory by its ID | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `memories` | any | memories of the response | -| ↳ `id` | string | id of the response | +| `memories` | any | memories output from the block | +| `id` | string | id output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/microsoft_excel.mdx b/apps/docs/content/docs/tools/microsoft_excel.mdx index 1d44c2112..50b1c2b29 100644 --- a/apps/docs/content/docs/tools/microsoft_excel.mdx +++ b/apps/docs/content/docs/tools/microsoft_excel.mdx @@ -180,15 +180,14 @@ Add new rows to a Microsoft Excel table | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `data` | json | data of the response | -| ↳ `metadata` | json | metadata of the response | -| ↳ `updatedRange` | string | updatedRange of the response | -| ↳ `updatedRows` | number | updatedRows of the response | -| ↳ `updatedColumns` | number | updatedColumns of the response | -| ↳ `updatedCells` | number | updatedCells of the response | -| ↳ `index` | number | index of the response | -| ↳ `values` | json | values of the response | +| `data` | json | data output from the block | +| `metadata` | json | metadata output from the block | +| `updatedRange` | string | updatedRange output from the block | +| `updatedRows` | number | updatedRows output from the block | +| `updatedColumns` | number | updatedColumns output from the block | +| `updatedCells` | number | updatedCells output from the block | +| `index` | number | index output from the block | +| `values` | json | values output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/microsoft_teams.mdx b/apps/docs/content/docs/tools/microsoft_teams.mdx index d5845ed83..fba360ad5 100644 --- a/apps/docs/content/docs/tools/microsoft_teams.mdx +++ b/apps/docs/content/docs/tools/microsoft_teams.mdx @@ -205,10 +205,9 @@ Write or send a message to a Microsoft Teams channel | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `content` | string | content of the response | -| ↳ `metadata` | json | metadata of the response | -| ↳ `updatedContent` | boolean | updatedContent of the response | +| `content` | string | content output from the block | +| `metadata` | json | metadata output from the block | +| `updatedContent` | boolean | updatedContent output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/mistral_parse.mdx b/apps/docs/content/docs/tools/mistral_parse.mdx index 85dd4238c..e6be7f2dc 100644 --- a/apps/docs/content/docs/tools/mistral_parse.mdx +++ b/apps/docs/content/docs/tools/mistral_parse.mdx @@ -122,9 +122,8 @@ This tool does not produce any outputs. | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `content` | string | content of the response | -| ↳ `metadata` | json | metadata of the response | +| `content` | string | content output from the block | +| `metadata` | json | metadata output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/notion.mdx b/apps/docs/content/docs/tools/notion.mdx index c30ff9bbb..59bc3ea3b 100644 --- a/apps/docs/content/docs/tools/notion.mdx +++ b/apps/docs/content/docs/tools/notion.mdx @@ -117,9 +117,8 @@ Create a new page in Notion | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `content` | string | content of the response | -| ↳ `metadata` | any | metadata of the response | +| `content` | string | content output from the block | +| `metadata` | any | metadata output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/openai.mdx b/apps/docs/content/docs/tools/openai.mdx index 50f9f0e92..2461ca304 100644 --- a/apps/docs/content/docs/tools/openai.mdx +++ b/apps/docs/content/docs/tools/openai.mdx @@ -88,10 +88,9 @@ Generate embeddings from text using OpenAI | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `embeddings` | json | embeddings of the response | -| ↳ `model` | string | model of the response | -| ↳ `usage` | json | usage of the response | +| `embeddings` | json | embeddings output from the block | +| `model` | string | model output from the block | +| `usage` | json | usage output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/outlook.mdx b/apps/docs/content/docs/tools/outlook.mdx index adb05fc75..a0bdac899 100644 --- a/apps/docs/content/docs/tools/outlook.mdx +++ b/apps/docs/content/docs/tools/outlook.mdx @@ -225,9 +225,8 @@ Read emails from Outlook | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `message` | string | message of the response | -| ↳ `results` | json | results of the response | +| `message` | string | message output from the block | +| `results` | json | results output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/perplexity.mdx b/apps/docs/content/docs/tools/perplexity.mdx index e1983bf6f..64a5c920b 100644 --- a/apps/docs/content/docs/tools/perplexity.mdx +++ b/apps/docs/content/docs/tools/perplexity.mdx @@ -83,10 +83,9 @@ Generate completions using Perplexity AI chat models | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `content` | string | content of the response | -| ↳ `model` | string | model of the response | -| ↳ `usage` | json | usage of the response | +| `content` | string | content output from the block | +| `model` | string | model output from the block | +| `usage` | json | usage output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/pinecone.mdx b/apps/docs/content/docs/tools/pinecone.mdx index 0fc0db86e..bc7216820 100644 --- a/apps/docs/content/docs/tools/pinecone.mdx +++ b/apps/docs/content/docs/tools/pinecone.mdx @@ -181,13 +181,12 @@ Fetch vectors by ID from a Pinecone index | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `matches` | any | matches of the response | -| ↳ `upsertedCount` | any | upsertedCount of the response | -| ↳ `data` | any | data of the response | -| ↳ `model` | any | model of the response | -| ↳ `vector_type` | any | vector_type of the response | -| ↳ `usage` | any | usage of the response | +| `matches` | any | matches output from the block | +| `upsertedCount` | any | upsertedCount output from the block | +| `data` | any | data output from the block | +| `model` | any | model output from the block | +| `vector_type` | any | vector_type output from the block | +| `usage` | any | usage output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/reddit.mdx b/apps/docs/content/docs/tools/reddit.mdx index 117fe4644..cea576bf4 100644 --- a/apps/docs/content/docs/tools/reddit.mdx +++ b/apps/docs/content/docs/tools/reddit.mdx @@ -129,11 +129,10 @@ Fetch comments from a specific Reddit post | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `subreddit` | string | subreddit of the response | -| ↳ `posts` | json | posts of the response | -| ↳ `post` | json | post of the response | -| ↳ `comments` | json | comments of the response | +| `subreddit` | string | subreddit output from the block | +| `posts` | json | posts output from the block | +| `post` | json | post output from the block | +| `comments` | json | comments output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/s3.mdx b/apps/docs/content/docs/tools/s3.mdx index 8bae2869c..a6b13d762 100644 --- a/apps/docs/content/docs/tools/s3.mdx +++ b/apps/docs/content/docs/tools/s3.mdx @@ -89,9 +89,8 @@ Retrieve an object from an AWS S3 bucket | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `url` | string | url of the response | -| ↳ `metadata` | json | metadata of the response | +| `url` | string | url output from the block | +| `metadata` | json | metadata output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/serper.mdx b/apps/docs/content/docs/tools/serper.mdx index 23eef752d..af518d680 100644 --- a/apps/docs/content/docs/tools/serper.mdx +++ b/apps/docs/content/docs/tools/serper.mdx @@ -121,8 +121,7 @@ A powerful web search tool that provides access to Google search results through | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `searchResults` | json | searchResults of the response | +| `searchResults` | json | searchResults output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/slack.mdx b/apps/docs/content/docs/tools/slack.mdx index e65bba323..c0021e1a8 100644 --- a/apps/docs/content/docs/tools/slack.mdx +++ b/apps/docs/content/docs/tools/slack.mdx @@ -98,9 +98,8 @@ Send messages to Slack channels or users through the Slack API. Supports Slack m | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `ts` | string | ts of the response | -| ↳ `channel` | string | channel of the response | +| `ts` | string | ts output from the block | +| `channel` | string | channel output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/stagehand.mdx b/apps/docs/content/docs/tools/stagehand.mdx index a3802dae3..412e54134 100644 --- a/apps/docs/content/docs/tools/stagehand.mdx +++ b/apps/docs/content/docs/tools/stagehand.mdx @@ -232,8 +232,7 @@ Extract structured data from a webpage using Stagehand | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `data` | json | data of the response | +| `data` | json | data output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/stagehand_agent.mdx b/apps/docs/content/docs/tools/stagehand_agent.mdx index a81c738a9..4a86d4b31 100644 --- a/apps/docs/content/docs/tools/stagehand_agent.mdx +++ b/apps/docs/content/docs/tools/stagehand_agent.mdx @@ -240,9 +240,8 @@ Run an autonomous web agent to complete tasks and extract structured data | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `agentResult` | json | agentResult of the response | -| ↳ `structuredOutput` | any | structuredOutput of the response | +| `agentResult` | json | agentResult output from the block | +| `structuredOutput` | any | structuredOutput output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/supabase.mdx b/apps/docs/content/docs/tools/supabase.mdx index 483675788..d40a0a831 100644 --- a/apps/docs/content/docs/tools/supabase.mdx +++ b/apps/docs/content/docs/tools/supabase.mdx @@ -127,9 +127,8 @@ Insert data into a Supabase table | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `message` | string | message of the response | -| ↳ `results` | json | results of the response | +| `message` | string | message output from the block | +| `results` | json | results output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/tavily.mdx b/apps/docs/content/docs/tools/tavily.mdx index 34bc1d5d0..fb025a610 100644 --- a/apps/docs/content/docs/tools/tavily.mdx +++ b/apps/docs/content/docs/tools/tavily.mdx @@ -121,13 +121,12 @@ Extract raw content from multiple web pages simultaneously using Tavily | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `results` | json | results of the response | -| ↳ `answer` | any | answer of the response | -| ↳ `query` | string | query of the response | -| ↳ `content` | string | content of the response | -| ↳ `title` | string | title of the response | -| ↳ `url` | string | url of the response | +| `results` | json | results output from the block | +| `answer` | any | answer output from the block | +| `query` | string | query output from the block | +| `content` | string | content output from the block | +| `title` | string | title output from the block | +| `url` | string | url output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/telegram.mdx b/apps/docs/content/docs/tools/telegram.mdx index 6b5da12ef..8bb0af584 100644 --- a/apps/docs/content/docs/tools/telegram.mdx +++ b/apps/docs/content/docs/tools/telegram.mdx @@ -121,9 +121,8 @@ Send messages to Telegram channels or users through the Telegram Bot API. Enable | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `ok` | boolean | ok of the response | -| ↳ `result` | json | result of the response | +| `ok` | boolean | ok output from the block | +| `result` | json | result output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/thinking.mdx b/apps/docs/content/docs/tools/thinking.mdx index 6f6b7c7b3..01026d23c 100644 --- a/apps/docs/content/docs/tools/thinking.mdx +++ b/apps/docs/content/docs/tools/thinking.mdx @@ -87,8 +87,7 @@ Processes a provided thought/instruction, making it available for subsequent ste | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `acknowledgedThought` | string | acknowledgedThought of the response | +| `acknowledgedThought` | string | acknowledgedThought output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/translate.mdx b/apps/docs/content/docs/tools/translate.mdx index cd7942c8c..0c92a8d71 100644 --- a/apps/docs/content/docs/tools/translate.mdx +++ b/apps/docs/content/docs/tools/translate.mdx @@ -95,10 +95,9 @@ This tool does not produce any outputs. | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `content` | string | content of the response | -| ↳ `model` | string | model of the response | -| ↳ `tokens` | any | tokens of the response | +| `content` | string | content output from the block | +| `model` | string | model output from the block | +| `tokens` | any | tokens output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/twilio_sms.mdx b/apps/docs/content/docs/tools/twilio_sms.mdx index 43b0d3639..941b9376a 100644 --- a/apps/docs/content/docs/tools/twilio_sms.mdx +++ b/apps/docs/content/docs/tools/twilio_sms.mdx @@ -78,11 +78,10 @@ Send text messages to single or multiple recipients using the Twilio API. | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `success` | boolean | success of the response | -| ↳ `messageId` | any | messageId of the response | -| ↳ `status` | any | status of the response | -| ↳ `error` | any | error of the response | +| `success` | boolean | success output from the block | +| `messageId` | any | messageId output from the block | +| `status` | any | status output from the block | +| `error` | any | error output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/typeform.mdx b/apps/docs/content/docs/tools/typeform.mdx index fb6f655b7..9bed721a4 100644 --- a/apps/docs/content/docs/tools/typeform.mdx +++ b/apps/docs/content/docs/tools/typeform.mdx @@ -126,10 +126,9 @@ This tool does not produce any outputs. | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `total_items` | number | total_items of the response | -| ↳ `page_count` | number | page_count of the response | -| ↳ `items` | json | items of the response | +| `total_items` | number | total_items output from the block | +| `page_count` | number | page_count output from the block | +| `items` | json | items output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/vision.mdx b/apps/docs/content/docs/tools/vision.mdx index 0be379c03..ee9a4e8f2 100644 --- a/apps/docs/content/docs/tools/vision.mdx +++ b/apps/docs/content/docs/tools/vision.mdx @@ -90,10 +90,9 @@ Process and analyze images using advanced vision models. Capable of understandin | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `content` | string | content of the response | -| ↳ `model` | any | model of the response | -| ↳ `tokens` | any | tokens of the response | +| `content` | string | content output from the block | +| `model` | any | model output from the block | +| `tokens` | any | tokens output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/whatsapp.mdx b/apps/docs/content/docs/tools/whatsapp.mdx index 8b52943f2..0a877b8ab 100644 --- a/apps/docs/content/docs/tools/whatsapp.mdx +++ b/apps/docs/content/docs/tools/whatsapp.mdx @@ -79,10 +79,9 @@ Send WhatsApp messages | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `success` | boolean | success of the response | -| ↳ `messageId` | any | messageId of the response | -| ↳ `error` | any | error of the response | +| `success` | boolean | success output from the block | +| `messageId` | any | messageId output from the block | +| `error` | any | error output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/x.mdx b/apps/docs/content/docs/tools/x.mdx index 9c1121e84..7cc06128b 100644 --- a/apps/docs/content/docs/tools/x.mdx +++ b/apps/docs/content/docs/tools/x.mdx @@ -145,15 +145,14 @@ Get user profile information | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `tweet` | json | tweet of the response | -| ↳ `replies` | any | replies of the response | -| ↳ `context` | any | context of the response | -| ↳ `tweets` | json | tweets of the response | -| ↳ `includes` | any | includes of the response | -| ↳ `meta` | json | meta of the response | -| ↳ `user` | json | user of the response | -| ↳ `recentTweets` | any | recentTweets of the response | +| `tweet` | json | tweet output from the block | +| `replies` | any | replies output from the block | +| `context` | any | context output from the block | +| `tweets` | json | tweets output from the block | +| `includes` | any | includes output from the block | +| `meta` | json | meta output from the block | +| `user` | json | user output from the block | +| `recentTweets` | any | recentTweets output from the block | ## Notes diff --git a/apps/docs/content/docs/tools/youtube.mdx b/apps/docs/content/docs/tools/youtube.mdx index 5c701f388..25fa51d94 100644 --- a/apps/docs/content/docs/tools/youtube.mdx +++ b/apps/docs/content/docs/tools/youtube.mdx @@ -82,9 +82,8 @@ Search for videos on YouTube using the YouTube Data API. | Output | Type | Description | | ------ | ---- | ----------- | -| `response` | object | Output from response | -| ↳ `items` | json | items of the response | -| ↳ `totalResults` | number | totalResults of the response | +| `items` | json | items output from the block | +| `totalResults` | number | totalResults output from the block | ## Notes diff --git a/scripts/generate-block-docs.ts b/scripts/generate-block-docs.ts index 5fc0f8836..a5523485c 100644 --- a/scripts/generate-block-docs.ts +++ b/scripts/generate-block-docs.ts @@ -356,7 +356,30 @@ function extractOutputs(content: string): Record { const outputsContent = outputsMatch[1].trim() const outputs: Record = {} - // Try to extract fields from the outputs object + // First try to handle the new flat format: fieldName: 'type' + const flatFieldMatches = outputsContent.match(/(\w+)\s*:\s*['"]([^'"]+)['"]/g) + + if (flatFieldMatches && flatFieldMatches.length > 0) { + flatFieldMatches.forEach((fieldMatch) => { + const fieldParts = fieldMatch.match(/(\w+)\s*:\s*['"]([^'"]+)['"]/) + if (fieldParts) { + const fieldName = fieldParts[1] + const fieldType = fieldParts[2] + + outputs[fieldName] = { + type: fieldType, + description: `${fieldName} output from the block`, + } + } + }) + + // If we found flat fields, return them + if (Object.keys(outputs).length > 0) { + return outputs + } + } + + // Fallback: Try to extract fields from the old nested format const fieldMatches = outputsContent.match(/(\w+)\s*:\s*{([^}]+)}/g) if (fieldMatches && fieldMatches.length > 0) {