AcceptProjectTransfer
VercelApi.AcceptProjectTransfer
Description
Accept a project transfer request on Vercel.
Use this tool to accept a project transfer request that has been initiated by another team on Vercel. This process requires a transfer code, which is generated by the initiating team. Call this tool when you need to finalize the transfer of a project to your team.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
This operation also requires path, query parameters.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
Note: You must also provide the required path, query parameters when executing.
If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Input Parameters
{
"parameters": [
{
"name": "mode",
"required": true,
"inferrable": true,
"description": "Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operation",
"value_schema": {
"enum": [
"get_request_schema",
"execute"
],
"val_type": "string"
}
},
{
"name": "project_transfer_code",
"required": false,
"inferrable": true,
"description": "The unique code of the project transfer request, required to accept the transfer. Required when mode is 'execute', ignored when mode is 'get_request_schema'.",
"value_schema": {
"val_type": "string"
}
},
{
"name": "team_identifier",
"required": false,
"inferrable": true,
"description": "The unique identifier of the team to perform the request on behalf of. Only used when mode is 'execute'.",
"value_schema": {
"val_type": "string"
}
},
{
"name": "team_slug",
"required": false,
"inferrable": true,
"description": "The team slug used to perform the project transfer request on behalf of a specific team. Only used when mode is 'execute'.",
"value_schema": {
"val_type": "string"
}
},
{
"name": "request_body",
"required": false,
"inferrable": true,
"description": "Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema'",
"value_schema": {
"val_type": "string"
}
}
]
} Output
{
"description": "Response from the API endpoint 'acceptProjectTransferRequest'.",
"value_schema": {
"val_type": "json"
},
"available_modes": [
"value",
"error"
]
}