Skip to main content

execute_tool

Method
This is a method of the ToolPluginProtocol class in the plugins module.
Execute a tool by name

Signature

def execute_tool(&self, name: &str, args: serde_json::Value) -> Result<serde_json::Value, String>

Parameters

name
&str
required
No description available.
args
serde_json::Value
required
No description available.

Returns

Returns
Result<serde_json::Value, String>
The result of the operation.