Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrowserTool ¶ added in v1.783.0
type BrowserTool struct {
// contains filtered or unexported fields
}
BrowserTool is the Tool Type "web_browser".
func NewBrowserTool ¶ added in v1.783.0
func NewBrowserTool(config Config) (*BrowserTool, error)
func (*BrowserTool) BuiltinTools ¶ added in v1.783.0
func (p *BrowserTool) BuiltinTools() []builtin_tool.BuiltinTool
type Config ¶ added in v1.783.0
type Config struct {
Type string
SubType string
ProviderUrl string
ClientId string
ClientSecret string
EnableProxy bool
}
Config contains the fields needed to construct builtin tools.
type OfficeTool ¶ added in v1.783.0
type OfficeTool struct {
// contains filtered or unexported fields
}
OfficeTool is the Tool Type "office". It exposes read/write tools for Word (.docx), Excel (.xlsx), and PowerPoint (.pptx). SubType controls which tool(s) are exposed: "All" exposes all six; any specific SubType (e.g. "Word Read") exposes only that single tool.
func (*OfficeTool) BuiltinTools ¶ added in v1.783.0
func (p *OfficeTool) BuiltinTools() []builtin_tool.BuiltinTool
type ShellTool ¶ added in v1.783.0
type ShellTool struct{}
ShellTool is the Tool Type "shell".
func (*ShellTool) BuiltinTools ¶ added in v1.783.0
func (p *ShellTool) BuiltinTools() []builtin_tool.BuiltinTool
type TimeTool ¶ added in v1.783.0
type TimeTool struct{}
TimeTool is the Tool Type "time".
func (*TimeTool) BuiltinTools ¶ added in v1.783.0
func (p *TimeTool) BuiltinTools() []builtin_tool.BuiltinTool
type Tool ¶ added in v1.783.0
type Tool interface {
BuiltinTools() []builtin_tool.BuiltinTool
}
Tool supplies LLM-callable tools.
type VideoDownloadTool ¶ added in v1.783.0
type VideoDownloadTool struct{}
VideoDownloadTool is the Tool Type "video_download".
func (*VideoDownloadTool) BuiltinTools ¶ added in v1.783.0
func (p *VideoDownloadTool) BuiltinTools() []builtin_tool.BuiltinTool
type WebFetchTool ¶ added in v1.783.0
type WebFetchTool struct {
// contains filtered or unexported fields
}
WebFetchTool is the Tool Type "web_fetch".
func NewWebFetchTool ¶ added in v1.783.0
func NewWebFetchTool(config Config) (*WebFetchTool, error)
func (*WebFetchTool) BuiltinTools ¶ added in v1.783.0
func (p *WebFetchTool) BuiltinTools() []builtin_tool.BuiltinTool
type WebSearchTool ¶ added in v1.783.0
type WebSearchTool struct {
// contains filtered or unexported fields
}
WebSearchTool is the Tool Type "web_search" (single web_search tool).
func NewWebSearchTool ¶ added in v1.783.0
func NewWebSearchTool(config Config) (*WebSearchTool, error)
func (*WebSearchTool) BuiltinTools ¶ added in v1.783.0
func (p *WebSearchTool) BuiltinTools() []builtin_tool.BuiltinTool
type WindowsUiaTool ¶ added in v1.783.0
type WindowsUiaTool struct{}
WindowsUiaTool implements the Windows UI Automation tool (Type "gui", SubType "Windows UIA").
func NewWindowsUiaTool ¶ added in v1.783.0
func NewWindowsUiaTool(_ Config) (*WindowsUiaTool, error)
func (*WindowsUiaTool) BuiltinTools ¶ added in v1.783.0
func (t *WindowsUiaTool) BuiltinTools() []builtin_tool.BuiltinTool