tool

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecuteFn

type ExecuteFn func(ctx context.Context, args map[string]any) (any, error)

type Provider

type Provider interface {
	Tools(ctx context.Context) ([]Tool, error)
}

type Schema

type Schema map[string]any

type Tool

type Tool struct {
	Name        string
	Description string

	Schema  Schema
	Execute ExecuteFn
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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