Skip to content
Docs

create_deployment

Create a deployment from a Git source or files. Put name, project, gitSource or files, and projectSettings inside requestBody. Use requestBody.target: "production" for production, or omit target for a preview. Follow the tool's input schema for file formats and build settings.

Sample prompt: "Create a preview deployment of my project's main branch"

ParameterTypeRequiredDescription
forceNewstringNoForces a new deployment even if there is a previous similar deployment. Set to 1 to bypass deployment deduplication and always trigger a fresh build. Allowed values: "0", "1".
skipAutoDetectionConfirmationstringNoSet to 1 to skip framework auto-detection and proceed without confirmation. By default, if Vercel detects a framework that differs from the project setting, the API returns a 400 asking you to confirm. Use this to suppress that check in automated pipelines. Allowed values: "0", "1".
teamIdstringNoTeam ID.
slugstringNoTeam slug.
requestBodyobjectYesRequest body for this tool.

Was this helpful?

supported.