whois

package
v0.17.2 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: 7 Imported by: 0

README

WHOIS

Perform WHOIS lookups for domains and IP addresses to retrieve registration and ownership information.

Configuration

No configuration is required. WHOIS uses public WHOIS servers and does not need API keys.

Available Functions

Function Description
whois_domain WHOIS lookup for a domain name (registrar, registration dates, nameservers)
whois_ip WHOIS lookup for an IP address, IPv4 or IPv6 (network range, organization, abuse contact)

The tool is always available without any additional setup.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

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

Action is the warren-side wrapper around github.com/gollem-dev/tools/whois. It implements interfaces.Tool, binding warren-specific planner metadata onto the external gollem.ToolSet that carries the Specs/Run logic.

func (*Action) Configure

func (x *Action) Configure(_ context.Context) error

func (*Action) Description added in v0.14.0

func (x *Action) Description() string

func (*Action) Flags

func (x *Action) Flags() []cli.Flag

func (*Action) Helper

func (x *Action) Helper() *cli.Command

func (*Action) ID added in v0.14.0

func (x *Action) ID() string

func (*Action) LogValue

func (x *Action) LogValue() slog.Value

func (*Action) Prompt

func (x *Action) Prompt(_ context.Context) (string, error)

func (*Action) Run

func (x *Action) Run(ctx context.Context, name string, args map[string]any) (map[string]any, error)

func (*Action) Specs

func (x *Action) Specs(ctx context.Context) ([]gollem.ToolSpec, error)

Jump to

Keyboard shortcuts

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