> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# V0

> v0 is an AI-powered web development assistant built by Vercel, designed to generate real, production-ready code for modern web applications.

![V0 logo](https://mintcdn.com/composio-preview/DMB8UrgJmE7r-ZQ5/images/toolkits/v0.svg?fit=max\&auto=format\&n=DMB8UrgJmE7r-ZQ5\&q=85\&s=92eebd5a9fda814c1480a517d141c950)

* **Category:** artificial intelligence
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 44
* **Triggers:** 0
* **Slug:** `V0`
* **Version:** 20261101\_00

## Tools

> [accordion] Assign Chat To Project
>
> **Slug:** `V0_ASSIGN_CHAT_TO_PROJECT`
>
> Tool to assign a chat to a project. Use when you need to group a conversation under a shared project context for better organization.
>
> #### Input Parameters
>
> **chatId** `string` *required*
>
> The ID of the chat to assign to the project
>
> **projectId** `string` *required*
>
> The ID of the project to assign the chat to
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] V0 Chat Completions
>
> **Slug:** `V0_CHAT_COMPLETIONS`
>
> Generate a conversational response by creating a new persistent v0 chat. The request uses the last user message and combined system messages rather than the full conversation history, and returns an OpenAI-style completion.
>
> #### Input Parameters
>
> **model** `string`
>
> Model ID to use. Available: 'v0-mini' (fast), 'v0-pro' (balanced, default), 'v0-max' (advanced reasoning), 'v0-max-fast' (fast advanced).
>
> **tools** `array`
>
> Tool/function definitions the model may call. Note: Tool calling is not supported by the v0 API through this action.
>
> **stream** `boolean`
>
> Whether to stream the response. Note: Streaming is not supported by this action; set to False or omit.
>
> **messages** `array` *required*
>
> Conversation history as a list of messages. Each message requires 'role' (user/assistant/system) and 'content' (text string or content blocks). The last user message will be sent to the v0 API. Note: Image content blocks are ignored as the v0 /chats endpoint does not support multimodal input. Multiple system messages are concatenated with newlines.
>
> **tool\_choice** `string`
>
> Controls which tool is called. Note: Tool calling is not supported by the v0 API through this action.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Webhook
>
> **Slug:** `V0_CREATE_HOOK_V0`
>
> Tool to create a new webhook subscription for receiving event notifications. Use when you need to listen for chat or message events from v0.
>
> #### Input Parameters
>
> **url** `string` *required*
>
> The target URL to receive webhook payloads. Must be a valid HTTP/HTTPS endpoint
>
> **name** `string` *required*
>
> A human-readable name for the webhook
>
> **chatId** `string`
>
> Optional chat ID to scope the webhook to a specific chat. If omitted, webhook receives events from all chats
>
> **events** `array` *required*
>
> Array of event types to subscribe to. Choose from: chat.created, chat.updated, chat.deleted, message.created, message.updated, message.deleted, message.finished
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create V0 Project
>
> **Slug:** `V0_CREATE_PROJECT`
>
> Tool to create a new v0 project container for chats and code generation. Use when you need to start a clean project with specific configuration.
>
> #### Input Parameters
>
> **icon** `string`
>
> Icon identifier or emoji for the project
>
> **name** `string` *required*
>
> Name of the project (required)
>
> **privacy** `string ("private" | "team")`
>
> Privacy setting for the project: 'private' or 'team'
>
> **description** `string`
>
> Description of the project
>
> **instructions** `string`
>
> Additional instructions or context for the project. Maximum length: 1000 characters
>
> **vercelProjectId** `string`
>
> ID of an existing Vercel project to link with this v0 project
>
> **environmentVariables** `array`
>
> List of environment variables for the project. Each item must have 'key' and 'value' fields
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Project Environment Variables
>
> **Slug:** `V0_CREATE_PROJECT_ENV_VARS`
>
> Tool to create new environment variables for a v0 project. Use when you need to add environment variables to a project. By default, fails if any keys already exist unless upsert is set to true.
>
> #### Input Parameters
>
> **upsert** `boolean`
>
> Whether to overwrite existing environment variables with the same keys. If false, the request will fail if any keys already exist. Defaults to false
>
> **decrypted** `string ("true" | "false")`
>
> Enum for the decrypted query parameter.
>
> **projectId** `string` *required*
>
> The unique identifier of the project where environment variables should be created
>
> **environmentVariables** `array` *required*
>
> An array of environment variables to create with key and value fields. Each item must have 'key' and 'value' properties
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Vercel Project
>
> **Slug:** `V0_CREATE_VERCEL_PROJECT`
>
> Tool to link a Vercel project to an existing v0 project. Use when you need to enable Vercel-related features and deployment integration for a v0 project.
>
> #### Input Parameters
>
> **name** `string` *required*
>
> The name to assign to the new Vercel project
>
> **projectId** `string` *required*
>
> The ID of the v0 project to link to the new Vercel project
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Chat
>
> **Slug:** `V0_DELETE_CHAT`
>
> Tool to permanently delete a specific chat by ID. Use when you need to remove a chat and all its contents irreversibly.
>
> #### Input Parameters
>
> **chatId** `string` *required*
>
> The unique identifier of the chat to delete. This operation is irreversible and permanently removes the chat and its contents.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Deployment
>
> **Slug:** `V0_DELETE_DEPLOYMENT`
>
> Tool to delete a deployment by ID from Vercel. Use when you need to remove a specific deployment permanently.
>
> #### Input Parameters
>
> **deploymentId** `string` *required*
>
> Unique identifier of the deployment to delete
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Hook
>
> **Slug:** `V0_DELETE_HOOK`
>
> Tool to delete a webhook by its ID. Use when you need to remove a webhook subscription. This action is irreversible.
>
> #### Input Parameters
>
> **hookId** `string` *required*
>
> The ID of the webhook to delete. This operation is irreversible.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Project Environment Variables
>
> **Slug:** `V0_DELETE_PROJECT_ENV_VARS_V0`
>
> Tool to delete multiple environment variables from a project by their IDs. Use when you need to remove environment variables from a v0 project.
>
> #### Input Parameters
>
> **projectId** `string` *required*
>
> The unique identifier of the project whose environment variables should be deleted
>
> **environmentVariableIds** `array` *required*
>
> An array of environment variable IDs to delete
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete V0 Project
>
> **Slug:** `V0_DELETE_V0_PROJECT`
>
> Tool to permanently delete a v0 project by its ID. Use when you need to remove a project and optionally all its associated chats. This operation is irreversible.
>
> #### Input Parameters
>
> **projectId** `string` *required*
>
> The unique identifier of the project to delete. This must be a valid project ID that you have access to
>
> **deleteAllChats** `string ("true" | "false")`
>
> If true, deletes all the chats associated with the given project ID. Deleting is permanent. Defaults to false
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Deploy Project
>
> **Slug:** `V0_DEPLOY_PROJECT`
>
> Tool to deploy a specific v0 chat version to Vercel. Use when you need to create a live deployment with public URLs after generating code via v0.
>
> #### Input Parameters
>
> **chatId** `string` *required*
>
> The ID of the chat to deploy
>
> **projectId** `string` *required*
>
> The ID of the project to deploy
>
> **versionId** `string` *required*
>
> The ID of the specific version to deploy
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Download Chat Version
>
> **Slug:** `V0_DOWNLOAD_CHAT_VERSION`
>
> Tool to download all files for a specific chat version as a zip or tarball archive. Use when you need to retrieve a complete downloadable archive of a version's files, optionally including deployment configuration files.
>
> #### Input Parameters
>
> **chatId** `string` *required*
>
> The unique identifier of the chat containing the version
>
> **format** `string ("zip" | "tarball")`
>
> The archive format for the download. Choose 'zip' for broad compatibility or 'tarball' for Unix/Linux systems
>
> **versionId** `string` *required*
>
> The unique identifier of the version to download
>
> **includeDefaultFiles** `string ("true" | "false")`
>
> When 'true', includes all default files (package.json, configuration files, etc.) that would be part of a complete deployment. When 'false' or omitted, returns only the generated source files
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Export Project Code
>
> **Slug:** `V0_EXPORT_PROJECT_CODE`
>
> Retrieve the files of a specific v0 chat version for code export. Default deployment files are requested by default but can be excluded.
>
> #### Input Parameters
>
> **chatId** `string` *required*
>
> The unique identifier of the chat containing the version to export
>
> **versionId** `string` *required*
>
> The unique identifier of the specific version to export
>
> **includeDefaultFiles** `string`
>
> Set to 'true' to include default deployment files (package.json, config files, etc.) for a complete deployable snapshot. Set to 'false' to return only generated source files. Defaults to 'true'.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Favorite Chat
>
> **Slug:** `V0_FAVORITE_CHAT`
>
> Tool to mark a chat as favorite or remove the favorite status. Use when you need to organize and quickly access important chats.
>
> #### Input Parameters
>
> **chatId** `string` *required*
>
> The unique identifier of the chat to update
>
> **isFavorite** `boolean` *required*
>
> Specifies whether the chat should be marked as a favorite. Set to true to mark as favorite, false to remove from favorites
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Find Chats
>
> **Slug:** `V0_FIND_CHATS`
>
> Tool to retrieve a list of chats. Use when you need to list user chats with pagination and optional favorite filtering after authentication.
>
> #### Input Parameters
>
> **limit** `integer`
>
> Maximum number of chats to return; must be between 0 and 60
>
> **offset** `integer`
>
> Number of chats to skip before returning results; must be non-negative
>
> **isFavorite** `boolean`
>
> Set to true to filter and return only favorite chats. Omit or set to false to return all chats (favorites and non-favorites).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Find Projects
>
> **Slug:** `V0_FIND_PROJECTS`
>
> Tool to retrieve a list of projects associated with the authenticated user. Use after obtaining a valid API key.
>
> #### Input Parameters
>
> **after** `string`
>
> Cursor for pagination to return items after this cursor
>
> **limit** `integer`
>
> Maximum number of projects to return; must be >= 1
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Find Vercel Projects
>
> **Slug:** `V0_FIND_VERCEL_PROJECTS`
>
> Tool to retrieve a list of Vercel projects linked to the user's v0 workspace. Use when you need to discover available Vercel projects for deployment or integration purposes.
>
> #### Input Parameters
>
> **after** `string`
>
> Cursor for pagination to return items after this cursor
>
> **limit** `integer`
>
> Maximum number of Vercel projects to return; must be >= 1
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Fork Chat
>
> **Slug:** `V0_FORK_CHAT`
>
> Tool to create a fork (copy) of an existing chat. Use when you need to explore alternative directions without modifying the original conversation.
>
> #### Input Parameters
>
> **chatId** `string` *required*
>
> The unique identifier of the chat to fork
>
> **privacy** `string ("public" | "private" | "team" | "team-edit" | "unlisted")`
>
> Privacy settings for a chat.
>
> **versionId** `string`
>
> The identifier of the specific chat version to fork from. If omitted, the latest version will be used.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Chat
>
> **Slug:** `V0_GET_CHAT`
>
> Tool to retrieve the full details of a specific chat using its chatId. Use when you need to access chat messages, metadata, and configuration for a specific chat.
>
> #### Input Parameters
>
> **chatId** `string` *required*
>
> The unique identifier of the chat to retrieve. Must be provided as a path parameter.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Chat Project
>
> **Slug:** `V0_GET_CHAT_PROJECT`
>
> Tool to retrieve the v0 project associated with a given chat. Use when you need to determine the context or scope of a chat session.
>
> #### Input Parameters
>
> **chatId** `string` *required*
>
> The ID of the chat to retrieve the associated project for
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Deployment Errors
>
> **Slug:** `V0_GET_DEPLOYMENT_ERRORS`
>
> Tool to retrieve errors for a specific deployment. Use when diagnosing and debugging deployment issues.
>
> #### Input Parameters
>
> **deploymentId** `string` *required*
>
> The unique identifier of the deployment to inspect for errors
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Deployment Logs
>
> **Slug:** `V0_GET_DEPLOYMENT_LOGS`
>
> Tool to retrieve logs for a specific deployment. Use when you need to debug or monitor deployment behavior by fetching log entries, optionally filtered by timestamp.
>
> #### Input Parameters
>
> **since** `integer`
>
> A UNIX timestamp (in seconds) used to filter logs. Returns only log entries generated after the specified time
>
> **deploymentId** `string` *required*
>
> The unique identifier of the deployment to retrieve logs for
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Hook
>
> **Slug:** `V0_GET_HOOK`
>
> Tool to retrieve detailed information about a specific webhook by its ID. Use when you need to inspect webhook configuration, subscribed events, or target URL.
>
> #### Input Parameters
>
> **hookId** `string` *required*
>
> The unique identifier of the hook to retrieve.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Chat Message
>
> **Slug:** `V0_GET_MESSAGE`
>
> Retrieve detailed information about a specific message within a chat by chat and message ID, including its content, metadata, and any attachments.
>
> #### Input Parameters
>
> **chatId** `string` *required*
>
> The unique identifier of the chat containing the message
>
> **messageId** `string` *required*
>
> The unique identifier of the message to retrieve
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Project by ID
>
> **Slug:** `V0_GET_PROJECT`
>
> Tool to retrieve the details of a specific v0 project by its ID, including associated chats and metadata. Use when you need to inspect project configuration or access related chats.
>
> #### Input Parameters
>
> **projectId** `string` *required*
>
> The unique identifier of the project to retrieve
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Project Environment Variable
>
> **Slug:** `V0_GET_PROJECT_ENV_VAR`
>
> Tool to retrieve a specific environment variable for a given project by its ID, including its value. Use when you need to get the details of a particular environment variable for a project.
>
> #### Input Parameters
>
> **decrypted** `string ("true" | "false")`
>
> Whether to return decrypted or encrypted environment variable values.
>
> **projectId** `string` *required*
>
> The unique identifier of the project that owns the environment variable
>
> **environmentVariableId** `string` *required*
>
> The unique identifier of the environment variable to retrieve
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Rate Limits
>
> **Slug:** `V0_GET_RATE_LIMITS`
>
> Tool to retrieve the current rate limits for the authenticated user. Use when you need to monitor usage limits and avoid throttling.
>
> #### Input Parameters
>
> **scope** `string`
>
> The context or namespace to check rate limits for (e.g., a project slug or feature area). If not provided, returns global rate limits.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Usage Report
>
> **Slug:** `V0_GET_USAGE_REPORT_V0`
>
> Retrieve usage events with costs and metadata. Filter by date, chat, message, or user and paginate results to analyze usage and costs.
>
> #### Input Parameters
>
> **limit** `integer`
>
> Maximum number of usage events to return per page. Defaults to 20.
>
> **chatId** `string`
>
> Filter usage events by specific chat ID. Only returns events associated with this chat.
>
> **cursor** `string`
>
> Base64 encoded cursor for pagination. Use the nextCursor from a previous response to fetch the next page of results.
>
> **userId** `string`
>
> Filter usage events by specific user ID. Only returns events associated with this user.
>
> **endDate** `string`
>
> Filter events up to this date (ISO 8601 format). Include events created before or on this date.
>
> **messageId** `string`
>
> Filter usage events by specific message ID. Only returns events associated with this message.
>
> **startDate** `string`
>
> Filter events starting from this date (ISO 8601 format). Include events created on or after this date.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get User
>
> **Slug:** `V0_GET_USER`
>
> Tool to retrieve the currently authenticated user's information. Use when you need to get the user's ID, name, email, avatar, or account metadata.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get User Billing
>
> **Slug:** `V0_GET_USER_BILLING`
>
> Tool to fetch billing usage and quota information for the authenticated user. Use when you need to check the user's billing details or usage metrics. Can be scoped to a specific project or namespace.
>
> #### Input Parameters
>
> **scope** `string`
>
> Filters billing data by a specific scope, such as a project ID or slug
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get User Plan
>
> **Slug:** `V0_GET_USER_PLAN_V0`
>
> Tool to retrieve the authenticated user's subscription plan details including billing cycle and balance. Use to check plan status and usage limits.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get User Scopes
>
> **Slug:** `V0_GET_USER_SCOPES`
>
> Tool to retrieve all accessible scopes for the authenticated user, such as personal workspaces or shared teams. Use when you need to understand which workspaces the user can access.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Initialize Chat
>
> **Slug:** `V0_INIT_V0_CHAT`
>
> Tool to initialize a new chat from source content such as files, repositories, registries, zip archives, or templates. Use when you need to start a new v0 chat session with pre-populated content. Initialization uses no tokens.
>
> #### Input Parameters
>
> **zip** `object`
>
> Represents a zip archive to initialize from.
>
> **name** `string`
>
> User-defined identifier for the chat session
>
> **repo** `object`
>
> Represents a Git repository to initialize the chat from.
>
> **type** `string ("files" | "repo" | "registry" | "zip" | "template")`
>
> Initialization source types for the chat.
>
> **files** `array`
>
> Inline file objects with name, content, and optional locked status. Used when type='files'
>
> **registry** `object`
>
> Represents a component registry to initialize from.
>
> **projectId** `string`
>
> Associates chat with a specific project ID
>
> **templateId** `string`
>
> Template ID to initialize from. Used when type='template'
>
> **chatPrivacy** `string ("public" | "private" | "team" | "team-edit" | "unlisted")`
>
> Privacy settings for chat visibility.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Chat Versions
>
> **Slug:** `V0_LIST_CHAT_VERSIONS`
>
> Tool to retrieve all versions (iterations) for a specific chat, ordered by creation date (newest first). Use when you need to view the history of a chat's generated versions with cursor-based pagination support.
>
> #### Input Parameters
>
> **limit** `integer`
>
> Specifies the maximum number of version records to return in a single response. Useful for paginating results when there are many versions.
>
> **chatId** `string` *required*
>
> The unique identifier of the chat to retrieve versions for
>
> **cursor** `string`
>
> Base64 encoded cursor containing pagination data. Use the nextCursor value from a previous response to retrieve the next page of results.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Deployments
>
> **Slug:** `V0_LIST_DEPLOYMENTS`
>
> Tool to retrieve a list of deployments for a given project, chat, and version. Use when you need to check existing deployments for specific project versions.
>
> #### Input Parameters
>
> **chatId** `string` *required*
>
> The ID of the chat to find deployments for
>
> **projectId** `string` *required*
>
> The ID of the project to find deployments for
>
> **versionId** `string` *required*
>
> The ID of the version to find deployments for
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Hooks
>
> **Slug:** `V0_LIST_HOOKS`
>
> List configured webhooks, with optional limit and cursor-based pagination.
>
> #### Input Parameters
>
> **after** `string`
>
> Cursor for pagination to return items after this cursor
>
> **limit** `integer`
>
> Maximum number of hooks to return; must be >= 1
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Messages
>
> **Slug:** `V0_LIST_MESSAGES`
>
> Tool to retrieve all messages within a specific chat. Use when you need to list messages with content, role, and type information. Supports pagination for chats with many messages.
>
> #### Input Parameters
>
> **limit** `integer`
>
> Maximum number of message records to return in a single response. Useful for paginating results when there are many messages.
>
> **chatId** `string` *required*
>
> The unique identifier of the chat to retrieve messages for
>
> **cursor** `string`
>
> Base64 encoded cursor containing pagination data. Use the nextCursor from a previous response to fetch the next page of results.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Project Environment Variables
>
> **Slug:** `V0_LIST_PROJECT_ENV_VARS`
>
> Tool to retrieve all environment variables for a project with optional decryption. Use when you need to view project configuration or secrets.
>
> #### Input Parameters
>
> **decrypted** `string ("true" | "false")`
>
> Enum for decrypted parameter options.
>
> **projectId** `string` *required*
>
> The unique identifier of the project whose environment variables should be retrieved
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Chat
>
> **Slug:** `V0_UPDATE_CHAT`
>
> Tool to update metadata of an existing v0 chat. Use when you need to rename a chat or change its privacy setting after creation.
>
> #### Input Parameters
>
> **name** `string`
>
> A new name to assign to the chat. Helps with identification and organization
>
> **chatId** `string` *required*
>
> The unique identifier of the chat to update
>
> **privacy** `string ("public" | "private" | "team" | "team-edit" | "unlisted")`
>
> Privacy settings for a chat.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Chat Version Files
>
> **Slug:** `V0_UPDATE_CHAT_VERSION`
>
> Tool to update source files of a specific chat version. Use when you need to manually edit generated files through the API.
>
> #### Input Parameters
>
> **files** `array` *required*
>
> Array of files to update with their new content. Each file must have 'name' and 'content' fields
>
> **chatId** `string` *required*
>
> The unique identifier of the chat containing the version to update
>
> **versionId** `string` *required*
>
> The unique identifier of the version (block) to update
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update V0 Webhook
>
> **Slug:** `V0_UPDATE_HOOK`
>
> Tool to update the configuration of an existing webhook, including its name, event subscriptions, or target URL. Use when you need to modify webhook settings after creation.
>
> #### Input Parameters
>
> **url** `string`
>
> A new URL to send webhook payloads to. Must be a valid URI
>
> **name** `string`
>
> A new name for the hook
>
> **events** `array`
>
> Updated list of event types to subscribe to. Choose from: chat.created, chat.updated, chat.deleted, message.created, message.updated, message.deleted, message.finished
>
> **hookId** `string` *required*
>
> The ID of the webhook to update
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update V0 Project
>
> **Slug:** `V0_UPDATE_PROJECT`
>
> Tool to update the metadata of an existing v0 project using its projectId. Use when you need to change the project name, description, instructions, or privacy setting.
>
> #### Input Parameters
>
> **name** `string`
>
> A new name to assign to the project. Helps with identification and organization
>
> **privacy** `string ("private" | "team")`
>
> Privacy settings for a v0 project.
>
> **projectId** `string` *required*
>
> The unique identifier of the project to update
>
> **description** `string`
>
> A new description to assign to the project. Helps with identification and organization
>
> **instructions** `string`
>
> Guidance or goals that provide context for the model when working within the project
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Project Environment Variables
>
> **Slug:** `V0_UPDATE_PROJECT_ENV_VARS`
>
> Tool to update environment variables for a v0 project. Use when you need to modify the values of existing environment variables.
>
> #### Input Parameters
>
> **decrypted** `string ("true" | "false")`
>
> Whether to return decrypted values in the response. Defaults to false (encrypted)
>
> **projectId** `string` *required*
>
> The unique identifier of the project whose environment variables should be updated
>
> **environmentVariables** `array` *required*
>
> An array of environment variables to update. Each item must have 'id' and 'value' fields
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
