Skip to main content

Module enricher

Module enricher 

Source
Expand description

Tool enrichment traits and schema utilities.

This module defines the ToolEnricher trait and ToolSchema struct that enable dynamic modification of MCP tool schemas. Provider crates implement ToolEnricher to adapt tool schemas to their capabilities.

Structs§

PropertySchema
JSON Schema property definition for a tool parameter.
ToolSchema
Tool input schema with typed property definitions.

Traits§

ToolEnricher
Trait for plugins that dynamically modify tool schemas and transform arguments.

Functions§

sanitize_field_name
Convert a human-readable field name to a safe cf_ parameter name.