arcade-mcp/toolkits/github_api/arcade_github_api/wrapper_tools/CreatePreReceiveEnvironment.json
jottakka de742ff4f1
[MOAR][Asana][Github] Adding GitHub and Asana starter toolkits (#663)
Co-authored-by: Francisco Liberal <francisco@arcade.dev>
2025-10-30 18:21:34 -03:00

150 lines
5.2 KiB
JSON

{
"name": "CreatePreReceiveEnvironment",
"fully_qualified_name": "GithubApi.CreatePreReceiveEnvironment@0.1.0",
"description": "Create a new pre-receive environment on GitHub Enterprise.\n\nThis tool is used to create a pre-receive environment in GitHub Enterprise. It should be called when you need to set up an environment for pre-receive hooks.",
"toolkit": {
"name": "ArcadeGithubApi",
"description": null,
"version": "0.1.0"
},
"input": {
"parameters": [
{
"name": "tarball_download_url",
"required": true,
"description": "URL to download the tarball for the pre-receive environment setup.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "URL from which to download a tarball of this environment."
},
"inferrable": true,
"http_endpoint_parameter_name": "image_url"
},
{
"name": "pre_receive_environment_name",
"required": true,
"description": "The name of the new pre-receive environment to be created.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The new pre-receive environment's name."
},
"inferrable": true,
"http_endpoint_parameter_name": "name"
}
]
},
"output": {
"description": "Response from the API endpoint 'enterprise-admin/create-pre-receive-environment'.",
"available_modes": [
"value",
"error",
"null"
],
"value_schema": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
}
},
"requirements": {
"authorization": {
"provider_id": "arcade-github",
"provider_type": "oauth2",
"id": null,
"oauth2": null
},
"secrets": [
{
"key": "GIT_SERVER_URL"
}
],
"metadata": null
},
"deprecation_message": null,
"metadata": {
"object_type": "api_wrapper_tool",
"version": "1.1.0",
"description": "Tools that enable LLMs to interact directly with the GitHub API."
},
"http_endpoint": {
"metadata": {
"object_type": "http_endpoint",
"version": "1.2.0",
"description": ""
},
"url": "{git_server_url}/api/v3/admin/pre-receive-environments",
"http_method": "POST",
"headers": {},
"parameters": [
{
"name": "image_url",
"tool_parameter_name": "tarball_download_url",
"description": "URL from which to download a tarball of this environment.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "URL from which to download a tarball of this environment."
},
"accepted_as": "body",
"required": true,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "name",
"tool_parameter_name": "pre_receive_environment_name",
"description": "The new pre-receive environment's name.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The new pre-receive environment's name."
},
"accepted_as": "body",
"required": true,
"deprecated": false,
"default": null,
"documentation_urls": []
}
],
"documentation_urls": [],
"secrets": [
{
"arcade_key": "GIT_SERVER_URL",
"parameter_name": "git_server_url",
"accepted_as": "path",
"formatted_value": null,
"description": "",
"is_auth_token": false
},
{
"arcade_key": "auth_token",
"parameter_name": "Authorization",
"accepted_as": "header",
"formatted_value": "Bearer {authorization}",
"description": "The OAuth token to use for authentication.",
"is_auth_token": true
}
],
"request_body_spec": "{\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"default\": {\n \"value\": {\n \"image_url\": \"https://my_file_server/path/to/devtools_env.tar.gz\",\n \"name\": \"DevTools Hook Env\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"image_url\": {\n \"description\": \"URL from which to download a tarball of this environment.\",\n \"type\": \"string\"\n },\n \"name\": {\n \"description\": \"The new pre-receive environment's name.\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\",\n \"image_url\"\n ],\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n}",
"use_request_body_schema_mode": false,
"validate_request_body_schema": false
}
}