Skip to main content

SchemaModifier

Trait SchemaModifier 

Source
pub trait SchemaModifier: Send + Sync {
    // Required method
    fn modify(
        &self,
        tool: &str,
        toolkit: &str,
        schema: ToolSchema,
    ) -> ToolSchema;
}
Expand description

Trait for schema modifiers

Required Methods§

Source

fn modify(&self, tool: &str, toolkit: &str, schema: ToolSchema) -> ToolSchema

Modify tool schema

§Arguments
  • tool - Tool slug (e.g., “GITHUB_CREATE_ISSUE”)
  • toolkit - Toolkit slug (e.g., “github”)
  • schema - Tool schema to modify
§Returns

Modified tool schema

Implementors§