Skip to main content

tool

Macro tool 

Source
tool!() { /* proc-macro */ }
Expand description

Defines the tool! macro for declaring tools. Generates a Tool impl with JSON Schema from params and wires an async closure as the executor.