Docs: Components cleanup (#5987)

* docs: Expand vector stores documentation with new components

Add detailed documentation for:
- AstraDB Graph vector store
- Elasticsearch vector store

Update existing documentation links and improve component descriptions

* filesize-note

* docs: Update memory chatbot tutorial and add new components documentation

* docs: new-api-request-inputs

* docs: Update documentation to replace deprecated "Flow as Tool" with "Run flow" component

* docs: Add Tavily AI Search and Wikidata components documentation

* renamed-conditional-router

* move-url-component

* docs:url-fix

* Apply suggestions from code review

* docs: cloudflare links

* docs: improve link formatting

* docs: add output details

* docs: add SQL Query and Batch Run component

* fix-bottom-table

* avoid-future-tense

* code-review

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

* fix-linking-errors

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
This commit is contained in:
Mendon Kissling 2025-01-31 15:25:58 -05:00 • committed by GitHub
commit 31c6b1240b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 605 additions and 66 deletions

View file

@ -174,14 +174,15 @@ inputs = [
]
```
## Add flows as tools
## Use the Run Flow component as a tool
An agent can use flows that are saved in your workspace as tools with the [Flow as Tool](/components-logic#flow-as-tool) component.
An agent can use flows that are saved in your workspace as tools with the [Run flow](/components-logic#run-flow) component.
1. To add a **Flow as Tool** component, click and drag a **Flow as Tool** component to your workspace.
1. To add a **Run flow** component, click and drag a **Run flow** component to your workspace.
2. Select the flow you want the agent to use as a tool.
3. Enable **Tool Mode** in the component.
3. Connect the tool output to the agent's tools input.
4. Ask the agent, `What tools are you using to answer my questions?`
Your **Flow as Tool** flow should be visible in the response.
Your flow should be visible in the response.