Skip to main content

praisonai_derive

Rust AI Agent SDK Procedural macros for PraisonAI This crate provides the #[tool] attribute macro for defining tools.

Example

Import

Functions

tool()

The #[tool] attribute macro for defining tools. This macro transforms a function into a tool that can be used by agents. # Attributes -…