functioncallmodifier

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package functioncallmodifier provides a plugin to modify function calls.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNewPlugin

func MustNewPlugin(cfg FunctionCallModifierConfig) *plugin.Plugin

MustNewPlugin is like NewPlugin but panics if there is an error.

func NewPlugin

func NewPlugin(cfg FunctionCallModifierConfig) (*plugin.Plugin, error)

NewPlugin creates a FunctionCallModifierPlugin.

Types

type FunctionCallModifierConfig

type FunctionCallModifierConfig struct {
	Predicate           func(toolName string) bool
	Args                map[string]*genai.Schema
	OverrideDescription func(originalDescription string) string
}

Jump to

Keyboard shortcuts

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