codespace_prepare
Start or resume a GitHub Codespace prepare operation for a project: launch a stopped instance, install the bundled runner, and probe it. Poll with the same requestId while it boots.
Instructions
Persist or resume a prepare operation: with start_existing (dedicated bindings only) start a stopped instance, then install the bundled runner and probe it. Returns starting while the instance boots; call again with the same requestId. Transport failure returns unknown. A recent prepare briefly delays automatic release.
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>"
},
"name": "codespace_prepare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | en | |
| policy | No | ||
| projectId | Yes | ||
| requestId | Yes | ||
| operationId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||