docs: Update agent tool documentation and enhance flow as tool component (#4636)
* docs: Update agent tool documentation and enhance flow as tool component details * docs: Update component terminology for consistency and improve section title * chore: add lucide-react dependency to package-lock and yarn.lock
This commit is contained in:
parent
d5010c5d0b
commit
3fd4a61310
5 changed files with 27 additions and 10 deletions
|
|
@ -148,10 +148,6 @@ Text Analyzer: I can analyze and transform input text.
|
|||
Current Date and Time: I can retrieve the current date and time in various time zones.
|
||||
```
|
||||
|
||||
4. Click **Check & Save**.
|
||||
|
||||
Your component now has a **Tool Mode** button, and can be used by an agent.
|
||||
|
||||
## Make any component a tool
|
||||
|
||||
These components support **Tool Mode**:
|
||||
|
|
@ -181,12 +177,12 @@ inputs = [
|
|||
|
||||
## Add flows as tools
|
||||
|
||||
An agent can use flows that are saved in your workspace as tools.
|
||||
An agent can use flows that are saved in your workspace as tools with the [Flow as Tool](/components-logic#flow-as-tool) component.
|
||||
|
||||
1. To add a **Flow as tool** component, click and drag a **Flow as tool** component to your workspace.
|
||||
1. To add a **Flow as Tool** component, click and drag a **Flow as Tool** component to your workspace.
|
||||
2. Select the flow you want the agent to use as a tool.
|
||||
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 as Tool** flow should be visible in the response.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue