handle_list_agents

Function handle_list_agents 

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

Handler for GET /agents/list.

Returns all registered agents with their metadata, tool lists, and argument schemas. Includes TOML, Lua, and custom Rust agents.