GETAGENTTOOLDATA

Overview

The GETAGENTTOOLDATA workflow application allows you to extract information from a tool that can be provided by an application such as OPENAICHAT.

How it works

  • The application allows you to extract the name, identifier, and parameters of the tool being manipulated.

  • It's also possible to extract the parameters one by one by specifying the name of the parameter directly in the name.

Parameters

Parameter
Type
Direction
Description

TOOL_DATA

TEXT

IN

Required Tool in JSON format to manipulate

TOOL_NAME

TEXT

OUT

Name of tool

TOOL_ID

TEXT

OUT

ID of tool

TOOL_PARAMETERS

TEXT

OUT

Tool parameters in JSON format

propertyToExtract

TEXT

OUT

Property to extract in settings

Example

IN

Parameter
Value

TOOL_DATA

{ "name":"GET_STOCK_INFORMATION", "id":"call_75hCa1n3NZtlLLx1VGqSXY8C", "parameters": { "serial_number":"v456" } }

OUT

Parameter
Value

TOOL_NAME

GET_STOCK_INFORMATION

TOOL_ID

call_75hCa1n3NZtlLLx1VGqSXY8C

TOOL_PARAMETERS

{ "serial_number":"v456" }

serial_number

v456