tools

package
v0.0.0-...-a40ddb2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client = http.Client{Timeout: 30 * time.Second}

Functions

func Get

func Get(uri string, reply any, headers ...Header) (http.Header, error)

HTTP get request for uri with optional headers. Unmarshals JSON response into reply.

func Post

func Post(uri string, request, reply any, headers ...Header) (http.Header, error)

HTTP post request for uri with JSON request and optional headers. Unmarshals JSON response into reply.

Types

type Header struct {
	Key   string
	Value string
}

Directories

Path Synopsis
Package browser implements an OpenAI compatible web browser tool plugin which uses the brave search API and firecrawl scrape API.
Package browser implements an OpenAI compatible web browser tool plugin which uses the brave search API and firecrawl scrape API.
Python tool to execute code in a docker container
Python tool to execute code in a docker container
Package weather implements tool functions to call the openweathermap API.
Package weather implements tool functions to call the openweathermap API.

Jump to

Keyboard shortcuts

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