synthetictools

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package synthetictools defines inert, deterministic tool fixtures. The package performs no process execution, file access, or network access.

Index

Constants

View Source
const (
	EchoName = "synthetic_echo"
	CallID   = "call_ref_0001"
)

Variables

This section is empty.

Functions

func AnthropicDefinition

func AnthropicDefinition() map[string]any

func Execute

func Execute(call Call) (map[string]any, error)

Execute is intentionally limited to the inert echo fixture.

func OpenAIDefinition

func OpenAIDefinition() map[string]any

Types

type Call

type Call struct {
	ID        string
	Name      string
	Arguments map[string]any
}

func NewCall

func NewCall(name string) Call

func (Call) ArgumentsJSON

func (call Call) ArgumentsJSON() string

Jump to

Keyboard shortcuts

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