Skip to main content

Module validation

Module validation 

Source
Expand description

Input validation and sanitization.

Defense-in-depth: validate all external inputs before processing.

Modules§

limits
Size limits per input type.

Enums§

ValidationError
Validation error types.

Functions§

validate_message_content
Validate and sanitize message content from channels.
validate_path
Validate a file path to prevent path traversal attacks.
validate_tool_params
Validate tool parameters against a JSON schema.