# Workflow Application: GETAGENTTOOLDATA usage

**URL:** <https://discuss.workflowgen.com/t/workflow-application-getagenttooldata-usage/2262>\
**Category:** Workflow Applications\
**Created:** [December 5, 2024, 7:35pm UTC](https://discuss.workflowgen.com/t/workflow-application-getagenttooldata-usage/2262 "2024-12-05T19:35:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [December 5, 2024, 7:35pm UTC](https://discuss.workflowgen.com/t/workflow-application-getagenttooldata-usage/2262/1 "2024-12-05T19:35:31Z")

</div>

The **GETAGENTTOOLDATA** workflow application allows you to extract information from a tool that can be provided by an application such as [OPENAICHAT](https://discuss.workflowgen.com/t/workflow-application-openaichat-usage/2226).

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

| Direction | Type | Direction | Description |
| --- | --- | --- | --- |
| `TOOL_DATA` | TEXT | IN | Tool in JSON format to manipulate (required) |
| `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` |
