weather

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Weather

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

Weather fetches current weather using Open-Meteo API (free, no key required).

func New

func New() *Weather

New returns a new Weather tool.

func (*Weather) Description

func (*Weather) Description() string

func (*Weather) DisplayName added in v0.1.4

func (*Weather) DisplayName() string

func (*Weather) Execute

func (w *Weather) Execute(ctx context.Context, args map[string]any) (any, error)

func (*Weather) Name

func (*Weather) Name() string

func (*Weather) Parameters

func (*Weather) Parameters() interfaces.JSONSchema

Jump to

Keyboard shortcuts

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