Start background process
spawnStart a detached process on a remote peer that outlives the call for servers or long builds, returning its PID and log file path to read later with shell.
Instructions
Start a detached process on the peer that outlives the call (servers, long builds). Returns its pid and log file path; read the log later with shell.
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": {
"peer": "<peer>",
"command": "<command>"
},
"name": "spawn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | The peer's 9-digit rockd ID (from `devices` / `status`), or IP:port to dial directly | |
| command | Yes |