tools

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 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 CalculatorTool

type CalculatorTool struct{}

CalculatorTool evaluates basic arithmetic expressions in the form "a op b".

func (*CalculatorTool) Invoke

func (*CalculatorTool) Spec

func (c *CalculatorTool) Spec() agent.ToolSpec

type EchoTool

type EchoTool struct{}

EchoTool repeats the provided input. Useful for testing tool wiring.

func (*EchoTool) Invoke

func (*EchoTool) Spec

func (e *EchoTool) Spec() agent.ToolSpec

type TimeTool

type TimeTool struct{}

TimeTool reports the current UTC time in RFC3339 format.

func (*TimeTool) Invoke

func (*TimeTool) Spec

func (t *TimeTool) Spec() agent.ToolSpec

Jump to

Keyboard shortcuts

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