Pydantic models for Galaxy tools, providing type-safe data structures for tool definitions, parameters, inputs, outputs, and workflows. Current version 26.0.0, part of the Galaxy project, released as part of the main Galaxy monorepo with no fixed cadence.
pip install galaxy-tool-util-modelsVerified import paths — ran on the pinned version, not inferred.
Basic usage: import and instantiate Tool model from a dictionary. Models are Pydantic-based and validate data on creation.
Use 'from galaxy.tool_util.models import Tool'.
Use 'WorkflowStep' model from the same module for workflow-related tool definitions.
Correct import: 'from galaxy.tool_util.models import ...'