Package-level declarations
Types
Sealed class for holding MCP connection parameters.
A progress notification emitted by an MCP tool invocation.
SDK-neutral MCP tool annotations, exposed for framework interop. Kept independent of the Java and Kotlin MCP SDK types so the interop surface is the same on JVM and Android; each platform maps its SDK's annotations into this. A null hint means the server omitted it: per the MCP spec, callers should treat an absent readOnlyHint or idempotentHint as false and an absent destructiveHint or openWorldHint as true.
Base exception for MCP tools on JVM and Android.
Connects to an MCP Server and exposes the server's MCP tools to an agent as ADK BaseTools.
Transport configurations supported by the common JVM/Android MCP API.
Common configuration for a remote Streamable HTTP MCP toolset.
Functions
Converts a decoded JSON Schema map to an ADK Schema, resolving $ref/$defs, splitting type unions into anyOf, narrowing required, and bounding recursion. Exposed so an adapter that receives a tool schema as JSON (for example the Spring AI tool bridge) reuses this one converter rather than forking it.