Skip to main content

execute_query

Function execute_query 

Source
pub async fn execute_query(
    config: Option<AppConfig>,
    args: QueryArgs,
) -> Result<QueryOutcome>
Expand description

Programmatic entry point — runs a query and returns the per- transport results without printing anything. Shared between the CLI runner and the MCP dns_resolve tool so behaviour stays in parity by construction.