Skip to main content

ToolPluginProtocol

Defined in the plugins module.
Rust AI Agent SDK Tool-providing plugin protocol

Methods

get_tools

fn get_tools(&self) -> Vec<ToolDefinition>
Get tool definitions provided by this plugin

execute_tool

fn execute_tool(&self, name: &str, args: serde_json::Value) -> Result<serde_json::Value, String>
Execute a tool by name Parameters:
NameType
name&str
argsserde_json::Value

Source

View on GitHub

praisonai/src/parity/plugins.rs at line 0