Skip to content

Implement more tool validation APIs in Galaxy to mirror the Tool Shed. #22196

Open
jmchilton wants to merge 2 commits intogalaxyproject:devfrom
jmchilton:tool_schema_apis
Open

Implement more tool validation APIs in Galaxy to mirror the Tool Shed. #22196
jmchilton wants to merge 2 commits intogalaxyproject:devfrom
jmchilton:tool_schema_apis

Conversation

@jmchilton
Copy link
Member

Add /parsed and versioned schema endpoints to Galaxy tools API.

Mirror ToolShed tool endpoints on Galaxy's API:

  • GET /api/tools/{id}/parsed — ParsedTool JSON (inputs + outputs)
  • GET /api/tools/{id}/versions/{v}/parsed — versioned variant
  • GET /api/tools/{id}/versions/{v}/parameter_request_schema
  • GET /api/tools/{id}/versions/{v}/parameter_landing_request_schema
  • GET /api/tools/{id}/versions/{v}/parameter_test_case_xml_schema

Enables galaxy-tool-cache to fetch tool metadata from a running Galaxy instance in addition to ToolShed - it will make it easier to work around various bugs in the tool shed (#22181 , #22007) found during development and is needed longer term for custom Galaxy tools not deployed to the Tool Shed at private Galaxy instances.

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

jmchilton and others added 2 commits March 19, 2026 12:01
Mirror ToolShed tool endpoints on Galaxy's API:
- GET /api/tools/{id}/parsed — ParsedTool JSON (inputs + outputs)
- GET /api/tools/{id}/versions/{v}/parsed — versioned variant
- GET /api/tools/{id}/versions/{v}/parameter_request_schema
- GET /api/tools/{id}/versions/{v}/parameter_landing_request_schema
- GET /api/tools/{id}/versions/{v}/parameter_test_case_xml_schema

Enables galaxy-tool-cache to fetch tool metadata from a running Galaxy
instance instead of requiring ToolShed access.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

1 participant