INNER CODE UNIT · Rust

run_tools_call_client

modelcontextprotocol/rust-sdk · conformance/src/bin/client.rs:928

async fn run_tools_call_client(server_url: &str, ctx: &ConformanceContext) -> anyhow::Result<()> {
    run_tools_call_client_with_lifecycle(server_url, ctx, conformance_lifecycle()).await
}

async fn run_discover_tools_call_client(
    server_url: &str,
    ctx: &ConformanceContext,
) -> anyhow::Result<()> {
    run_tools_call_client_with_lifecycle(
        server_url,
        ctx,
        ClientLifecycleMode::Discover {
            preferred_versions: preferred_protocol_versions(),
        },
    )
    .await
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…