get_codespace
Retrieve a GitHub codespace by its name for the authenticated user. Returns the codespace details you need.
Instructions
Get a codespace by name for the authenticated user. Docs: https://docs.github.com/en/rest/codespaces/codespaces#get-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": "get_codespace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codespace_name | Yes | The name of the codespace (e.g. "octocat-happy-space-1234"). |