executor_run
Run your own command in a disposable sandbox (bubblewrap) on the account executor VM, never on the Fileaify server. Needs the project grant executor.run; each secret in env consumes one secrets.use. Pass secrets only by env as vault://service/key references, never inside the command. /work persists between calls while the VM lives. Set wait (seconds, 0-120, for example 120: the call stays open on the server, which is cheaper than polling) to get the output in this same call; otherwise it returns a job_id to poll with executor_job. Read executor_sandbox first: it lists ready-made recipes (commit and push, deploy over ssh).
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": {
"project_id": "<project_id>"
},
"name": "executor_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| argv | No | ||
| wait | No | ||
| command | No | ||
| network | No | ||
| timeout | No | ||
| workspace | No | ||
| project_id | Yes | ||
| result_offset | No |