vault_job_request
Request owner-approved scheduled jobs that run commands over SSH on a server, with optional recurring schedules, timeouts, and file-keeping for backups. Nothing runs until the owner approves it.
Instructions
Ask the owner for a SCHEDULED JOB the helper app runs for you on a server, with one of your SSH keys. Give a name, entry_id, destination user@host[:port], exact argv (program and arguments, no shell), schedule, and why it is needed. The owner approves it on the Jobs page in their vault, with a passkey and sees the exact command. Nothing runs until then. The job then runs on its own, with no agent involved. Jobs use everyday SSH keys that run without asking, never admin or ask-first keys. Only one job runs per server at a time. Timeout defaults to 300 seconds; ask for more (up to 6 hours) when the job needs it — the owner sees and approves it. Output stays on the helper; this tool does not return it. Use vault_job_status to check the request. For a job that brings back a FILE (a backup), give file: {max_bytes, keep}: the command writes the file to its output, and the helper keeps it in its own folder on its computer (the last keep copies), which agents cannot read. A run that passes max_bytes, or would leave the helper's drive too full, fails and keeps nothing. The request is refused if max_bytes × (keep + 1) would not fit in the free space. A run must finish within its timeout, so set timeout_s long enough for the file to transfer.
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": {
"name": "<name>",
"entry_id": "<entry_id>",
"destination": "<destination>",
"argv": "<argv>",
"schedule": "<schedule>",
"why": "<why>"
},
"name": "vault_job_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | Yes | Why this job is needed, shown to the owner. No control characters. | |
| argv | Yes | Exact program and arguments. No shell; at most 16 KB total in UTF-8, without NUL characters. | |
| file | No | Only for a job whose output is a file to keep (a backup). | |
| name | Yes | Job name, without control characters or surrounding whitespace. | |
| entry_id | Yes | An everyday, runs-without-asking SSH key held by this agent. | |
| schedule | Yes | Daily at HH:MM, or every 1 to 24 hours, with an IANA time zone. | |
| timeout_s | No | Maximum run time in seconds (up to 6 hours). | |
| destination | Yes | SSH destination: user@host[:port]. | |
| grace_minutes | No | Extra time before a missed run is reported. |