Documentation
¶
Overview ¶
Package toolvalidator provides validation utilities for tool definitions and tool calls. It includes functionality to validate tool schemas, arguments, and ensure compliance with expected formats and constraints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator validates tool definitions and tool calls
func New ¶
New creates a new Validator strictMode: if true, extra fields in tool call arguments are rejected
func (*Validator) ValidateToolCall ¶
ValidateToolCall validates a tool call against its definition
Click to show internal directories.
Click to hide internal directories.