316 lines
11 KiB
JSON
316 lines
11 KiB
JSON
{
|
|
"name": "UpdateProjectDomainConfig",
|
|
"fully_qualified_name": "VercelApi.UpdateProjectDomainConfig@0.1.0",
|
|
"description": "Update a project's domain configuration.\n\nUse this tool to update a project's domain settings, including the domain name, associated git branch, and redirect options.",
|
|
"toolkit": {
|
|
"name": "ArcadeVercelApi",
|
|
"description": null,
|
|
"version": "0.1.0"
|
|
},
|
|
"input": {
|
|
"parameters": [
|
|
{
|
|
"name": "project_identifier_or_name",
|
|
"required": true,
|
|
"description": "The unique project identifier or the project name used to update domain configuration.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The unique project identifier or the project name"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "idOrName"
|
|
},
|
|
{
|
|
"name": "project_domain_name",
|
|
"required": true,
|
|
"description": "The project domain name to be updated. Example: 'example.com'.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The project domain name"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "domain"
|
|
},
|
|
{
|
|
"name": "team_identifier",
|
|
"required": false,
|
|
"description": "The identifier for the team to perform the request on behalf of.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The Team identifier to perform the request on behalf of."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "teamId"
|
|
},
|
|
{
|
|
"name": "team_slug",
|
|
"required": false,
|
|
"description": "The slug identifier for the team to perform the request on behalf of.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The Team slug to perform the request on behalf of."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "slug"
|
|
},
|
|
{
|
|
"name": "linked_git_branch",
|
|
"required": false,
|
|
"description": "The Git branch to associate with the project domain.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Git branch to link the project domain"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "gitBranch"
|
|
},
|
|
{
|
|
"name": "redirect_target_domain",
|
|
"required": false,
|
|
"description": "Specify the target destination domain for the redirect of a project domain.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Target destination domain for redirect"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "redirect"
|
|
},
|
|
{
|
|
"name": "redirect_status_code",
|
|
"required": false,
|
|
"description": "HTTP status code for the domain redirect. Acceptable values are 301, 302, 307, 308, or None if no redirect is required.",
|
|
"value_schema": {
|
|
"val_type": "integer",
|
|
"inner_val_type": null,
|
|
"enum": [
|
|
"None",
|
|
"301",
|
|
"302",
|
|
"307",
|
|
"308"
|
|
],
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Status code for domain redirect"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "redirectStatusCode"
|
|
}
|
|
]
|
|
},
|
|
"output": {
|
|
"description": "Response from the API endpoint 'updateProjectDomain'.",
|
|
"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": null,
|
|
"secrets": [
|
|
{
|
|
"key": "VERCEL_ACCESS_TOKEN"
|
|
}
|
|
],
|
|
"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 vercel API."
|
|
},
|
|
"http_endpoint": {
|
|
"metadata": {
|
|
"object_type": "http_endpoint",
|
|
"version": "1.2.0",
|
|
"description": ""
|
|
},
|
|
"url": "https://api.vercel.com/v9/projects/{idOrName}/domains/{domain}",
|
|
"http_method": "PATCH",
|
|
"headers": {
|
|
"Content-Type": "application/json"
|
|
},
|
|
"parameters": [
|
|
{
|
|
"name": "teamId",
|
|
"tool_parameter_name": "team_identifier",
|
|
"description": "The Team identifier to perform the request on behalf of.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The Team identifier to perform the request on behalf of."
|
|
},
|
|
"accepted_as": "query",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "slug",
|
|
"tool_parameter_name": "team_slug",
|
|
"description": "The Team slug to perform the request on behalf of.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The Team slug to perform the request on behalf of."
|
|
},
|
|
"accepted_as": "query",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "idOrName",
|
|
"tool_parameter_name": "project_identifier_or_name",
|
|
"description": "The unique project identifier or the project name",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The unique project identifier or the project name"
|
|
},
|
|
"accepted_as": "path",
|
|
"required": true,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "domain",
|
|
"tool_parameter_name": "project_domain_name",
|
|
"description": "The project domain name",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The project domain name"
|
|
},
|
|
"accepted_as": "path",
|
|
"required": true,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "gitBranch",
|
|
"tool_parameter_name": "linked_git_branch",
|
|
"description": "Git branch to link the project domain",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Git branch to link the project domain"
|
|
},
|
|
"accepted_as": "body",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "redirect",
|
|
"tool_parameter_name": "redirect_target_domain",
|
|
"description": "Target destination domain for redirect",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Target destination domain for redirect"
|
|
},
|
|
"accepted_as": "body",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "redirectStatusCode",
|
|
"tool_parameter_name": "redirect_status_code",
|
|
"description": "Status code for domain redirect",
|
|
"value_schema": {
|
|
"val_type": "integer",
|
|
"inner_val_type": null,
|
|
"enum": [
|
|
"None",
|
|
"301",
|
|
"302",
|
|
"307",
|
|
"308"
|
|
],
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Status code for domain redirect"
|
|
},
|
|
"accepted_as": "body",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
}
|
|
],
|
|
"documentation_urls": [],
|
|
"secrets": [
|
|
{
|
|
"arcade_key": "VERCEL_ACCESS_TOKEN",
|
|
"parameter_name": "Authorization",
|
|
"accepted_as": "header",
|
|
"formatted_value": "Bearer {authorization}",
|
|
"description": "",
|
|
"is_auth_token": false
|
|
}
|
|
],
|
|
"request_body_spec": "{\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"gitBranch\": {\n \"description\": \"Git branch to link the project domain\",\n \"example\": null,\n \"type\": \"string\",\n \"maxLength\": 250,\n \"nullable\": true\n },\n \"redirect\": {\n \"description\": \"Target destination domain for redirect\",\n \"example\": \"foobar.com\",\n \"type\": \"string\",\n \"nullable\": true\n },\n \"redirectStatusCode\": {\n \"description\": \"Status code for domain redirect\",\n \"example\": 307,\n \"type\": \"integer\",\n \"enum\": [\n null,\n 301,\n 302,\n 307,\n 308\n ],\n \"nullable\": true\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n}",
|
|
"use_request_body_schema_mode": false,
|
|
"validate_request_body_schema": false
|
|
}
|
|
}
|