run_job
Run sandboxed commands on available network computers or community machines, with encrypted transfer, isolation, and automatic deletion after results are returned.
Instructions
Run a command in a sandbox on one of the person's own network computers if one is free, otherwise on another BitPull user's computer (encrypted on the way, no network, isolated, deleted afterwards; the computer that runs it can read the job, so use placement mine for private data). Put small input files in inputs (path -> base64). For large files of any kind (video, datasets, archives…) use files (path in the job -> file on this computer, inside a folder the person authorised): they are encrypted here and sent directly, with no fixed size limit; call bitpull_file_limits first to see how much one job can carry right now. Files written to /work/out come back in the result; large ones are saved into outputFolder. Prefer several smaller jobs to one huge job when the work can be divided (one file or one segment per job): the result is the same and the parts run in parallel on several computers. Everything is deleted from the computer that ran the job as soon as the result is delivered. Costs BitPull credits.
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": {
"image": "<image>",
"command": "<command>"
},
"name": "run_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpus | No | ||
| wait | No | Wait for the result (default true; up to 2 minutes, or 6 hours when large files are sent) | |
| files | No | Large input files: path inside the job -> absolute path on this computer (inside an authorised folder) | |
| image | Yes | Public container image, e.g. python:3.12-slim | |
| inputs | No | ||
| command | Yes | ||
| memoryMb | No | ||
| isolation | No | vm: only computers that run each job in its own virtual machine | |
| placement | No | auto (default): the person's own network computers first, for free, then the community. mine: never leaves the person's own computers; use it for private data. | |
| timeoutSec | No | ||
| outputFolder | No | Authorised folder where large results are saved (then deleted from BitPull's store) | |
| deterministic | No | True if the same inputs always give the same output |