Built by Metorial, the integration platform for agentic AI.

Learn More

Tools

Get Hook

Retrieve the details of a specific webhook by its ID.

List Deployments

Find deployments for a specific project, chat, and version combination.

Create Current Chat

Generate an application in a new v0 API v2 chat. Returns IDs for polling asynchronous generation or the completed chat.

Delete Environment Variables

Delete one or more environment variables from a V0 project by their IDs.

List Projects

List all V0 projects in your workspace. Returns project names, IDs, privacy settings, and URLs for each project.

Assign Project to Chat

Link an existing V0 project to a specific chat. This groups the conversation under a shared project context, enabling deployment and environment variable sharing.

Delete Deployment

Delete a deployment from Vercel. This will remove the deployed application and its URL.

List Current Chats

Discover v0 API v2 chats with cursor pagination and metadata, author, or Vercel project filters.

Update Environment Variables

Update the values of existing environment variables for a V0 project. Only the value can be changed; keys cannot be renamed.

Update Project

Update an existing V0 project's metadata including its name, description, instructions, or privacy setting.

Create Environment Variables

Create one or more environment variables for a V0 project. These variables are available across all chats in the project. Use upsert to update existing variables.

Get Account Info

Retrieve information about the authenticated V0 user including their profile, current subscription plan, and billing usage.

Get Chat

DEPRECATED — use `get_current_chat` instead. This tool uses API v1. Retrieve full details of a specific chat including its message history, latest version status, and associated metadata.

Get Current Message

Poll an asynchronous v0 API v2 message. A non-null finishReason indicates completion; error indicates failed generation.

Delete Hook

Delete a webhook by its ID. This action is irreversible.

Delete Chat

DEPRECATED — use `delete_current_chat` instead. This tool uses API v1. Permanently delete a chat and all its contents. This operation is irreversible.

Get Current Chat

Read a v0 API v2 chat, including metadata, privacy, and write access. Use list_current_messages for conversation history.

Get Deployment Logs

Retrieve logs and errors for a specific deployment. Useful for debugging and monitoring deployed applications. Optionally filter logs by timestamp.

Download Chat Version

Download source files from an existing v0 API v1 chat version as a ZIP or tarball archive. Useful for backups or migration.

Delete Project

Permanently delete a V0 project. This operation is irreversible and removes the project and all associated data.

Initialize Chat

DEPRECATED — use `import_current_chat` instead. This tool uses API v1. Initialize a new chat from existing source content such as files, a GitHub repository, a component registry, or a zip archive. This enables context-rich AI conversations based on your existing code.

Send Message

DEPRECATED — use `send_current_message` instead. This tool uses API v1. Send a follow-up message to an existing V0 chat to refine or iterate on generated code. The AI will process the message and produce a new version of the code. Use this for iterative development within a chat session.

List Environment Variables

Retrieve all environment variables for a V0 project. Optionally return decrypted values.

Send Current Message

Continue generating or refining an application in a v0 API v2 chat. Async requests return a message ID for polling.

List Current Messages

Read message text, completion status, and credit usage in a v0 API v2 chat with cursor pagination.

Create Hook

Create a new webhook that listens for specific V0 events. Supported events include chat and message lifecycle events. Optionally scope the hook to a specific chat.

Get Deployment

Retrieve details of a specific deployment including its status, URLs, and associated project/chat/version information.

List Chat Versions

Discover versions of an existing v0 API v1 chat for backup, download, or migration to a current chat.

Download Current Chat Files

Download the complete source workspace of a v0 API v2 chat as a ZIP archive.

Create Project

Create a new V0 project. Projects are containers for chats, code, and deployments. You can optionally set a description, instructions for the AI model, privacy settings, and initial environment variables.

Import Current Chat

Initialize a v0 API v2 chat with existing source files, without prompting code generation.

Update Current Chat

Update the title, privacy, or grouping metadata of a v0 API v2 chat.

Create Chat

DEPRECATED — use `create_current_chat` instead. This tool uses API v1. Start a new AI code generation session by sending a natural language prompt to V0. The AI will generate web application code based on your message. Optionally provide system context, associate with a project, or configure privacy settings.

List Hooks

Retrieve all webhooks configured in your V0 workspace.

Create Deployment

Deploy a specific version of a V0 chat to Vercel. Requires a project, chat, and version ID. The deployment will be hosted on Vercel's platform with a unique URL.

List Chats

DEPRECATED — use `list_current_chats` instead. This tool uses API v1. Retrieve a list of chats with pagination and filtering support. Filter by favorite status, Vercel project, or Git branch.

Get Project

Retrieve details of a specific V0 project by its ID. Returns project metadata, associated chats, and configuration.

Delete Current Chat

Permanently delete a v0 API v2 chat and its source workspace.

Get Chat Version

Inspect status and source file names of an existing v0 API v1 chat version. Use download_chat_version to retrieve its source files.