Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecTool ¶
NewExecTool creates execution tool
func NewHTTPTool ¶
NewHTTPTool creates HTTP tool
Types ¶
type ExecConfig ¶
type ExecConfig struct {
Cmd string `yaml:"cmd"` // Execution command template
WorkDir string `yaml:"workdir"` // Working directory
Env map[string]string `yaml:"env"` // Environment variables
Timeout int `yaml:"timeout"` // Timeout in seconds
}
ExecConfig execution tool configuration structure
type ExecTool ¶
type ExecTool struct {
// contains filtered or unexported fields
}
ExecTool execution tool implementation
type HTTPConfig ¶
type HTTPConfig struct {
URL string `yaml:"url"` // Request URL template
Method string `yaml:"method"` // HTTP method
Headers map[string]string `yaml:"headers"` // Request headers
Body string `yaml:"body"` // Request body template
Timeout int `yaml:"timeout"` // Timeout in seconds
}
HTTPConfig HTTP tool configuration structure
Click to show internal directories.
Click to hide internal directories.