diff --git a/lib/galaxy/schema/tools.py b/lib/galaxy/schema/tools.py index 1cea9f5f0456..77db23244568 100644 --- a/lib/galaxy/schema/tools.py +++ b/lib/galaxy/schema/tools.py @@ -11,6 +11,7 @@ ConfigDict, Field, field_validator, + UUID4, ) from galaxy.schema.fields import DecodedDatabaseIdField @@ -25,12 +26,12 @@ class ExecuteToolPayload(Model): - tool_id: Optional[Any] = Field( + tool_id: Optional[str] = Field( default=None, title="Tool ID", description="The ID of the tool to execute.", ) - tool_uuid: Optional[Any] = Field( + tool_uuid: Optional[UUID4] = Field( default=None, title="Tool UUID", description="The UUID of the tool to execute.",