Outil
Executes a tool registered in the workspace tool registry. Allows calling custom functions or predefined tools.
Parameters
| Parameter | Type | Required | Variable | Description |
|---|---|---|---|---|
toolName | text | Yes | No | ToolRegistry tool name to execute (e.g. semantic_query, entity_lookup, http_request, graph_neighbors). |
inputMappings | array | No | No | Tool parameter mappings. Each entry maps a parameter to a literal value or a variable. |
timeout | number | No | No | Timeout in milliseconds for tool execution. |
retryOnError | boolean | No | No | Automatically retry the tool on error. (Default: false) |
maxRetries | number | No | No | Maximum number of retry attempts on error. (Default: 1, min 1, max 10) |
outputVariable | text | No | No | Output variable name containing the tool result. |
Output
Output variable : toolResult
{
"result": "..."
}
Example
Call a geocoding tool.
Input :
{"toolName": "geocode", "address": "12 rue Victor Hugo, Paris"}
Output :
{"result": {"lat": 48.8566, "lon": 2.3522}}
Tip
{{toolResult.result}} contains the tool output. The structure depends on the tool executed. See each tool's documentation.