G
GetGithubEnvVariable
GithubApi.GetGithubEnvVariable
Description
Retrieve specific environment variable details from GitHub.
Call this tool to get information about a specific environment variable within a specified environment of a GitHub repository. Requires authentication with an access token having 'repo' scope or GitHub App permissions.
Input Parameters
{
"parameters": [
{
"name": "environment_name",
"required": true,
"inferrable": true,
"description": "The name of the environment to retrieve the variable from. Required for identifying the specific environment.",
"value_schema": {
"val_type": "string"
}
},
{
"name": "repository_id",
"required": true,
"inferrable": true,
"description": "The unique identifier of the GitHub repository.",
"value_schema": {
"val_type": "integer"
}
},
{
"name": "variable_name",
"required": true,
"inferrable": true,
"description": "The name of the environment variable to retrieve from the GitHub repository.",
"value_schema": {
"val_type": "string"
}
}
]
} Output
{
"description": "Response from the API endpoint 'actions/get-environment-variable'.",
"value_schema": {
"val_type": "json"
},
"available_modes": [
"value",
"error"
]
}