Skip to main content

run_choice

Function run_choice 

Source
pub async fn run_choice(
    choice: &BackendChoice,
    query: &str,
) -> Result<ToolResult>
Expand description

Execute one backend choice and return its raw ToolResult.

The query is forwarded when the router omits an explicit pattern/query arg in choice.args.