ADK Rust Tools MCP UI
Overview
Implement tools with strict schema contracts and protocol-aware outputs.
Workflow
- Start with
FunctionTooland explicit JSON schema. - Add MCP toolsets with auth/reconnect configuration.
- Add ADK UI render tools with protocol compatibility checks.
- Validate tool protocol outputs with existing test matrices.
- Use MCP Resource API (list_resources, list_resource_templates, read_resource) for server-provided data.
- Use ElicitationHandler for MCP servers that request user input during tool execution.
Guardrails
- Reject ambiguous argument schemas.
- Preserve protocol behavior for legacy and MCP Apps compatibility.
- Add tests for invalid inputs and auth failures.
References
- Use
references/tools-mcp-ui-checklist.md.