Help us shape the future of Go! Take the 2026 Go Developer Survey

toolcallrecovery

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package toolcallrecovery defines private metadata carried from provider decoding to a guarded tool execution boundary.

Index

Constants

View Source
const (
	MetadataKey             = "plasmid_tool_call_argument_failures"
	InvalidArgumentsMessage = "invalid tool arguments"
	RequestToolKey          = "plasmid.internal/tool-call-recovery"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Failures

type Failures map[string]string

Failures maps normalized function-call IDs to model-visible safe errors.

type RequestMarker

type RequestMarker interface {
	MarkToolCallRecovery(map[string]any)
}

RequestMarker is implemented by providers that can opt a request into call-level argument recovery without changing their public model API.

type RequestTool

type RequestTool struct{}

RequestTool is the unadvertised inert marker carried in a capable request.

func (RequestTool) Description

func (RequestTool) Description() string

func (RequestTool) IsLongRunning

func (RequestTool) IsLongRunning() bool

func (RequestTool) Name

func (RequestTool) Name() string

Jump to

Keyboard shortcuts

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