"""Pydantic schemas for file management endpoints.""" import uuid from pydantic import BaseModel, Field class FileInspectRequest(BaseModel): """Request body for FILE_INSPECT tasks.""" tenant_id: uuid.UUID = Field(..., description="UUID of the tenant") path: str = Field( ..., min_length=1, description="Absolute path to the file to inspect" ) max_bytes: int | None = Field( 4096, ge=1, le=1048576, description="Max bytes to read from file (default 4096, max 1MB)", )