{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.\n\nIf you specify a new machine type it will be applied the next time your codespace is started.\n\nOAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint.","properties":{"path":{"type":"object","properties":{"codespace_name":{"type":"string","description":"The name of the codespace."}},"required":["codespace_name"],"additionalProperties":false},"body":{"type":"object","properties":{"machine":{"description":"A valid machine to transition this codespace to.","type":"string"},"display_name":{"description":"Display name for this codespace","type":"string"},"recent_folders":{"description":"Recently opened folders inside the codespace. It is currently used by the clients to determine the folder path to load the codespace in.","type":"array","items":{"type":"string"}}},"examples":[{"machine":"standardLinux"}]}},"required":["path"],"additionalProperties":false},"name":"Update a codespace for the authenticated user","id":"github.codespaces.update-for-authenticated-user","example":{"path":{"codespace_name":"example"}},"maxRequests":1,"summary":false}}