Wraps a remote A2A agent as an ADK tool.
When called, sends a task to the remote agent and returns the result text.
Examples
tool = ADK.A2A.RemoteAgentTool.new(
name: "researcher",
url: "http://researcher:4000/a2a",
description: "Research any topic"
)
Summary
Functions
Create a new remote agent tool.
Execute the remote agent tool — sends a task and returns the result.
Types
Functions
Create a new remote agent tool.
@spec run(t(), ADK.ToolContext.t(), map()) :: ADK.Tool.result()
Execute the remote agent tool — sends a task and returns the result.