Icon

Sanity Check - Call tools

<p><strong>Agentic AI Learnathon - Call Tools (Group 1 and Group 2)</strong></p><p>In this exercise, you will learn how to call a tool to retrieve information. You'll practice using the Call Workflow nodes to send a JSON object to another workflow and receive a JSON response in return.</p>
☎️ Step 2a. (Group 1) Call the Employee Location tool

Only if you solved the exercise for Group 1.

Get the number of employees at the location of the selected employee.

  1. Between the two nodes, add a Call Workflow (Row Based) node to call the Employee location tool workflow. In the node configuration, select

    • Workflow location: Relative to + Current workflow

    • Workflow : ../Group 1 - Define a tool (AI free!)

  2. Select the JSON column Tool input as input parameter.


Make sure to select this tool in the component view in Step 1.

❗Troubleshooting


  1. If the Call Workflow node gives an error during the execution

    • Open the tool workflow and make sure that it is correctly configured and all nodes can be executed.

    • If it is an intelligent tool, make sure that it contains the credentials for the LLM.

    • Reset all the nodes in the tool workflow, save it and close it.

  2. If you can't execute the Call Workflow node (no traffic light)

    • Open the component view in Step 1 and make sure that you have selected the correct tool.

  3. If the tool always produce the same output regardless of the input

    • Open the tool workflow and make sure that you have connected the Tool definition.

    • Reset all the nodes in the tool workflow, save it and close it.

    • Open the configuration of the Call Workflow node and make sure that you have selected the Tool input column as input parameter.

Sanity Check - Call tools ☎️

Call the tool that you have defined (Group 1 and Group 2)


In this exercise, you will learn how to call a tool to retrieve information. You'll practice using the Call Workflow nodes to send a JSON object to another workflow and receive a JSON response in return.


Step 1. Select tool and input

Open the view of this component by clicking the icon.

  1. Select the tool that you want to call from the dropdown list.

  2. Provide the input for the tool.

  3. Click Close and Apply temporarily to save your selection.


Note: only one output port will be active, containing the input for the selected tool.

☎️ Step 2b. (Group 2) Call the Company Information tool

Only if you solved the exercise for Group 2.

Get the requested information about the selected company.

  1. Between the two nodes, add a Call Workflow (Row Based) node to call the Company information tool workflow. In the configuration, select

    • Workflow location: Relative to + Current workflow

    • Workflow : ../Group 1 - Define a tool (AI free!)

  2. Select the JSON column Tool input as input parameter.


Make sure to select this tool in the component view in Step 1.

Step 3. Check tool output

Open the view of this component by clicking the icon. Check the table containing the tool output. Is is what you were expecting?

If something isn't working, have a look at the ❗Troubleshooting box.



Filterjson-output
Column Filter
Convert tool inputto JSON
Columns to JSON
Filterjson-output
Column Filter
Convert tool inputto JSON
Columns to JSON
Tool Output
Open the view of this componentand select the tool to execute
Select tool to call
CASE Switch End

Nodes

Extensions

Links