Generate a playable case study from a GitHub PR and publish it to sims.sloelabs.com.
/v1/abilities/sim.generateGenerate a playable case study from a GitHub PR and publish it to sims.sloelabs.com. Fetches the PR description + diff, has Claude write an interactive sim against the sim-kit contract, syntax-checks it, then builds + deploys the sims site and returns the public URL. Fail-closed: the key must carry simGenerate:true. Spends real model tokens; hand-crafted repo sims always win over generated ones on slug clash.
Request body
Section titled “Request body”inputSimGenerateInputrequiredShow 4 properties
prUrlstringrequiredslugstringoptionalkebab-case URL path; derived from the PR title if omitted
notesstringoptionaloperator guidance for the sim author (what to emphasise)
overwritebooleanoptionalreplace an existing GENERATED sim with the same slug
contextCallContextoptionalOptional call context. The tenant always comes from the credential:
tenantIdis honoured only by a credential allowed to address sub-tenants, and then nests under the credential’s own tenant.Show 3 properties
tenantIdstringoptionalSub-tenant to act for (sub-tenant credentials only).
runIdstringoptionalThe trust run (from trust.preflight) this call executes under.
verticalIdstringoptionalVertical to attribute created records to.
Returns
Section titled “Returns”Schema shown for 200 · application/json
resultThe ability’s return value. Its shape depends on the ability.