github_codespaces_check_permissions_for_devcontainer
Check if the authenticated user has accepted permissions defined by a devcontainer configuration in a GitHub repository. Provide owner, repo, ref, and devcontainer_path.
Instructions
Check if permissions defined by a devcontainer have been accepted by 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": {
"owner": "<owner>",
"repo": "<repo>",
"ref": "<ref>",
"devcontainer_path": "<devcontainer_path>"
},
"name": "github_codespaces_check_permissions_for_devcontainer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically be a branch name (`heads/BRANCH_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. | |
| repo | Yes | repo | |
| owner | Yes | owner | |
| devcontainer_path | Yes | Path to the devcontainer.json configuration to use for the permission check. |