Deploy a committed revision
deploy_refFor existing-app repairs, use the exact commit returned by rcs_commit; unchanged files are already in the repository. Deploys a revision committed with rcs_commit; not for a first deploy or a fork redeploy (deploy_source: one build, no verdict). When the platform requires tests, it refuses a commit without a passing test_ref verdict; the repository's ferrite.json must name exactly this app (for a fork, the fork's name). Deploy a COMMITTED revision of the app's repository: the platform checks out the source at the ref (omit for the 'main' head), reads the deployment spec FROM the repo ('spec_path', default 'ferrite.json'), attest-builds, and deploys — the version-controlled deploy flow (no monolithic single-call upload). ASYNCHRONOUS, for the same reason as deploy_source: it compiles your source, which takes minutes. Returns {BuildStarted:{build_id,app}}; then build_status (wait_s: 50). Do NOT resubmit while it is building.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app": "<app>"
},
"name": "deploy_ref"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| token | No | fallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused | |
| instances | No | ||
| reference | No | ||
| spec_path | No |