> For the complete documentation index, see [llms.txt](https://docs.workflowgen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.workflowgen.com/admin/9.3/workflow-applications/getagenttooldata.md).

# GETAGENTTOOLDATA

## Overview

The **GETAGENTTOOLDATA** workflow application allows you to extract information from a tool that can be provided by an application such as [OPENAICHAT](/admin/9.3/workflow-applications/openai/openaichat.md).

## 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

<table><thead><tr><th width="205.82623291015625">Parameter</th><th width="107.94012451171875">Type</th><th width="108.42169189453125">Direction</th><th>Description</th></tr></thead><tbody><tr><td><code>TOOL_DATA</code></td><td>TEXT</td><td>IN</td><td><strong>Required</strong><br>Tool in JSON format to manipulate</td></tr><tr><td><code>TOOL_NAME</code></td><td>TEXT</td><td>OUT</td><td>Tool name</td></tr><tr><td><code>TOOL_ID</code></td><td>TEXT</td><td>OUT</td><td>Tool ID</td></tr><tr><td><code>TOOL_PARAMETERS</code></td><td>TEXT</td><td>OUT</td><td>Tool parameters in JSON format</td></tr><tr><td><code>propertyToExtract</code></td><td>TEXT</td><td>OUT</td><td>Property to extract in settings</td></tr></tbody></table>

## Example

#### IN

<table><thead><tr><th width="233.68658447265625" valign="top">Parameter</th><th valign="top">Value</th></tr></thead><tbody><tr><td valign="top"><code>TOOL_DATA</code></td><td valign="top"><code>{ "name":"GET_STOCK_INFORMATION", "id":"call_75hCa1n3NZtlLLx1VGqSXY8C", "parameters": { "serial_number":"v456" } }</code></td></tr></tbody></table>

#### OUT

<table><thead><tr><th width="234.39886474609375" valign="top">Parameter</th><th valign="top">Value</th></tr></thead><tbody><tr><td valign="top"><code>TOOL_NAME</code></td><td valign="top"><code>GET_STOCK_INFORMATION</code></td></tr><tr><td valign="top"><code>TOOL_ID</code></td><td valign="top"><code>call_75hCa1n3NZtlLLx1VGqSXY8C</code></td></tr><tr><td valign="top"><code>TOOL_PARAMETERS</code></td><td valign="top"><code>{ "serial_number":"v456" }</code></td></tr><tr><td valign="top"><code>serial_number</code></td><td valign="top"><code>v456</code></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.workflowgen.com/admin/9.3/workflow-applications/getagenttooldata.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
