removedvalue

package
v1.162.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package removedvalue keeps, for each tool, the argument values it no longer takes and what replaces each (#2441): manage_script's endpoint_set and schedule_set, removed with no alias. A tool's input schema no longer lists a removed value, so the SDK refuses a call naming one before the tool's handler runs; the error contract (pkg/middleware) reads this registry to answer that refusal with the replacement instead of the schema's list of values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lookup

func Lookup(tool, arg, value string) (string, bool)

Lookup is what replaces value of tool's arg, and whether it was removed.

func Register

func Register(tool, arg, value, replacement string)

Register records that tool's arg no longer takes value, and what a caller uses instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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