adk-tool
Tool system for Rust Agent Development Kit (ADK-Rust) agents (FunctionTool, MCP, Google Search).
Stability: Stable — follows semantic versioning; the
mcp-serverandcode-embedded-pythonfeatures are Experimental. See STABILITY.md.
Overview
adk-tool provides the tool infrastructure for the Rust Agent Development Kit (ADK-Rust):
#[tool]- Attribute macro that turns an async function into aToolwith a derived, enforced schema- FunctionTool - Create tools from async Rust functions
- StatefulTool<S> - Wrap shared state (
Arc<S>) with a tool handler - SimpleToolContext - Lightweight
ToolContextfor non-agent callers (testing, MCP servers) - AdvisorTool - Let an agent consult a stronger or different model for advice mid-task; the consultation runs under the run's budget, spend ledger and kill switch, attributed to
advisor:{agent}, with a per-run cap (Advisor tool) - AgentTool - Use an agent as a callable tool; the delegate runs in non-streaming mode and shares the caller's budget, governance, policy, approvals and ledgers, but not its handoff targets, context cache or invocation toolsets
- GoogleSearchTool - Web search via Gemini's grounding
- Provider-native wrappers - Typed declarations for Gemini, Anthropic, and OpenAI built-in tools, each declaring a
ToolEffect: search, URL context, Maps, file search and Claude's advisor (AnthropicAdvisorTool) areReadOnly; code execution, computer use, image generation, shell, apply-patch and MCP tools areNonIdempotent - McpToolset - Model Context Protocol integration (local and remote servers)
- MCP Apps - Declare the
io.modelcontextprotocol/uiextension, read each tool's_meta.uiand itsui://app, and keep app-only tools from the model (feature:mcp-apps; MCP Tools) - McpServer - Publish a set of tools as an MCP server over Streamable HTTP, with an MCP Server Card (SEP-2127) and an AI Catalog entry, or over stdio; an
McpTaskHostfollows calls that continue as tasks (SEP-2663) and an executor may answerinput_required(SEP-2322) (feature:mcp-server, experimental) - McpServerManager - Multi-server lifecycle management with health monitoring and auto-restart; each server runs in a Job Object on Windows and leads a process group of its own on Unix, so stopping it ends every process it started
- BasicToolset / FilteredToolset / MergedToolset / PrefixedToolset - Group, filter, combine, and namespace toolsets
- ExitLoopTool - Control flow for loop agents
- LoadArtifactsTool - Inject binary artifacts into context
- ToolArgumentValidator - Check hand-written tools' arguments against a JSON Schema
- LoadMemoryTool / PreloadMemoryTool - On-demand and turn-start memory search (feature:
memory-tools) - GraphMemoryToolset - Knowledge-graph memory curation tools (feature:
graph-memory-tools) - CodeTool / PythonCodeTool / JavaScriptCodeTool / MontyPythonCodeTool - Code execution over
adk-code(feature:code) - SlackToolset - Send messages, read channels, add reactions, list threads (feature:
slack) - BigQueryToolset / SpannerToolset - SQL execution, schema inspection, and table listing (features:
bigquery,spanner); SQL execution is read-only by default - ExampleStoreClient / ExampleStoreProvider - Vertex AI Example Store few-shot retrieval (feature:
example-store) - AgentRegistryClient / AgentSearchTool - Google Agent Registry client and agent discovery tool (feature:
vertex-agent-registry)
Installation
[]
= "3.0.0"
# Or, for local MCP servers via stdio:
# adk-tool = { version = "3.0.0", features = ["mcp"] }
# Or, for remote MCP servers via HTTP (implies `mcp`):
# adk-tool = { version = "3.0.0", features = ["http-transport"] }
# Or, to publish tools as an MCP server (implies `mcp`):
# adk-tool = { version = "3.0.0", features = ["mcp-server"] }
Or use the meta-crate:
[]
= { = "3.0.0", = ["tools"] }
Quick Start
#[tool]
The macro uses the doc comment as the description, derives the parameters schema from the
argument type, and generates a unit struct named after the function in PascalCase. The argument
type needs serde::Deserialize and schemars::JsonSchema, so add serde, serde_json and
schemars to your dependencies.
use ;
use JsonSchema;
use Deserialize;
use ;
/// Get current weather for a city.
async
// Generated: `struct GetWeather`, with the function's visibility, which implements `Tool`.
#[tool(...)] accepts read_only, idempotent, concurrency_safe, long_running, and
lenient_args.
FunctionTool
use ;
use FunctionTool;
use JsonSchema;
use Serialize;
use ;
use Arc;
async
Use the tool in an agent
This program runs the tool through a Gemini agent. It needs adk-agent, adk-model,
adk-runner, adk-session, futures, and tokio alongside the dependencies above, and a
GOOGLE_API_KEY.
use LlmAgentBuilder;
use ;
use GeminiModel;
use Runner;
use ;
use FunctionTool;
use StreamExt;
use JsonSchema;
use Serialize;
use ;
use Arc;
async
async
Argument Validation
A #[tool] tool checks each call's arguments against its schema before the function runs:
a key the schema does not name, a value outside a range, length or pattern bound, or a
missing required field fails the call with a tool.invalid_arguments error
(ErrorCategory::InvalidInput) that lists each violation by JSON pointer. An LlmAgent shows
that message to the model so it can correct the call; the function does not run. null stays
accepted for an optional field. #[tool(lenient_args)] opts a tool out, or
#[schemars(extend("additionalProperties" = true))] keeps one struct's keys open.
A FunctionTool or StatefulTool given a schema with with_parameters_schema::<T>() applies the
same check, and with_lenient_args(true) opts out. All of them read an integral float such as
3.0 at an integer field as 3, also in lenient mode. Hand-written tools use the same helpers:
use ;
use json;
Tool Metadata and Effects
ToolExecutionStrategy::Auto runs a call concurrently only when its tool is both read-only and
concurrency-safe. Tool::effect() decides retries: an agent with a RetryBudget
(LlmAgentBuilder::default_retry_budget or tool_retry_budget) retries a failed call only when
the tool's effect is ReadOnly or Idempotent and the error is retryable or a timeout; without
a budget every call runs once. A tool that declares nothing is NonIdempotent and runs once, and
a configured ActionLedger records its calls.
use ;
use json;
StatefulTool
Wrap shared state with a tool handler — the Arc<S> is cloned per invocation:
use StatefulTool;
use json;
use Arc;
use RwLock;
SimpleToolContext
Call tools outside the agent loop (testing, MCP servers, sub-agent delegation):
use ;
use ;
use Arc;
async
Defaults: user_id() → "anonymous", session_id() → "" (set it with with_session_id),
agent_name() and app_name() → the caller name, and unique UUIDs for the invocation and
function call IDs. with_acting_context sets the identity tools see through
acting_context().
AgentTool
use LlmAgentBuilder;
use Llm;
use ;
use Arc;
use Duration;
- Timeout — the calling agent applies
AgentTool::timeoutinstead of its own tool timeout; without one the delegation runs until it finishes or the run is cancelled. A delegation that runs past it fails with anErrorCategory::Timeouterror in every failure mode, soon_tool_error, the circuit breaker, and the action ledger see it. - Failure mode —
ReturnErrorObject(default) returns a failed delegation as an{"error": ..., "agent": ...}result;Propagatereturns the delegate's error with its category and code. - Held calls — every call the delegate holds for confirmation holds the caller's
AgentToolcall, with oneToolConfirmationRequestper delegate call, each under the caller's call ID; once decided, the delegate resumes each decided call and it runs once, and a call still undecided keeps the delegation held. - Result — the delegate's final text is returned as
"response", and provider-side tool results such as Gemini'scodeExecutionResultas"server_tool_responses".
MCP
MCP Server Manager (Multi-Server Lifecycle)
Manage a changing registry of local MCP server processes with connection monitoring, bounded restart, configuration persistence, and tool aggregation:
use LlmAgentBuilder;
use Llm;
use ;
use Arc;
use Duration;
async
- Status — while a server's child completes the MCP handshake it is
ServerStatus::Starting. The handshake runs without holding the registry lock, so other servers keep serving tools, status, and lifecycle calls. A handshake that exceedswith_startup_timeout(default 30 seconds) leaves the serverFailedToStart. Stopping, updating, disabling, or removing aStartingserver cancels its handshake. - Monitoring —
start_monitoring()checks running servers everywith_health_check_interval(default 30 seconds), marks a server whose connection closedCrashed, and restarts it with exponential backoff when it has arestartPolicy. - Status transitions —
subscribe_status_transitions()delivers every status change asServerStatusTransition { id, from, to }, in order, without polling.FailedToStartafter the restart policy's attempts is the exhausted state. - Stdio launcher —
with_stdio_launcher(|config| ...)builds thetokio::process::Commandof every start, restarts included, in place of the configured command (for example inside an OS sandbox). Without one the configuredcommand,argsandenvare spawned. - Name collisions — a tool name published by more than one server is exposed as
{server_id}__{tool_name}. When a prefixed name still collides, the first server in ID order keeps it and the later tool is skipped with a warning; a prefixed name over 64 bytes is skipped. - Discovery —
Toolset::toolslists every running server concurrently, so one slow server does not hold up the others. - Close and shutdown — a manager is typically shared by several agents or runners, so
Toolset::close(and thereforeRunner::close) leaves its servers running.stop_serverandshutdownreturn once each server's process has exited or the grace period has elapsed.
Use absolute, versioned executable paths in deployment configuration. The
manager preserves autoApprove for configuration compatibility but does not
turn that field into authorization or human approval policy.
MCP Tools (Local Server via stdio)
Connect to local MCP servers running as child processes:
use Toolset;
use ;
use Arc;
use Command;
async
A successful result with no content reaches the model as {"output": ""}. A tool that the
filter excludes is not exposed, and call_tool_value refuses it without contacting the server.
McpToolset implements Toolset::close, which Runner::close calls for every toolset of the
runner's agents. It cancels the remote tasks the toolset started and its rmcp session, then
waits for the transport to close: a stdio server's process has exited (rmcp kills one still
running 3 seconds after its input closed), and a Streamable HTTP session is ended with
DELETE. The wait is bounded by with_close_timeout (5 seconds by default), and closing again
is harmless. A closed toolset, its clones and its tools fail later requests with the
tool.mcp.closed error and do not reconnect through a connection factory. FilteredToolset,
MergedToolset and PrefixedToolset close their inner toolsets.
examples/mcp_close
covers each case.
MCP Schema and Description Limits
Discovery skips a tool whose input or output schema exceeds McpSchemaLimits
(256 KiB and 10 000 JSON values by default), logs a warning naming the toolset
and the tool, and registers the remaining tools. A server-supplied description
longer than max_description_bytes (8 KiB by default) is cut at a character
boundary with a warning, and the tool is kept. Raise the limits for a trusted
server:
use ;
McpServerManager::with_schema_limits applies the same limits to every managed
server.
MCP Discovery Cache and Concurrency
McpToolset reuses a tools/list result for 60 seconds, dropping it early on a
reconnect, on notifications/tools/list_changed (connections served by
AdkClientHandler), or on invalidate_tool_list_cache(), which also clears
rmcp's response cache and keeps a fetch already in flight from caching its
result. Set the TTL with with_tool_list_cache_ttl; Duration::ZERO disables
the cache.
Every catalog listing (tools/list, resources/list, resources/templates/list,
prompts/list) is bounded by McpDiscoveryLimits: at most 64 pages, no repeated
cursor, and 30 seconds including reconnects by default. A listing that breaks a
bound fails with AdkError::Tool. Set them with with_discovery_limits on
McpToolset, McpServerManager, ConnectionRefresher, or SimpleClient.
Discovery admits a tool name once per server and skips names that no model can
call: empty, containing control characters, or longer than 64 bytes. Each
skipped tool logs a warn! with the escaped name.
Calls and discovery on one toolset run concurrently over its shared connection.
A tools/call dropped before it completes, such as by an agent tool timeout,
sends notifications/cancelled to the server, or tasks/cancel when the server
turned the call into a task.
MCP Tools (Remote Server via HTTP)
Connect to remote MCP servers using HTTP transport (requires http-transport feature):
use ;
use Duration;
// Connect to a service owned by your organization or integration provider
async
MCP Authentication
Connect to authenticated MCP servers:
use ;
use Duration;
async
With OAuth2, each request carries the current access token. The token is
refreshed before the expires_in its token response declared, and a request the
server rejects with HTTP 401 is sent once more with a newly fetched token. The
token URL must use https; plain http is accepted only for a loopback host.
McpHttpClientBuilder::with_credential_broker(broker, acting, scopes) takes the bearer from an
adk_core::CredentialBroker instead: the broker mints a token bound to the endpoint's audience
for the given acting agent, and the token is attached only to requests inside that audience.
MCP Task Support (Long-Running Operations)
Enable the negotiated MCP 2026-07-28 SEP-2663 Tasks extension for long-running tool operations:
use ;
use Duration;
Task mode needs two settings: the client declares the extension during the
handshake (AdkClientHandler::with_tasks()), and the toolset enables polling
(with_task_support). The server, which must advertise the extension, decides
per call whether to return a task; without the client declaration it answers
inline.
ADK-Rust polls tasks/get, fulfils paused input_required requests through the
configured elicitation handler and tasks/update, and requests tasks/cancel
when the local timeout or poll bound is reached.
Managed servers select lifecycle and task policy in mcp.json:
discover requires the stateless 2026 lifecycle. auto probes discovery and falls back to
initialize as described in Protocol revisions. The default is initialize.
Stateless MRTR elicitation is driven automatically and
bounded by maxInputRounds; opaque requestState is echoed without inspection.
A call waiting for an answer survives a restart as a serializable ParkedMcpCall
(server, tool, arguments, call ID, requestState, input requests and their digest, and a
kind of mrtr, task { taskId } or legacy). McpToolset::call_tool_resumable ends a
call at its first question instead of answering it in process, a handler answering in
process reads the call with ParkedMcpCall::current(), and McpToolset::reissue (or
McpServerManager::reissue_parked_call) resumes it: a new tools/call with
inputResponses and the stored state, tasks/get and tasks/update for a task, and for
a legacy call a second run only when the tool declares readOnlyHint or idempotentHint. On a
managed server, McpServerManager::call_tool_resumable and
McpServerManager::reissue_parked_call_for make the call or the re-issue for an agent's
tool call, so the server's sampling counts against that run.
MCP Auto-Reconnect (Connection Resilience)
A ConnectionFactory creates the same concrete rmcp::RunningService again after a
retryable failure. Give one to McpToolset::with_connection_factory, or wrap a single
connection in a ConnectionRefresher. Configure bounded attempts and delay with
RefreshConfig. For a changing set of local stdio processes, prefer
McpServerManager, whose registry, monitoring, restart, and persistence model
is easier to operate.
use ;
use Arc;
use Command;
;
async
The refresher reconnects on these error variants, never on the text of a server's response:
Transport closed, reported when a stdio server process exits- Broken pipe, connection reset or aborted, and unexpected EOF I/O errors
- An interrupted Streamable HTTP stream or an expired session (HTTP 404)
- An HTTP 401 rejection, so a factory can reconnect with fresh credentials
An HTTP 5xx or a JSON-RPC error is an answer from a live session and is
returned unchanged. should_refresh_connection exposes the same decision for an
rmcp::ServiceError.
Requests through ConnectionRefresher, SimpleClient, and McpToolset share
one connection and run concurrently. A connection whose transport has already
closed is replaced before the next request is sent, so that request is never a
replay. McpToolset::is_closed returns true once the transport has closed.
Discovery calls reconnect and retry automatically. Discovered tool wrappers
also replay when the server publishes readOnlyHint: true or
idempotentHint: true, which map to ToolEffect::ReadOnly and
ToolEffect::Idempotent. Tool::annotations() returns the server's
annotations, including title, destructiveHint, and openWorldHint. Missing hints keep replay disabled because a lost
response can leave a mutating tool's external result uncertain. The direct
call_tool_value and ConnectionRefresher::call_tool paths do not have
discovered per-tool metadata; opt them in with with_tool_call_retries() only for
read-only tools or operations protected by a stable provider idempotency guarantee.
MCP annotations are server-published hints. Trust them only for servers inside the application's security boundary.
MCP Server (Publish Tools over Streamable HTTP)
The mcp-server feature publishes a set of Tools as an MCP server (experimental; the
Server Card extension is experimental upstream). Each tool's name, description and parameters
schema become its MCP definition, an object response schema becomes its outputSchema, and
its ToolEffect sets the annotations:
| Effect | readOnlyHint |
idempotentHint |
destructiveHint |
|---|---|---|---|
ReadOnly |
true |
true |
false |
Idempotent |
false |
true |
the tool's own hint, else true |
NonIdempotent |
false |
false |
the tool's own hint, else true |
use Arc;
use ;
use FunctionTool;
use ;
use json;
async
| Hook | Default | Role |
|---|---|---|
McpCallExecutor |
GovernedExecutor: adk_core::authorize_tool_call and the action ledger under the tool_governance config; with none, or no tool_policy, every call is refused |
Runs or refuses every call; filters tools/list with is_visible. UngovernedExecutor is the explicit opt-out, under which any caller runs any visible tool |
McpCallerResolver |
AnonymousCallers |
Turns each HTTP request into the McpCaller the executor receives; an error refuses the request with its HTTP status |
The router serves the endpoint at /mcp and, with a public URL, the Server Card at
/mcp/server-card (the location SEP-2127 reserves), an AI Catalog at
/.well-known/ai-catalog.json whose entry points at that card, and the same card at
/.well-known/mcp/server-card.json as an alias. It bounds request bodies (1 MiB),
answers malformed JSON-RPC with -32700, -32600 or -32602, binds each session to the
caller that opened it, caps live sessions, and accepts loopback Host headers until
allowed_hosts names the public ones. A refused call is a JSON-RPC error that carries the
error's message only when its category is a rejection; a tool that ran and failed answers
isError: true.
MCP examples and guides
The mcp_manager example in adk-playground
runs a real Rust stdio server locally and verifies
discovery, tool execution, dynamic registry changes, persistence, and shutdown
without a package download or network dependency.
The mcp_elicitation example there
demonstrates a server asking its client application for additional information.
The MCP guide
covers client construction, server authoring,
dynamic management, security, testing, resources, prompts, completion,
reconnect-safe subscriptions with ResourceNotificationHandler, elicitation,
and tasks.
Advisor
use Arc;
use Llm;
use AdvisorTool;
// Add to the worker agent with `.tool(Arc::new(advisor(stronger_model)))`.
Google Search
use GoogleSearchTool;
// Add to a Gemini agent with `.tool(Arc::new(search))` to enable grounded web search.
BigQuery and Spanner (bigquery, spanner features)
bigquery_execute_sql is read-only by default: it accepts a single SELECT or
WITH … SELECT statement, a BigQuery dry run must classify it as SELECT before it
runs, and the tool reports is_read_only() == true. spanner_execute_sql runs in a
read-only single-use transaction.
use BigQueryToolset;
Service-account keys resolved through from_secret are parsed in memory and never
written to disk. Spanner tools close their client on every exit, including failed queries.
Code Execution Tools (code feature)
Language-preset tool wrappers over the adk-code execution substrate:
| Tool | Backend | Required scopes |
|---|---|---|
CodeTool |
Rust, through the adk_code::RustExecutor passed to CodeTool::new |
code:execute, code:execute:rust |
JavaScriptCodeTool |
Embedded JavaScript (code-embedded-js) |
code:execute |
PythonCodeTool |
CPython in a python:3.12-slim container through the docker CLI |
code:execute, code:execute:container |
MontyPythonCodeTool |
In-process Python via Monty (code-embedded-python) |
code:execute |
MontyPythonCodeTool runs model-written Python in the Monty interpreter — no container, no subprocess. It supports one-shot mode (fresh interpreter per call) and REPL mode (state persists across calls, scoped per ADK session), with host-granted filesystem/environment/clock access and registered host functions. Its LLM-facing description is composed from the executor's own capability report, so it always matches the built environment. For the full Python ecosystem (pip packages, C extensions, the complete standard library), use the container-backed PythonCodeTool instead.
use PathAccess;
use MontyPythonCodeTool;
Features
| Feature | Description |
|---|---|
mcp |
Local MCP clients via stdio, McpToolset, and McpServerManager |
http-transport |
Remote MCP servers via streamable HTTP, with bearer, API-key, OAuth2, and brokered auth (implies mcp) |
mcp-server |
McpServer: publish tools over MCP Streamable HTTP with a Server Card and an AI Catalog entry (implies mcp; experimental) |
mcp-sampling |
LlmSamplingHandler for server-initiated sampling/createMessage; deprecated upstream (implies mcp) |
mcp-apps |
MCP Apps on the client: declares the io.modelcontextprotocol/ui extension, keeps each tool's _meta.ui, leaves app-only tools out of the model's tools, and reads ui:// apps (implies mcp) |
memory-tools |
LoadMemoryTool and PreloadMemoryTool over adk-memory |
graph-memory-tools |
GraphMemoryToolset, RememberTool, and RelateTool (implies memory-tools) |
code |
Code execution tools over the adk-code substrate |
code-embedded-js |
JavaScriptCodeTool live path (boa_engine) |
code-embedded-python |
MontyPythonCodeTool live path (Monty interpreter) |
code-docker |
adk-code's Docker SDK executor for persistent containers |
slack |
SlackToolset: send messages, read channels, reactions, threads |
bigquery |
BigQueryToolset: SQL execution (read-only by default), schemas, datasets, tables |
spanner |
SpannerToolset: read-only SQL execution, schemas, tables |
example-store |
Vertex AI Example Store client (v1beta1 data plane) and ExampleStoreProvider few-shot retrieval |
vertex-agent-registry |
Google Agent Registry client and AgentSearchTool |
No feature is enabled by default. The optional dependencies adk-gcp, google-cloud-auth, and
reqwest are no longer features in 3.0; enable http-transport, slack, example-store, or
vertex-agent-registry, which use them.
Changes in 3.0
| Change | Migration |
|---|---|
#[tool] tools, and FunctionTool and StatefulTool with with_parameters_schema::<T>(), validate arguments against the schema; an undeclared key, a broken bound, or a missing required field fails with tool.invalid_arguments |
Opt a tool out with #[tool(lenient_args)] or with_lenient_args(true) |
SimpleClient::inner returns the shared connection, with no mutex |
client.inner().peer() instead of client.inner().lock().await.peer() |
should_refresh_connection takes the rmcp::ServiceError, not its text |
Pass the error |
McpServerManager reports a handshake in progress as ServerStatus::Starting, and one that exceeds with_startup_timeout (30 seconds) as FailedToStart |
Raise the timeout for a server that downloads a package on its first start |
A delegation past AgentTool::timeout is a Timeout error in every failure mode, and Propagate keeps the delegate's category and code |
— |
See the 2.x to 3.0 migration guide.
Toolset Composition
Compose, filter, and namespace toolsets for complex agent configurations:
use ;
use ;
use ;
use Arc;
All composition utilities implement Toolset and work with any Toolset implementation
including McpToolset and BrowserToolset. PrefixedToolset forwards each wrapped tool's
is_read_only, is_concurrency_safe, effect, and annotations.
rmcp compatibility
ADK-Rust 3 uses rmcp 3, the official Rust SDK (adk-tool requires rmcp = "3.9"; the
workspace lockfile resolves 3.10.0). McpToolset::new(client)
remains the primary adapter. Advanced server authoring, transports, protocol
extensions, and SDK types are available through adk_tool::mcp::rmcp, keeping
them on the same version used internally.
Protocol revisions
The default connection sends initialize advertising 2026-07-28 (rmcp's
ProtocolVersion::LATEST), and a server answers with the newest revision it supports that has an
initialize handshake, such as 2025-11-25, so one client reaches servers of both generations.
2026-07-28 also adds a stateless server/discover handshake. It is opt-in. Select it per
connection:
| Mode | Sends first | Against an older server |
|---|---|---|
Initialize (default) |
initialize |
Works |
Auto |
server/discover |
Falls back to initialize when the server answers the probe with a JSON-RPC error other than a 2026 rejection (missing client capability, header mismatch), or does not answer within 10 seconds |
Discover |
server/discover |
Fails; no fallback |
use ;
use Arc;
use Command;
async
Tasks
SEP-2663 replaced the experimental task design. A tool no longer declares
whether it supports task execution; the server decides per call, and the client
reads the response to find out. Tool::is_long_running therefore reports per
connection rather than per tool: it is true when tasks are enabled and the server
negotiated them.
Sampling, roots, and logging are deprecated upstream by SEP-2577. The
mcp-sampling feature exists for compatible deployments and should not be the
default design for a new system.
LlmSamplingHandler meters each sampling request against the budget and spend ledger
of the run whose tool call is in flight on the connection. Requests outside any run
count against the scope attached with McpToolset::with_sampling_scope, or are
unmetered without one. A request the budget or spend ledger refuses returns that error
unchanged.
When migrating code that imports rmcp types directly, align it to rmcp 3.9
or import the SDK through adk_tool::mcp::rmcp.
Related Crates
- adk-rust - Meta-crate with all components
- adk-core - Core
Tooltrait - adk-agent - Agents that use tools
- adk-code - Code execution substrate behind the
codetools
License
Apache-2.0
Part of ADK-Rust
This crate is part of the ADK-Rust framework for building AI agents in Rust.