# GETAGENTTOOLDATA

## Aperçu

L'application de workflow **GETAGENTTOOLDATA** permet d'extraire les informations d'un outil qui peut être fourni par une application comme [OPENAICHAT](/admin-fr/applications-de-workflow/openai/openaichat.md).

## Mode de fonctionnement

* L'application permet d'extraire le nom, l'identifiant et les paramètres de l'outil en manipulation.
* Il est aussi possible d'extraire les paramètres un par un en spécifiant le nom du paramètre directement dans le nom.

## Paramètres

<table data-full-width="false"><thead><tr><th width="238.4158935546875" valign="top">Paramètre</th><th width="109.3831787109375" valign="top">Type</th><th width="107.7122802734375" valign="top">Direction</th><th valign="top">Description</th></tr></thead><tbody><tr><td valign="top"><code>TOOL_DATA</code></td><td valign="top">TEXT</td><td valign="top">IN</td><td valign="top"><strong>Requis</strong><br>L'outil au format JSON à manipuler</td></tr><tr><td valign="top"><code>TOOL_NAME</code></td><td valign="top">TEXT</td><td valign="top">OUT</td><td valign="top">Le nom de l'outil</td></tr><tr><td valign="top"><code>TOOL_ID</code></td><td valign="top">TEXT</td><td valign="top">OUT</td><td valign="top">L'identifiant de l'outil</td></tr><tr><td valign="top"><code>TOOL_PARAMETERS</code></td><td valign="top">TEXT</td><td valign="top">OUT</td><td valign="top">Les paramètres de l'outil au format JSON</td></tr><tr><td valign="top"><code>proprietéAExtraire</code></td><td valign="top">TEXT</td><td valign="top">OUT</td><td valign="top">Propriété à extraire dans les paramètres</td></tr></tbody></table>

## Exemple

#### Entrée

<table><thead><tr><th valign="top">Paramètre</th><th valign="top">Valeur</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>

#### Sortie

<table><thead><tr><th valign="top">Paramètre</th><th valign="top">Valeur</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: 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-fr/applications-de-workflow/application-de-workflow-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.
