The binary is named r2cast. From a built checkout, substitute node packages/cli/dist/main.js.
node packages/cli/dist/main.js --helpCommands
| Command | Purpose |
|---|---|
connect |
Save a connection profile |
podcast list, get, create, update |
Manage shows and private settings |
episode create, update, get, validate |
Manage private episode drafts |
upload |
Upload a file from an allowed local root |
release prepare, publish, schedule, cancel |
Plan and authorize public changes |
release get, list, retry |
Inspect publication and recover an accepted job |
grant list, create, revoke |
Manage agent access as the owner |
view |
Return a URL for a focused task view |
call |
Call any canonical operation with a JSON file |
mcp --stdio |
Start a local MCP server |
install |
Validate, plan, or apply the Alchemy installation |
Common options
--urlorR2CAST_URLselects the management URL.--profileorR2CAST_PROFILEselects a connection profile.--token-fileorR2CAST_MCP_TOKEN_FILEloads an agent credential.--access-jwt-fileloads a production owner session from a private file.--filereads JSON input.--keysets the idempotency key for a mutation.--jsonproduces machine-readable results and errors.--waitexplicitly waits for a release; stopping the client does not cancel it.
Use the current command help for command-specific arguments. The examples in these docs use placeholders such as EPISODE_ID; replace them with returned values.
Call an operation directly
Save {"slug":"my-show"} in context.json:
r2cast call capabilities --file context.jsonUse this path for operations without a dedicated command, including distribution, revision reads, and export.
Exit codes
| Code | Meaning |
|---|---|
0 |
Command succeeded |
1 |
Other failure |
2 |
Validation failure |
3 |
Forbidden |
4 |
Conflict |
A successful publish command can return an accepted job that is still running. Read the release until it is completed.