Toolset implements tools.ToolSet for A2A remote agents.
| 27 | |
| 28 | // Toolset implements tools.ToolSet for A2A remote agents. |
| 29 | type Toolset struct { |
| 30 | name string |
| 31 | url string |
| 32 | headers map[string]string |
| 33 | timeout time.Duration |
| 34 | allowPrivateIPs bool |
| 35 | expander *js.Expander |
| 36 | client *a2aclient.Client |
| 37 | card *a2a.AgentCard |
| 38 | mu sync.RWMutex |
| 39 | } |
| 40 | |
| 41 | // Option configures a Toolset. |
| 42 | type Option func(*Toolset) |
nothing calls this directly
no outgoing calls
no test coverage detected