vex_tool

Attribute Macro vex_tool 

Source
#[vex_tool]
Expand description

Generates a ToolDefinition constant for an LLM tool function.

Usage:

#[vex_tool]
fn web_search(query: String) -> String { ... }

Generates a WEB_SEARCH_TOOL constant.