Package-level declarations

Types

Link copied to clipboard

Sealed class for holding MCP connection parameters.

Link copied to clipboard

Turns an MCP Tool into an ADK BaseTool.

Link copied to clipboard
data class McpToolAnnotations(val title: String? = null, val readOnlyHint: Boolean? = null, val destructiveHint: Boolean? = null, val idempotentHint: Boolean? = null, val openWorldHint: Boolean? = null)

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.

Link copied to clipboard

Base exception for MCP tools.

Link copied to clipboard

Connects to an MCP Server and exposes the server's MCP tools to an agent as ADK BaseTools.

Functions

Link copied to clipboard

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.