Versions in this module Expand all Collapse all v0 v0.0.2 Mar 16, 2025 Changes in this version + func Bool(value bool) param.Field[bool] + func DefaultClientOptions() []option.RequestOption + func F[T any](value T) param.Field[T] + func FileParam(reader io.Reader, filename string, contentType string) param.Field[io.Reader] + func Float(value float64) param.Field[float64] + func Int(value int64) param.Field[int64] + func Null[T any]() param.Field[T] + func Raw[T any](value any) param.Field[T] + func String(value string) param.Field[string] + type Client struct + Health *HealthService + Options []option.RequestOption + Tools *ToolService + func NewClient(opts ...option.RequestOption) (r *Client) + func (r *Client) Delete(ctx context.Context, path string, params interface{}, res interface{}, ...) error + func (r *Client) Execute(ctx context.Context, method string, path string, params interface{}, ...) error + func (r *Client) Get(ctx context.Context, path string, params interface{}, res interface{}, ...) error + func (r *Client) Patch(ctx context.Context, path string, params interface{}, res interface{}, ...) error + func (r *Client) Post(ctx context.Context, path string, params interface{}, res interface{}, ...) error + func (r *Client) Put(ctx context.Context, path string, params interface{}, res interface{}, ...) error + type Error = apierror.Error + type HealthService struct + Options []option.RequestOption + func NewHealthService(opts ...option.RequestOption) (r *HealthService) + func (r *HealthService) Check(ctx context.Context, opts ...option.RequestOption) (err error) + type ToolCallParams struct + Request param.Field[ToolCallParamsRequest] + Schema param.Field[string] + func (r ToolCallParams) MarshalJSON() (data []byte, err error) + type ToolCallParamsRequest struct + CallID param.Field[string] + Context param.Field[ToolCallParamsRequestContext] + Input param.Field[map[string]interface{}] + ToolID param.Field[string] + TraceID param.Field[string] + func (r ToolCallParamsRequest) MarshalJSON() (data []byte, err error) + type ToolCallParamsRequestContext struct + Authorization param.Field[[]ToolCallParamsRequestContextAuthorization] + ExtraFields map[string]interface{} + Secrets param.Field[[]ToolCallParamsRequestContextSecret] + UserID param.Field[string] + func (r ToolCallParamsRequestContext) MarshalJSON() (data []byte, err error) + type ToolCallParamsRequestContextAuthorization struct + ExtraFields map[string]interface{} + ID param.Field[string] + Token param.Field[string] + func (r ToolCallParamsRequestContextAuthorization) MarshalJSON() (data []byte, err error) + type ToolCallParamsRequestContextSecret struct + ExtraFields map[string]interface{} + ID param.Field[string] + Value param.Field[string] + func (r ToolCallParamsRequestContextSecret) MarshalJSON() (data []byte, err error) + type ToolCallResponse struct + JSON toolCallResponseJSON + Result ToolCallResponseResult + Schema string + func (r *ToolCallResponse) UnmarshalJSON(data []byte) (err error) + type ToolCallResponseResult struct + CallID string + Duration float64 + Error interface{} + JSON toolCallResponseResultJSON + Success ToolCallResponseResultSuccess + Value interface{} + func (r *ToolCallResponseResult) UnmarshalJSON(data []byte) (err error) + func (r ToolCallResponseResult) AsUnion() ToolCallResponseResultUnion + type ToolCallResponseResultObject struct + CallID string + Duration float64 + JSON toolCallResponseResultObjectJSON + Success ToolCallResponseResultObjectSuccess + Value ToolCallResponseResultObjectValueUnion + func (r *ToolCallResponseResultObject) UnmarshalJSON(data []byte) (err error) + type ToolCallResponseResultObjectSuccess bool + const ToolCallResponseResultObjectSuccessTrue + func (r ToolCallResponseResultObjectSuccess) IsKnown() bool + type ToolCallResponseResultObjectValueArray []interface + func (r ToolCallResponseResultObjectValueArray) ImplementsToolCallResponseResultObjectValueUnion() + type ToolCallResponseResultObjectValueMap map[string]interface + func (r ToolCallResponseResultObjectValueMap) ImplementsToolCallResponseResultObjectValueUnion() + type ToolCallResponseResultObjectValueUnion interface + ImplementsToolCallResponseResultObjectValueUnion func() + type ToolCallResponseResultSuccess bool + const ToolCallResponseResultSuccessFalse + const ToolCallResponseResultSuccessTrue + func (r ToolCallResponseResultSuccess) IsKnown() bool + type ToolCallResponseResultUnion interface + type ToolListParams struct + type ToolListResponse struct + Items []ToolListResponseItem + JSON toolListResponseJSON + Schema string + func (r *ToolListResponse) UnmarshalJSON(data []byte) (err error) + type ToolListResponseItem struct + Description string + ID string + InputSchema map[string]interface{} + JSON toolListResponseItemJSON + Name string + OutputSchema map[string]interface{} + Requirements ToolListResponseItemsRequirements + Version string + func (r *ToolListResponseItem) UnmarshalJSON(data []byte) (err error) + type ToolListResponseItemsRequirements struct + Authorization []ToolListResponseItemsRequirementsAuthorization + ExtraFields map[string]interface{} + JSON toolListResponseItemsRequirementsJSON + Secrets []ToolListResponseItemsRequirementsSecret + UserID bool + func (r *ToolListResponseItemsRequirements) UnmarshalJSON(data []byte) (err error) + type ToolListResponseItemsRequirementsAuthorization struct + ID string + JSON toolListResponseItemsRequirementsAuthorizationJSON + Oauth2 ToolListResponseItemsRequirementsAuthorizationOauth2 + func (r *ToolListResponseItemsRequirementsAuthorization) UnmarshalJSON(data []byte) (err error) + type ToolListResponseItemsRequirementsAuthorizationOauth2 struct + ExtraFields map[string]interface{} + JSON toolListResponseItemsRequirementsAuthorizationOauth2JSON + Scopes []string + func (r *ToolListResponseItemsRequirementsAuthorizationOauth2) UnmarshalJSON(data []byte) (err error) + type ToolListResponseItemsRequirementsSecret struct + ExtraFields map[string]interface{} + ID string + JSON toolListResponseItemsRequirementsSecretJSON + func (r *ToolListResponseItemsRequirementsSecret) UnmarshalJSON(data []byte) (err error) + type ToolService struct + Options []option.RequestOption + func NewToolService(opts ...option.RequestOption) (r *ToolService) + func (r *ToolService) Call(ctx context.Context, body ToolCallParams, opts ...option.RequestOption) (res *ToolCallResponse, err error) + func (r *ToolService) List(ctx context.Context, query ToolListParams, opts ...option.RequestOption) (res *ToolListResponse, err error)