handle_list_tools

Function handle_list_tools 

Source
async fn handle_list_tools(
    __arg0: State<(AppState, (Arc<ToolRegistry>, Arc<AgentRegistry>))>,
) -> Json<ToolListResponse>
Expand description

Handler for GET /tools/list.

Returns all registered tools with their OpenAI function-calling parameter schemas. Built-in tools have builtin: true; Lua and custom Rust tools have builtin: false.