openclaw_deploy
Deploy or rollback a service on OpenClaw by running its script, or inspect the last deploy log.
Instructions
Trigger deploy or rollback scripts on the OpenClaw server, or check the last deploy log. Scripts must exist at OPENCLAW_DEPLOY_SCRIPT_DIR (default: ~/deploy).
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": {
"service": "<service>",
"action": "<action>"
},
"name": "openclaw_deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | deploy: run deploy script, rollback: run rollback script, status: show last deploy log | |
| service | Yes | Service name to deploy, e.g. "api", "worker", "frontend" |