editor_job_start
Starts compile, play-mode, or open-scene operations as background editor jobs and returns immediately; continue other work, then check results with job_wait or job_status.
Instructions
Starts a long editor operation as a job and returns at once. The kinds are compile (compile the scripts and wait until the editor has reloaded and settled), play_start, play_stop, play_pause, play_resume and open_scene (path). Editor jobs run one at a time. A second job while one runs fails with job_conflict, which names the running job. Follow the job with job_wait or job_status. Its result is the result of editor_compile, editor_play_mode or editor_open_scene. Use this tool instead of those tools when the client must not wait, or when it does other work and then checks the job.
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": {
"kind": "<kind>"
},
"name": "editor_job_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | compile, play_start, play_stop, play_pause, play_resume or open_scene. | |
| path | No | For open_scene: the scene path, absolute or relative to Content/. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| jobId | Yes | ||
| startedUtc | Yes |