Shopify / Shopify/roast

Add structured json output feature to Roast

Open
#1,007 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Ruby
Stars
1.2k
Forks
76
PR merge metrics
No merged PRs in 30d

Description

Claude exposes a way to force the output of a model call to be in json format. This should be added as a feature for building Roast workflows that expect an output in a specific json schema.

It would significantly reduce the need to say something like "output your answer in json following XYZ schema with no other surrounding text", which is often flaky.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating Roast’s Claude model-call integration and workflow output configuration, then compare the requested structured JSON behavior with the existing provider interface. Done should mean a workflow can request a specific JSON schema and reliably receive output in that format.

Written by the indexing model from the issue text.

Assessment

Tech stack
json, ruby
Domain
ai
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.