tool
Function
This function is defined in the praisonai_derive module.The
#[tool] attribute macro for defining tools. This macro transforms a function into a tool that can be used by agents. # Attributes - description: A description of what the tool does (required for LLM understanding) - name: Override the tool name (defaults to function name)
Signature
Parameters
No description available.
No description available.
Returns
The result of the operation.
Usage
Uses
parseris_identvalueparseerrornameunwrap_or_elsepathpush_strtrim
Source
View on GitHub
praisonai-derive/src/lib.rs at line 46
