Versions in this module Expand all Collapse all v0 v0.1.0 Mar 27, 2026 Changes in this version + type APIKeyAuth struct + func NewAPIKeyAuth(keyEnv, in, name string) *APIKeyAuth + func (a *APIKeyAuth) Apply(req *http.Request) error + type Authenticator interface + Apply func(req *http.Request) error + func NewAuthenticator(authType, tokenEnv, keyEnv, keyName, keyIn string) Authenticator + type BearerAuth struct + func NewBearerAuth(tokenEnv string) *BearerAuth + func (a *BearerAuth) Apply(req *http.Request) error + type HTTPExecutor struct + func New(client *http.Client, auth Authenticator, timeout time.Duration) *HTTPExecutor + func (e *HTTPExecutor) Execute(ctx context.Context, req *ToolRequest) (*ToolResponse, error) + type NoAuth struct + func (*NoAuth) Apply(_ *http.Request) error + type RequestExecutor interface + Execute func(ctx context.Context, req *ToolRequest) (*ToolResponse, error) + type ToolRequest struct + Args map[string]any + Method string + ParamMeta []toolgen.ParamMeta + Path string + ServerURL string + type ToolResponse struct + Body string + IsError bool + StatusCode int