Navigation
API > API/Plugins > API/Plugins/ToolsetRegistry > API/Plugins/ToolsetRegistry/UToolsetRegistry
Description
Execute a registered tool given a toolset and tool name as if it was being executed by an AI assistant. If successful, the result's value is a JSON string containing the tool's return value. If a failure occurs, the result will contain an error.
| Name | ExecuteTool |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ToolsetRegistry/Source/ToolsetRegistry/Public/ToolsetRegistry/UToolsetRegistry.h |
| Include Path | #include "ToolsetRegistry/UToolsetRegistry.h" |
| Source | /Engine/Plugins/Experimental/ToolsetRegistry/Source/ToolsetRegistry/Private/ToolsetRegistry/UToolsetRegistry.cpp |
UFUNCTION (BlueprintCallable, Category="ToolsetRegistry")
static UToolCallAsyncResultString * ExecuteTool
(
const FString & ToolsetName,
const FString & ToolName,
const FString & JsonInput
)