webhook

package
v1.113.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ToolNameSendWebhook = "send_webhook"
)

Variables

This section is empty.

Functions

func CreateToolSet

func CreateToolSet(toolset latest.Toolset, runConfig *config.RuntimeConfig) (tools.ToolSet, error)

Types

type SendArgs

type SendArgs struct {
	Message string `json:"message" jsonschema:"The message text to deliver"`
	Value2  string `json:"value2,omitempty" jsonschema:"IFTTT value2 field (provider=ifttt only)"`
	Value3  string `json:"value3,omitempty" jsonschema:"IFTTT value3 field (provider=ifttt only)"`
}

type ToolSet

type ToolSet struct {
	// contains filtered or unexported fields
}

func New

func New(cfg latest.WebhookToolConfig, expander *js.Expander, timeout time.Duration) *ToolSet

func (*ToolSet) Instructions

func (t *ToolSet) Instructions() string

func (*ToolSet) Start

func (t *ToolSet) Start(context.Context) error

func (*ToolSet) Stop

func (t *ToolSet) Stop(context.Context) error

func (*ToolSet) Tools

func (t *ToolSet) Tools(context.Context) ([]tools.Tool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL