tools • Rust AI Agent SDK

Tool system for PraisonAI

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

rust,ignore
use praisonai_core::{tool, Tool};

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

Import

rust
use praisonai::tools::*;

Classes


Related Documentation