Tool Plugin Protocol • Rust AI Agent SDK
ToolPluginProtocol: Tool-providing plugin protocol
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:
| Name | Type |
|---|---|
name | &str |
args | serde_json::Value |
Source
View on GitHubpraisonai/src/parity/plugins.rs at line 0