Skip to main content

validate_tool_annotations

Function validate_tool_annotations 

Source
pub fn validate_tool_annotations(
    annotations: &McpToolAnnotations,
) -> Result<(), McpToolError>
Expand description

Validate MCP tool annotations accepted by generated integrations.

ยงErrors

Returns McpToolError when annotation hints conflict or annotation text is invalid.