job_submit
Submits a job to run ordered command or shell steps on a GitHub Codespace, checking out a specific commit in a fresh worktree and freezing artifacts with SHA-256. Does not upload local changes.
Instructions
Persist and submit an asynchronous job: fetch the pushed ref on the bound Available Codespace, verify the full commit is reachable, check it out in a fresh worktree and run ordered command/shell steps (cleanup steps always run). Declared artifacts are frozen with SHA-256 after the main steps, before cleanup. Same requestId and plan returns the same job; check data.submission and data.status. Does not upload local changes.
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": {
"projectId": "<projectId>",
"requestId": "<requestId>",
"source": "<source>",
"steps": "<steps>"
},
"name": "job_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | ||
| locale | No | en | |
| source | Yes | ||
| artifacts | No | ||
| projectId | Yes | ||
| requestId | Yes | ||
| timeoutSeconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||