stop_codespace
Stop a running GitHub codespace to end its active session, freeing resources and preventing continued usage. Halts the environment for the authenticated user.
Instructions
Stop a running codespace for the authenticated user. Docs: https://docs.github.com/en/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user
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": {
"codespace_name": "<codespace_name>"
},
"name": "stop_codespace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codespace_name | Yes | The name of the codespace (e.g. "octocat-happy-space-1234"). |