Versions in this module Expand all Collapse all v0 v0.1.0 Oct 9, 2025 Changes in this version + type ExecuteCommand struct + HostsData *config.Hosts + func (ExecuteCommand) Description() string + func (ExecuteCommand) Name() string + func (ExecuteCommand) Schema() map[string]any + func (e ExecuteCommand) Call(ctx context.Context, raw json.RawMessage) (string, error) + func (e ExecuteCommand) Run(ctx context.Context, host config.Host, command string) (string, error) + type ExecuteCommandArgs struct + Command string + HostID string + type GetHosts struct + HostsData *config.Hosts + func (GetHosts) Description() string + func (GetHosts) Name() string + func (GetHosts) Schema() map[string]any + func (h GetHosts) Call(ctx context.Context, raw json.RawMessage) (string, error) + type GetHostsArgs struct + type HostInfo struct + Description string + Host string + ID string + Port int + Tags []string + type Ping struct + func (Ping) Call(ctx context.Context, raw json.RawMessage) (string, error) + func (Ping) Description() string + func (Ping) Name() string + func (Ping) Schema() map[string]any + type PingArgs struct + Target string + type Registry struct + func NewRegistry(tools ...Tool) *Registry + func (r *Registry) Get(name string) (Tool, bool) + func (r *Registry) Tools() []openai.ChatCompletionToolUnionParam + type Report struct + func (a Report) Call(ctx context.Context, raw json.RawMessage) (string, error) + func (a Report) Description() string + func (a Report) Name() string + func (a Report) Schema() map[string]any + type ReportArgs struct + Text string + type Tool interface + Call func(ctx context.Context, raw json.RawMessage) (string, error) + Description func() string + Name func() string + Schema func() map[string]any