Skip to main content

tools

Rust AI Agent SDK Tool system for PraisonAI This module provides the tool abstraction for agents. Tools are functions that agents can call to perform actions.

Example

use praisonai_core::{tool, Tool};

#[tool(description = "Search the web")]
async fn search(query: String) -> String {
format!("Results for: {}", query)
}

Import

use praisonai::tools::*;

Types