Documentation
¶
Overview ¶
Package a2a provides a toolset implementation for connecting to remote A2A agents.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v1.66.0
type Option func(*Toolset)
Option configures a Toolset.
func WithAllowPrivateIPs ¶ added in v1.66.0
WithAllowPrivateIPs disables SSRF dial-time protection so the a2a tool can reach internal services. Off by default; matches the behaviour of the same flag on `fetch`, `api`, `openapi` and remote `mcp`.
func WithExpander ¶ added in v1.67.0
func WithTimeout ¶ added in v1.66.0
WithTimeout overrides the default HTTP client timeout (see httpclient.DefaultToolHTTPTimeout) used both for fetching the agent card and for streaming messages.
type Toolset ¶
type Toolset struct {
// contains filtered or unexported fields
}
Toolset implements tools.ToolSet for A2A remote agents.
func NewToolset ¶
NewToolset creates a new A2A toolset for the given URL.
func (*Toolset) Instructions ¶
Instructions returns instructions for using the A2A toolset.
Click to show internal directories.
Click to hide internal directories.