Skip to main content

Outil

Executes a tool registered in the workspace tool registry. Allows calling custom functions or predefined tools.

Parameters

ParameterTypeRequiredVariableDescription
toolNametextYesNoToolRegistry tool name to execute (e.g. semantic_query, entity_lookup, http_request, graph_neighbors).
inputMappingsarrayNoNoTool parameter mappings. Each entry maps a parameter to a literal value or a variable.
timeoutnumberNoNoTimeout in milliseconds for tool execution.
retryOnErrorbooleanNoNoAutomatically retry the tool on error. (Default: false)
maxRetriesnumberNoNoMaximum number of retry attempts on error. (Default: 1, min 1, max 10)
outputVariabletextNoNoOutput 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.