{
  "service": "v0",
  "displayName": "v0",
  "categories": [
    "AI",
    "Developer Tools"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "v0_api_key",
      "description": "v0 API key used with the Authorization Bearer header. Get it from v0 settings.",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://v0.dev",
  "actions": [
    {
      "id": "v0.assign_project_to_chat",
      "service": "v0",
      "name": "assign_project_to_chat",
      "description": "Assign an existing v0 chat to a project container.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          },
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "assignment": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "assigned": {
                "type": "boolean",
                "description": "Whether the chat was assigned to the project."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "Assignment result returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.create_chat",
      "service": "v0",
      "name": "create_chat",
      "description": "Create a new v0 chat and immediately send the first message.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Initial user message to send to v0."
          },
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          },
          "chatPrivacy": {
            "type": "string",
            "enum": [
              "public",
              "private",
              "team",
              "team-edit",
              "unlisted"
            ],
            "description": "Chat visibility setting."
          },
          "responseMode": {
            "type": "string",
            "enum": [
              "sync",
              "async"
            ],
            "description": "How v0 should return the result. `sync` waits for the full response, `async` returns the accepted task state."
          },
          "metadata": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Chat metadata to attach."
          },
          "modelId": {
            "type": "string",
            "description": "Model ID to use when supported by v0."
          },
          "modelConfiguration": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Model configuration overrides."
          },
          "designSystemId": {
            "type": "string",
            "description": "Design system ID to reuse."
          },
          "mcpServerIds": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "One MCP server ID to attach."
            },
            "description": "MCP server IDs to attach."
          },
          "attachedSkillIds": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "One skill ID to attach."
            },
            "description": "Attached skill IDs."
          },
          "action": {
            "type": "object",
            "properties": {
              "type": {
                "const": "fix-with-v0",
                "type": "string",
                "description": "Follow-up action type."
              }
            },
            "additionalProperties": false,
            "description": "Optional follow-up action."
          }
        },
        "additionalProperties": false,
        "required": [
          "message"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "chat": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "Chat title or display name."
              },
              "privacy": {
                "type": "string",
                "description": "Chat visibility setting."
              },
              "favorite": {
                "type": "boolean",
                "description": "Whether the chat is marked as favorite."
              },
              "authorId": {
                "type": "string",
                "description": "Author user ID."
              },
              "projectId": {
                "type": "string",
                "description": "Linked project ID."
              },
              "vercelProjectId": {
                "type": "string",
                "description": "Linked Vercel project ID."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "apiUrl": {
                "type": "string",
                "description": "API URL for the chat."
              },
              "webUrl": {
                "type": "string",
                "description": "Web URL for the chat."
              },
              "metadata": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "Chat metadata payload returned by v0."
              },
              "latestVersion": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Unique identifier returned by v0."
                  },
                  "object": {
                    "type": "string",
                    "description": "Object type returned by v0."
                  },
                  "status": {
                    "type": "string",
                    "description": "Version generation status."
                  },
                  "demoUrl": {
                    "type": "string",
                    "description": "Preview URL for the version."
                  },
                  "screenshotUrl": {
                    "type": "string",
                    "description": "Screenshot URL for the version."
                  },
                  "createdAt": {
                    "type": "string",
                    "description": "ISO 8601 timestamp returned by v0."
                  },
                  "updatedAt": {
                    "type": "string",
                    "description": "ISO 8601 timestamp returned by v0."
                  },
                  "files": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "object": {
                          "type": "string",
                          "description": "Object type returned by v0."
                        },
                        "name": {
                          "type": "string",
                          "description": "File path."
                        },
                        "content": {
                          "type": "string",
                          "description": "File content."
                        },
                        "locked": {
                          "type": "boolean",
                          "description": "Whether the file is locked in v0."
                        },
                        "origin": {
                          "type": "string",
                          "description": "Origin of the file."
                        },
                        "language": {
                          "type": "string",
                          "description": "Programming language detected by v0."
                        },
                        "metadata": {
                          "type": "object",
                          "additionalProperties": {
                            "description": "A metadata value returned by v0."
                          },
                          "description": "Additional file metadata returned by v0."
                        }
                      },
                      "additionalProperties": false,
                      "description": "File payload returned by v0."
                    },
                    "description": "Files included in the version."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "id"
                ],
                "description": "Latest version attached to the chat."
              },
              "messages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier returned by v0."
                    },
                    "object": {
                      "type": "string",
                      "description": "Object type returned by v0."
                    },
                    "chatId": {
                      "type": "string",
                      "description": "Owning chat ID."
                    },
                    "role": {
                      "type": "string",
                      "description": "Message role such as `user` or `assistant`."
                    },
                    "type": {
                      "type": "string",
                      "description": "Message type reported by v0."
                    },
                    "content": {
                      "type": "string",
                      "description": "Message text content."
                    },
                    "finishReason": {
                      "type": "string",
                      "description": "Why the generation finished."
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "updatedAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "apiUrl": {
                      "type": "string",
                      "description": "API URL for the message."
                    },
                    "modelConfiguration": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "Model configuration returned by v0."
                    },
                    "attachments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "description": "Attachment URL."
                          },
                          "name": {
                            "type": "string",
                            "description": "Attachment file name."
                          },
                          "contentType": {
                            "type": "string",
                            "description": "Attachment MIME type."
                          },
                          "size": {
                            "type": "integer",
                            "description": "Attachment size in bytes."
                          },
                          "content": {
                            "type": "string",
                            "description": "Inline attachment content when v0 returns it."
                          },
                          "type": {
                            "type": "string",
                            "description": "Attachment type reported by v0."
                          }
                        },
                        "additionalProperties": false,
                        "description": "Attachment payload returned by v0."
                      },
                      "description": "Attachments associated with the message."
                    },
                    "experimentalContent": {
                      "description": "Experimental rich content payload returned by v0."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "id"
                  ],
                  "description": "Message payload returned by v0."
                },
                "description": "Messages currently returned with the chat."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The created chat."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.create_deployment",
      "service": "v0",
      "name": "create_deployment",
      "description": "Create a deployment for a specific v0 chat version.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          },
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          },
          "versionId": {
            "type": "string",
            "description": "v0 version ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deployment": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "inspectorUrl": {
                "type": "string",
                "description": "Inspector URL for the deployment."
              },
              "chatId": {
                "type": "string",
                "description": "Linked chat ID."
              },
              "projectId": {
                "type": "string",
                "description": "Linked project ID."
              },
              "versionId": {
                "type": "string",
                "description": "Linked version ID."
              },
              "apiUrl": {
                "type": "string",
                "description": "API URL for the deployment."
              },
              "webUrl": {
                "type": "string",
                "description": "Public deployment URL."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The created deployment."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.create_env_vars",
      "service": "v0",
      "name": "create_env_vars",
      "description": "Create one or more environment variables on a v0 project.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          },
          "decrypted": {
            "type": "boolean",
            "description": "When true, request decrypted environment variable values."
          },
          "upsert": {
            "type": "boolean",
            "description": "When true, allow overwriting keys that already exist."
          },
          "environmentVariables": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string",
                  "description": "Environment variable key."
                },
                "value": {
                  "type": "string",
                  "description": "Environment variable value."
                }
              },
              "additionalProperties": false,
              "description": "Environment variable input."
            },
            "description": "Environment variables to create.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "environmentVariables"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "envVars": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier returned by v0."
                },
                "object": {
                  "type": "string",
                  "description": "Object type returned by v0."
                },
                "key": {
                  "type": "string",
                  "description": "Environment variable key."
                },
                "value": {
                  "type": "string",
                  "description": "Environment variable value."
                },
                "decrypted": {
                  "type": "boolean",
                  "description": "Whether the returned value is decrypted."
                },
                "createdAt": {
                  "type": "integer",
                  "description": "Creation timestamp in milliseconds."
                },
                "updatedAt": {
                  "type": "integer",
                  "description": "Last update timestamp in milliseconds."
                },
                "deleted": {
                  "type": "boolean",
                  "description": "Whether the environment variable was deleted."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Environment variable payload returned by v0."
            },
            "description": "The created environment variables."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.create_hook",
      "service": "v0",
      "name": "create_hook",
      "description": "Create a webhook hook in v0 for chat or message events.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Webhook display name."
          },
          "url": {
            "type": "string",
            "description": "Target URL that receives webhook payloads."
          },
          "events": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "chat.created",
                "chat.updated",
                "chat.deleted",
                "message.created",
                "message.updated",
                "message.deleted",
                "message.finished"
              ],
              "description": "One v0 webhook event type."
            },
            "description": "Event types to subscribe to.",
            "minItems": 1
          },
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          },
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "name",
          "url",
          "events"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "hook": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "Webhook display name."
              },
              "events": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "One subscribed webhook event."
                },
                "description": "Webhook events subscribed in v0."
              },
              "chatId": {
                "type": "string",
                "description": "Optional chat ID scoped to the hook."
              },
              "projectId": {
                "type": "string",
                "description": "Optional project ID scoped to the hook."
              },
              "url": {
                "type": "string",
                "description": "Target URL that receives webhook payloads."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "description": {
                "type": "string",
                "description": "Optional description returned by v0."
              },
              "active": {
                "type": "boolean",
                "description": "Whether the hook is currently active."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The created hook."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.create_project",
      "service": "v0",
      "name": "create_project",
      "description": "Create a new v0 project container for chats, environment variables, and deployments.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Project name."
          },
          "description": {
            "type": "string",
            "description": "Project description."
          },
          "icon": {
            "type": "string",
            "description": "Project icon or emoji."
          },
          "instructions": {
            "type": "string",
            "description": "Project-level instructions for v0."
          },
          "privacy": {
            "type": "string",
            "enum": [
              "private",
              "team"
            ],
            "description": "Project visibility setting."
          },
          "vercelProjectId": {
            "type": "string",
            "description": "Linked Vercel project ID."
          },
          "environmentVariables": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string",
                  "description": "Environment variable key."
                },
                "value": {
                  "type": "string",
                  "description": "Environment variable value."
                }
              },
              "additionalProperties": false,
              "description": "Environment variable input."
            },
            "description": "Environment variables to create together with the project."
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "project": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "Project name."
              },
              "description": {
                "type": "string",
                "description": "Project description."
              },
              "instructions": {
                "type": "string",
                "description": "Project-level instructions for v0."
              },
              "icon": {
                "type": "string",
                "description": "Project icon or emoji."
              },
              "privacy": {
                "type": "string",
                "description": "Project visibility setting."
              },
              "vercelProjectId": {
                "type": "string",
                "description": "Linked Vercel project ID."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "apiUrl": {
                "type": "string",
                "description": "API URL for the project."
              },
              "webUrl": {
                "type": "string",
                "description": "Web URL for the project."
              },
              "chats": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier returned by v0."
                    },
                    "object": {
                      "type": "string",
                      "description": "Object type returned by v0."
                    },
                    "name": {
                      "type": "string",
                      "description": "Chat title or display name."
                    },
                    "privacy": {
                      "type": "string",
                      "description": "Chat visibility setting."
                    },
                    "favorite": {
                      "type": "boolean",
                      "description": "Whether the chat is marked as favorite."
                    },
                    "authorId": {
                      "type": "string",
                      "description": "Author user ID."
                    },
                    "projectId": {
                      "type": "string",
                      "description": "Linked project ID."
                    },
                    "vercelProjectId": {
                      "type": "string",
                      "description": "Linked Vercel project ID."
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "updatedAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "apiUrl": {
                      "type": "string",
                      "description": "API URL for the chat."
                    },
                    "webUrl": {
                      "type": "string",
                      "description": "Web URL for the chat."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "id"
                  ],
                  "description": "Chat summary payload returned by v0."
                },
                "description": "Chats currently linked to the project."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The created project."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.create_vercel_project",
      "service": "v0",
      "name": "create_vercel_project",
      "description": "Create and link a Vercel project from a v0 project.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          },
          "name": {
            "type": "string",
            "description": "Name to assign to the linked Vercel project."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "vercelProject": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "Linked Vercel project name."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The linked Vercel project returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.delete_chat",
      "service": "v0",
      "name": "delete_chat",
      "description": "Delete a v0 chat by chat ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deletedChat": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "deleted": {
                "type": "boolean",
                "description": "Whether the resource was deleted."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "Deletion result returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.delete_env_vars",
      "service": "v0",
      "name": "delete_env_vars",
      "description": "Delete one or more environment variables from a v0 project.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          },
          "environmentVariableIds": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "One environment variable ID to delete."
            },
            "description": "Environment variable IDs to delete.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deletedEnvVars": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier returned by v0."
                },
                "object": {
                  "type": "string",
                  "description": "Object type returned by v0."
                },
                "key": {
                  "type": "string",
                  "description": "Environment variable key."
                },
                "value": {
                  "type": "string",
                  "description": "Environment variable value."
                },
                "decrypted": {
                  "type": "boolean",
                  "description": "Whether the returned value is decrypted."
                },
                "createdAt": {
                  "type": "integer",
                  "description": "Creation timestamp in milliseconds."
                },
                "updatedAt": {
                  "type": "integer",
                  "description": "Last update timestamp in milliseconds."
                },
                "deleted": {
                  "type": "boolean",
                  "description": "Whether the environment variable was deleted."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Environment variable payload returned by v0."
            },
            "description": "Deletion results returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.delete_hook",
      "service": "v0",
      "name": "delete_hook",
      "description": "Delete a webhook hook by hook ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "hookId": {
            "type": "string",
            "description": "v0 hook ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deletedHook": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "deleted": {
                "type": "boolean",
                "description": "Whether the resource was deleted."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "Deletion result returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.delete_project",
      "service": "v0",
      "name": "delete_project",
      "description": "Delete a v0 project by project ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deletedProject": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "deleted": {
                "type": "boolean",
                "description": "Whether the resource was deleted."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "Deletion result returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.favorite_chat",
      "service": "v0",
      "name": "favorite_chat",
      "description": "Mark or unmark a v0 chat as favorite.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          },
          "isFavorite": {
            "type": "boolean",
            "description": "Whether the chat should be favorited."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "favorite": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "favorited": {
                "type": "boolean",
                "description": "Whether the chat is now marked as favorite."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "Favorite status returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.find_chats",
      "service": "v0",
      "name": "find_chats",
      "description": "List chats in the connected v0 workspace with optional filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          },
          "vercelProjectId": {
            "type": "string",
            "description": "Filter by linked Vercel project ID."
          },
          "branch": {
            "type": "string",
            "description": "Filter by Git branch."
          },
          "isFavorite": {
            "type": "boolean",
            "description": "Filter by favorite status."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of results to return."
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "description": "Offset for paginated list results."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "chats": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier returned by v0."
                },
                "object": {
                  "type": "string",
                  "description": "Object type returned by v0."
                },
                "name": {
                  "type": "string",
                  "description": "Chat title or display name."
                },
                "privacy": {
                  "type": "string",
                  "description": "Chat visibility setting."
                },
                "favorite": {
                  "type": "boolean",
                  "description": "Whether the chat is marked as favorite."
                },
                "authorId": {
                  "type": "string",
                  "description": "Author user ID."
                },
                "projectId": {
                  "type": "string",
                  "description": "Linked project ID."
                },
                "vercelProjectId": {
                  "type": "string",
                  "description": "Linked Vercel project ID."
                },
                "createdAt": {
                  "type": "string",
                  "description": "ISO 8601 timestamp returned by v0."
                },
                "updatedAt": {
                  "type": "string",
                  "description": "ISO 8601 timestamp returned by v0."
                },
                "apiUrl": {
                  "type": "string",
                  "description": "API URL for the chat."
                },
                "webUrl": {
                  "type": "string",
                  "description": "Web URL for the chat."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Chat summary payload returned by v0."
            },
            "description": "Chats returned by v0."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "hasMore": {
                "type": "boolean",
                "description": "Whether more results are available."
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the next page, or null when there are no more results."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "nextUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Full URL for the next page when v0 returns one."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "offset": {
                "type": "integer",
                "description": "Offset for the next page."
              },
              "total": {
                "type": "integer",
                "description": "Total number of items reported by v0."
              },
              "count": {
                "type": "integer",
                "description": "Number of items in the current page."
              }
            },
            "additionalProperties": true,
            "description": "Pagination metadata returned by v0."
          }
        },
        "additionalProperties": false,
        "required": [
          "chats"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.find_deployment_errors",
      "service": "v0",
      "name": "find_deployment_errors",
      "description": "Get the current error summary for a v0 deployment.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "deploymentId": {
            "type": "string",
            "description": "v0 deployment ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Short deployment error summary."
              },
              "fullErrorText": {
                "type": "string",
                "description": "Full deployment error text."
              },
              "errorType": {
                "type": "string",
                "description": "Deployment error type."
              },
              "formattedError": {
                "type": "string",
                "description": "Formatted deployment error message."
              }
            },
            "additionalProperties": false,
            "description": "Deployment error details."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.find_deployment_logs",
      "service": "v0",
      "name": "find_deployment_logs",
      "description": "List logs for a v0 deployment, optionally continuing from a previous timestamp.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "deploymentId": {
            "type": "string",
            "description": "v0 deployment ID."
          },
          "since": {
            "type": "integer",
            "description": "Only return logs after this timestamp."
          }
        },
        "additionalProperties": false,
        "required": [
          "deploymentId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "logs": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier returned by v0."
                },
                "object": {
                  "type": "string",
                  "description": "Object type returned by v0."
                },
                "deploymentId": {
                  "type": "string",
                  "description": "Owning deployment ID."
                },
                "createdAt": {
                  "type": "string",
                  "description": "ISO 8601 timestamp returned by v0."
                },
                "text": {
                  "type": "string",
                  "description": "Log text."
                },
                "type": {
                  "type": "string",
                  "description": "Log type reported by v0."
                },
                "level": {
                  "type": "string",
                  "description": "Log level reported by v0."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Deployment log payload returned by v0."
            },
            "description": "Deployment logs returned by v0."
          },
          "nextSince": {
            "type": "integer",
            "description": "Timestamp token for the next log query."
          }
        },
        "additionalProperties": false,
        "required": [
          "logs"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.find_deployments",
      "service": "v0",
      "name": "find_deployments",
      "description": "List deployments for a specific project, chat, and version combination.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          },
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          },
          "versionId": {
            "type": "string",
            "description": "v0 version ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deployments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier returned by v0."
                },
                "object": {
                  "type": "string",
                  "description": "Object type returned by v0."
                },
                "inspectorUrl": {
                  "type": "string",
                  "description": "Inspector URL for the deployment."
                },
                "chatId": {
                  "type": "string",
                  "description": "Linked chat ID."
                },
                "projectId": {
                  "type": "string",
                  "description": "Linked project ID."
                },
                "versionId": {
                  "type": "string",
                  "description": "Linked version ID."
                },
                "apiUrl": {
                  "type": "string",
                  "description": "API URL for the deployment."
                },
                "webUrl": {
                  "type": "string",
                  "description": "Public deployment URL."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Deployment payload returned by v0."
            },
            "description": "Deployments returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.find_env_vars",
      "service": "v0",
      "name": "find_env_vars",
      "description": "List environment variables configured on a v0 project.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          },
          "decrypted": {
            "type": "boolean",
            "description": "When true, request decrypted environment variable values."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "envVars": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier returned by v0."
                },
                "object": {
                  "type": "string",
                  "description": "Object type returned by v0."
                },
                "key": {
                  "type": "string",
                  "description": "Environment variable key."
                },
                "value": {
                  "type": "string",
                  "description": "Environment variable value."
                },
                "decrypted": {
                  "type": "boolean",
                  "description": "Whether the returned value is decrypted."
                },
                "createdAt": {
                  "type": "integer",
                  "description": "Creation timestamp in milliseconds."
                },
                "updatedAt": {
                  "type": "integer",
                  "description": "Last update timestamp in milliseconds."
                },
                "deleted": {
                  "type": "boolean",
                  "description": "Whether the environment variable was deleted."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Environment variable payload returned by v0."
            },
            "description": "Environment variables returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.find_hooks",
      "service": "v0",
      "name": "find_hooks",
      "description": "List webhook hooks configured in the connected v0 workspace.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "hooks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier returned by v0."
                },
                "object": {
                  "type": "string",
                  "description": "Object type returned by v0."
                },
                "name": {
                  "type": "string",
                  "description": "Webhook display name."
                },
                "events": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "description": "One subscribed webhook event."
                  },
                  "description": "Webhook events subscribed in v0."
                },
                "chatId": {
                  "type": "string",
                  "description": "Optional chat ID scoped to the hook."
                },
                "projectId": {
                  "type": "string",
                  "description": "Optional project ID scoped to the hook."
                },
                "url": {
                  "type": "string",
                  "description": "Target URL that receives webhook payloads."
                },
                "createdAt": {
                  "type": "string",
                  "description": "ISO 8601 timestamp returned by v0."
                },
                "updatedAt": {
                  "type": "string",
                  "description": "ISO 8601 timestamp returned by v0."
                },
                "description": {
                  "type": "string",
                  "description": "Optional description returned by v0."
                },
                "active": {
                  "type": "boolean",
                  "description": "Whether the hook is currently active."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Webhook hook payload returned by v0."
            },
            "description": "Hooks returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.find_messages",
      "service": "v0",
      "name": "find_messages",
      "description": "List messages for a v0 chat.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of results to return."
          },
          "cursor": {
            "type": "string",
            "description": "Cursor returned by a previous v0 list response."
          }
        },
        "additionalProperties": false,
        "required": [
          "chatId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "messages": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier returned by v0."
                },
                "object": {
                  "type": "string",
                  "description": "Object type returned by v0."
                },
                "chatId": {
                  "type": "string",
                  "description": "Owning chat ID."
                },
                "role": {
                  "type": "string",
                  "description": "Message role such as `user` or `assistant`."
                },
                "type": {
                  "type": "string",
                  "description": "Message type reported by v0."
                },
                "content": {
                  "type": "string",
                  "description": "Message text content."
                },
                "finishReason": {
                  "type": "string",
                  "description": "Why the generation finished."
                },
                "createdAt": {
                  "type": "string",
                  "description": "ISO 8601 timestamp returned by v0."
                },
                "updatedAt": {
                  "type": "string",
                  "description": "ISO 8601 timestamp returned by v0."
                },
                "apiUrl": {
                  "type": "string",
                  "description": "API URL for the message."
                },
                "modelConfiguration": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "Model configuration returned by v0."
                },
                "attachments": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "Attachment URL."
                      },
                      "name": {
                        "type": "string",
                        "description": "Attachment file name."
                      },
                      "contentType": {
                        "type": "string",
                        "description": "Attachment MIME type."
                      },
                      "size": {
                        "type": "integer",
                        "description": "Attachment size in bytes."
                      },
                      "content": {
                        "type": "string",
                        "description": "Inline attachment content when v0 returns it."
                      },
                      "type": {
                        "type": "string",
                        "description": "Attachment type reported by v0."
                      }
                    },
                    "additionalProperties": false,
                    "description": "Attachment payload returned by v0."
                  },
                  "description": "Attachments associated with the message."
                },
                "experimentalContent": {
                  "description": "Experimental rich content payload returned by v0."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Message payload returned by v0."
            },
            "description": "Messages returned by v0."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "hasMore": {
                "type": "boolean",
                "description": "Whether more results are available."
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the next page, or null when there are no more results."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "nextUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Full URL for the next page when v0 returns one."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "offset": {
                "type": "integer",
                "description": "Offset for the next page."
              },
              "total": {
                "type": "integer",
                "description": "Total number of items reported by v0."
              },
              "count": {
                "type": "integer",
                "description": "Number of items in the current page."
              }
            },
            "additionalProperties": true,
            "description": "Pagination metadata returned by v0."
          }
        },
        "additionalProperties": false,
        "required": [
          "messages"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.find_projects",
      "service": "v0",
      "name": "find_projects",
      "description": "List v0 projects available to the connected account.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of results to return."
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "description": "Offset for paginated list results."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "projects": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier returned by v0."
                },
                "object": {
                  "type": "string",
                  "description": "Object type returned by v0."
                },
                "name": {
                  "type": "string",
                  "description": "Project name."
                },
                "description": {
                  "type": "string",
                  "description": "Project description."
                },
                "instructions": {
                  "type": "string",
                  "description": "Project-level instructions for v0."
                },
                "icon": {
                  "type": "string",
                  "description": "Project icon or emoji."
                },
                "privacy": {
                  "type": "string",
                  "description": "Project visibility setting."
                },
                "vercelProjectId": {
                  "type": "string",
                  "description": "Linked Vercel project ID."
                },
                "createdAt": {
                  "type": "string",
                  "description": "ISO 8601 timestamp returned by v0."
                },
                "updatedAt": {
                  "type": "string",
                  "description": "ISO 8601 timestamp returned by v0."
                },
                "apiUrl": {
                  "type": "string",
                  "description": "API URL for the project."
                },
                "webUrl": {
                  "type": "string",
                  "description": "Web URL for the project."
                },
                "chats": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "description": "Unique identifier returned by v0."
                      },
                      "object": {
                        "type": "string",
                        "description": "Object type returned by v0."
                      },
                      "name": {
                        "type": "string",
                        "description": "Chat title or display name."
                      },
                      "privacy": {
                        "type": "string",
                        "description": "Chat visibility setting."
                      },
                      "favorite": {
                        "type": "boolean",
                        "description": "Whether the chat is marked as favorite."
                      },
                      "authorId": {
                        "type": "string",
                        "description": "Author user ID."
                      },
                      "projectId": {
                        "type": "string",
                        "description": "Linked project ID."
                      },
                      "vercelProjectId": {
                        "type": "string",
                        "description": "Linked Vercel project ID."
                      },
                      "createdAt": {
                        "type": "string",
                        "description": "ISO 8601 timestamp returned by v0."
                      },
                      "updatedAt": {
                        "type": "string",
                        "description": "ISO 8601 timestamp returned by v0."
                      },
                      "apiUrl": {
                        "type": "string",
                        "description": "API URL for the chat."
                      },
                      "webUrl": {
                        "type": "string",
                        "description": "Web URL for the chat."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "id"
                    ],
                    "description": "Chat summary payload returned by v0."
                  },
                  "description": "Chats currently linked to the project."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Project payload returned by v0."
            },
            "description": "Projects returned by v0."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "hasMore": {
                "type": "boolean",
                "description": "Whether more results are available."
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the next page, or null when there are no more results."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "nextUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Full URL for the next page when v0 returns one."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "offset": {
                "type": "integer",
                "description": "Offset for the next page."
              },
              "total": {
                "type": "integer",
                "description": "Total number of items reported by v0."
              },
              "count": {
                "type": "integer",
                "description": "Number of items in the current page."
              }
            },
            "additionalProperties": true,
            "description": "Pagination metadata returned by v0."
          }
        },
        "additionalProperties": false,
        "required": [
          "projects"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.find_rate_limit",
      "service": "v0",
      "name": "find_rate_limit",
      "description": "Get current v0 rate-limit information for the workspace or a specific scope.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "scope": {
            "type": "string",
            "description": "Workspace, project, or billing scope in v0."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "rateLimit": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Maximum number of requests allowed in the current window."
              },
              "remaining": {
                "type": "number",
                "description": "Remaining number of requests in the current window."
              },
              "reset": {
                "type": "number",
                "description": "Reset timestamp in milliseconds."
              },
              "dailyLimit": {
                "type": "object",
                "properties": {
                  "limit": {
                    "type": "number",
                    "description": "Maximum number of requests allowed in the current window."
                  },
                  "remaining": {
                    "type": "number",
                    "description": "Remaining number of requests in the current window."
                  },
                  "reset": {
                    "type": "number",
                    "description": "Reset timestamp in milliseconds."
                  },
                  "isWithinGracePeriod": {
                    "type": "boolean",
                    "description": "Whether the limit is still inside v0's grace period."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "limit"
                ],
                "description": "Daily message limit information for free-tier usage."
              }
            },
            "additionalProperties": false,
            "required": [
              "limit"
            ],
            "description": "Rate-limit information returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.find_vercel_projects",
      "service": "v0",
      "name": "find_vercel_projects",
      "description": "List Vercel projects linked to the connected v0 workspace.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "vercelProjects": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier returned by v0."
                },
                "object": {
                  "type": "string",
                  "description": "Object type returned by v0."
                },
                "name": {
                  "type": "string",
                  "description": "Linked Vercel project name."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Linked Vercel project returned by v0."
            },
            "description": "Linked Vercel projects returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.find_versions",
      "service": "v0",
      "name": "find_versions",
      "description": "List generated versions for a v0 chat.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of results to return."
          },
          "cursor": {
            "type": "string",
            "description": "Cursor returned by a previous v0 list response."
          }
        },
        "additionalProperties": false,
        "required": [
          "chatId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "versions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier returned by v0."
                },
                "object": {
                  "type": "string",
                  "description": "Object type returned by v0."
                },
                "status": {
                  "type": "string",
                  "description": "Version generation status."
                },
                "demoUrl": {
                  "type": "string",
                  "description": "Preview URL for the version."
                },
                "screenshotUrl": {
                  "type": "string",
                  "description": "Screenshot URL for the version."
                },
                "createdAt": {
                  "type": "string",
                  "description": "ISO 8601 timestamp returned by v0."
                },
                "updatedAt": {
                  "type": "string",
                  "description": "ISO 8601 timestamp returned by v0."
                },
                "files": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "object": {
                        "type": "string",
                        "description": "Object type returned by v0."
                      },
                      "name": {
                        "type": "string",
                        "description": "File path."
                      },
                      "content": {
                        "type": "string",
                        "description": "File content."
                      },
                      "locked": {
                        "type": "boolean",
                        "description": "Whether the file is locked in v0."
                      },
                      "origin": {
                        "type": "string",
                        "description": "Origin of the file."
                      },
                      "language": {
                        "type": "string",
                        "description": "Programming language detected by v0."
                      },
                      "metadata": {
                        "type": "object",
                        "additionalProperties": {
                          "description": "A metadata value returned by v0."
                        },
                        "description": "Additional file metadata returned by v0."
                      }
                    },
                    "additionalProperties": false,
                    "description": "File payload returned by v0."
                  },
                  "description": "Files included in the version."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Version payload returned by v0."
            },
            "description": "Versions returned by v0."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "hasMore": {
                "type": "boolean",
                "description": "Whether more results are available."
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the next page, or null when there are no more results."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "nextUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Full URL for the next page when v0 returns one."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "offset": {
                "type": "integer",
                "description": "Offset for the next page."
              },
              "total": {
                "type": "integer",
                "description": "Total number of items reported by v0."
              },
              "count": {
                "type": "integer",
                "description": "Number of items in the current page."
              }
            },
            "additionalProperties": true,
            "description": "Pagination metadata returned by v0."
          }
        },
        "additionalProperties": false,
        "required": [
          "versions"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.fork_chat",
      "service": "v0",
      "name": "fork_chat",
      "description": "Fork an existing v0 chat into a new chat workspace.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          },
          "privacy": {
            "type": "string",
            "enum": [
              "public",
              "private",
              "team",
              "team-edit",
              "unlisted"
            ],
            "description": "Privacy for the forked chat."
          },
          "versionId": {
            "type": "string",
            "description": "v0 version ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "chatId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "chat": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "Chat title or display name."
              },
              "privacy": {
                "type": "string",
                "description": "Chat visibility setting."
              },
              "favorite": {
                "type": "boolean",
                "description": "Whether the chat is marked as favorite."
              },
              "authorId": {
                "type": "string",
                "description": "Author user ID."
              },
              "projectId": {
                "type": "string",
                "description": "Linked project ID."
              },
              "vercelProjectId": {
                "type": "string",
                "description": "Linked Vercel project ID."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "apiUrl": {
                "type": "string",
                "description": "API URL for the chat."
              },
              "webUrl": {
                "type": "string",
                "description": "Web URL for the chat."
              },
              "metadata": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "Chat metadata payload returned by v0."
              },
              "latestVersion": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Unique identifier returned by v0."
                  },
                  "object": {
                    "type": "string",
                    "description": "Object type returned by v0."
                  },
                  "status": {
                    "type": "string",
                    "description": "Version generation status."
                  },
                  "demoUrl": {
                    "type": "string",
                    "description": "Preview URL for the version."
                  },
                  "screenshotUrl": {
                    "type": "string",
                    "description": "Screenshot URL for the version."
                  },
                  "createdAt": {
                    "type": "string",
                    "description": "ISO 8601 timestamp returned by v0."
                  },
                  "updatedAt": {
                    "type": "string",
                    "description": "ISO 8601 timestamp returned by v0."
                  },
                  "files": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "object": {
                          "type": "string",
                          "description": "Object type returned by v0."
                        },
                        "name": {
                          "type": "string",
                          "description": "File path."
                        },
                        "content": {
                          "type": "string",
                          "description": "File content."
                        },
                        "locked": {
                          "type": "boolean",
                          "description": "Whether the file is locked in v0."
                        },
                        "origin": {
                          "type": "string",
                          "description": "Origin of the file."
                        },
                        "language": {
                          "type": "string",
                          "description": "Programming language detected by v0."
                        },
                        "metadata": {
                          "type": "object",
                          "additionalProperties": {
                            "description": "A metadata value returned by v0."
                          },
                          "description": "Additional file metadata returned by v0."
                        }
                      },
                      "additionalProperties": false,
                      "description": "File payload returned by v0."
                    },
                    "description": "Files included in the version."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "id"
                ],
                "description": "Latest version attached to the chat."
              },
              "messages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier returned by v0."
                    },
                    "object": {
                      "type": "string",
                      "description": "Object type returned by v0."
                    },
                    "chatId": {
                      "type": "string",
                      "description": "Owning chat ID."
                    },
                    "role": {
                      "type": "string",
                      "description": "Message role such as `user` or `assistant`."
                    },
                    "type": {
                      "type": "string",
                      "description": "Message type reported by v0."
                    },
                    "content": {
                      "type": "string",
                      "description": "Message text content."
                    },
                    "finishReason": {
                      "type": "string",
                      "description": "Why the generation finished."
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "updatedAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "apiUrl": {
                      "type": "string",
                      "description": "API URL for the message."
                    },
                    "modelConfiguration": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "Model configuration returned by v0."
                    },
                    "attachments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "description": "Attachment URL."
                          },
                          "name": {
                            "type": "string",
                            "description": "Attachment file name."
                          },
                          "contentType": {
                            "type": "string",
                            "description": "Attachment MIME type."
                          },
                          "size": {
                            "type": "integer",
                            "description": "Attachment size in bytes."
                          },
                          "content": {
                            "type": "string",
                            "description": "Inline attachment content when v0 returns it."
                          },
                          "type": {
                            "type": "string",
                            "description": "Attachment type reported by v0."
                          }
                        },
                        "additionalProperties": false,
                        "description": "Attachment payload returned by v0."
                      },
                      "description": "Attachments associated with the message."
                    },
                    "experimentalContent": {
                      "description": "Experimental rich content payload returned by v0."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "id"
                  ],
                  "description": "Message payload returned by v0."
                },
                "description": "Messages currently returned with the chat."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The forked chat."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.get_billing",
      "service": "v0",
      "name": "get_billing",
      "description": "Get current v0 billing and quota information.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "scope": {
            "type": "string",
            "description": "Workspace, project, or billing scope in v0."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "billing": {
            "type": "object",
            "properties": {
              "billingType": {
                "type": "string",
                "description": "Billing model currently active in v0."
              },
              "data": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "Raw billing payload returned by v0."
              },
              "remaining": {
                "type": "number",
                "description": "Remaining request quota when v0 returns it."
              },
              "reset": {
                "type": "number",
                "description": "Quota reset timestamp when v0 returns it."
              },
              "limit": {
                "type": "number",
                "description": "Quota limit when v0 returns it."
              }
            },
            "additionalProperties": false,
            "description": "Billing information returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.get_chat",
      "service": "v0",
      "name": "get_chat",
      "description": "Get a single v0 chat, including the current messages when v0 returns them.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "chat": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "Chat title or display name."
              },
              "privacy": {
                "type": "string",
                "description": "Chat visibility setting."
              },
              "favorite": {
                "type": "boolean",
                "description": "Whether the chat is marked as favorite."
              },
              "authorId": {
                "type": "string",
                "description": "Author user ID."
              },
              "projectId": {
                "type": "string",
                "description": "Linked project ID."
              },
              "vercelProjectId": {
                "type": "string",
                "description": "Linked Vercel project ID."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "apiUrl": {
                "type": "string",
                "description": "API URL for the chat."
              },
              "webUrl": {
                "type": "string",
                "description": "Web URL for the chat."
              },
              "metadata": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "Chat metadata payload returned by v0."
              },
              "latestVersion": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Unique identifier returned by v0."
                  },
                  "object": {
                    "type": "string",
                    "description": "Object type returned by v0."
                  },
                  "status": {
                    "type": "string",
                    "description": "Version generation status."
                  },
                  "demoUrl": {
                    "type": "string",
                    "description": "Preview URL for the version."
                  },
                  "screenshotUrl": {
                    "type": "string",
                    "description": "Screenshot URL for the version."
                  },
                  "createdAt": {
                    "type": "string",
                    "description": "ISO 8601 timestamp returned by v0."
                  },
                  "updatedAt": {
                    "type": "string",
                    "description": "ISO 8601 timestamp returned by v0."
                  },
                  "files": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "object": {
                          "type": "string",
                          "description": "Object type returned by v0."
                        },
                        "name": {
                          "type": "string",
                          "description": "File path."
                        },
                        "content": {
                          "type": "string",
                          "description": "File content."
                        },
                        "locked": {
                          "type": "boolean",
                          "description": "Whether the file is locked in v0."
                        },
                        "origin": {
                          "type": "string",
                          "description": "Origin of the file."
                        },
                        "language": {
                          "type": "string",
                          "description": "Programming language detected by v0."
                        },
                        "metadata": {
                          "type": "object",
                          "additionalProperties": {
                            "description": "A metadata value returned by v0."
                          },
                          "description": "Additional file metadata returned by v0."
                        }
                      },
                      "additionalProperties": false,
                      "description": "File payload returned by v0."
                    },
                    "description": "Files included in the version."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "id"
                ],
                "description": "Latest version attached to the chat."
              },
              "messages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier returned by v0."
                    },
                    "object": {
                      "type": "string",
                      "description": "Object type returned by v0."
                    },
                    "chatId": {
                      "type": "string",
                      "description": "Owning chat ID."
                    },
                    "role": {
                      "type": "string",
                      "description": "Message role such as `user` or `assistant`."
                    },
                    "type": {
                      "type": "string",
                      "description": "Message type reported by v0."
                    },
                    "content": {
                      "type": "string",
                      "description": "Message text content."
                    },
                    "finishReason": {
                      "type": "string",
                      "description": "Why the generation finished."
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "updatedAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "apiUrl": {
                      "type": "string",
                      "description": "API URL for the message."
                    },
                    "modelConfiguration": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "Model configuration returned by v0."
                    },
                    "attachments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "description": "Attachment URL."
                          },
                          "name": {
                            "type": "string",
                            "description": "Attachment file name."
                          },
                          "contentType": {
                            "type": "string",
                            "description": "Attachment MIME type."
                          },
                          "size": {
                            "type": "integer",
                            "description": "Attachment size in bytes."
                          },
                          "content": {
                            "type": "string",
                            "description": "Inline attachment content when v0 returns it."
                          },
                          "type": {
                            "type": "string",
                            "description": "Attachment type reported by v0."
                          }
                        },
                        "additionalProperties": false,
                        "description": "Attachment payload returned by v0."
                      },
                      "description": "Attachments associated with the message."
                    },
                    "experimentalContent": {
                      "description": "Experimental rich content payload returned by v0."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "id"
                  ],
                  "description": "Message payload returned by v0."
                },
                "description": "Messages currently returned with the chat."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The requested chat."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.get_deployment",
      "service": "v0",
      "name": "get_deployment",
      "description": "Get a single deployment by deployment ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "deploymentId": {
            "type": "string",
            "description": "v0 deployment ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deployment": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "inspectorUrl": {
                "type": "string",
                "description": "Inspector URL for the deployment."
              },
              "chatId": {
                "type": "string",
                "description": "Linked chat ID."
              },
              "projectId": {
                "type": "string",
                "description": "Linked project ID."
              },
              "versionId": {
                "type": "string",
                "description": "Linked version ID."
              },
              "apiUrl": {
                "type": "string",
                "description": "API URL for the deployment."
              },
              "webUrl": {
                "type": "string",
                "description": "Public deployment URL."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The requested deployment."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.get_env_var",
      "service": "v0",
      "name": "get_env_var",
      "description": "Get a single environment variable from a v0 project.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          },
          "environmentVariableId": {
            "type": "string",
            "description": "v0 environment variable ID."
          },
          "decrypted": {
            "type": "boolean",
            "description": "When true, request decrypted environment variable values."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "environmentVariableId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "envVar": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "key": {
                "type": "string",
                "description": "Environment variable key."
              },
              "value": {
                "type": "string",
                "description": "Environment variable value."
              },
              "decrypted": {
                "type": "boolean",
                "description": "Whether the returned value is decrypted."
              },
              "createdAt": {
                "type": "integer",
                "description": "Creation timestamp in milliseconds."
              },
              "updatedAt": {
                "type": "integer",
                "description": "Last update timestamp in milliseconds."
              },
              "deleted": {
                "type": "boolean",
                "description": "Whether the environment variable was deleted."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The requested environment variable."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.get_hook",
      "service": "v0",
      "name": "get_hook",
      "description": "Get a single webhook hook by hook ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "hookId": {
            "type": "string",
            "description": "v0 hook ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "hook": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "Webhook display name."
              },
              "events": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "One subscribed webhook event."
                },
                "description": "Webhook events subscribed in v0."
              },
              "chatId": {
                "type": "string",
                "description": "Optional chat ID scoped to the hook."
              },
              "projectId": {
                "type": "string",
                "description": "Optional project ID scoped to the hook."
              },
              "url": {
                "type": "string",
                "description": "Target URL that receives webhook payloads."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "description": {
                "type": "string",
                "description": "Optional description returned by v0."
              },
              "active": {
                "type": "boolean",
                "description": "Whether the hook is currently active."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The requested hook."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.get_message",
      "service": "v0",
      "name": "get_message",
      "description": "Get a single message from a v0 chat.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          },
          "messageId": {
            "type": "string",
            "description": "v0 message ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "message": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "chatId": {
                "type": "string",
                "description": "Owning chat ID."
              },
              "role": {
                "type": "string",
                "description": "Message role such as `user` or `assistant`."
              },
              "type": {
                "type": "string",
                "description": "Message type reported by v0."
              },
              "content": {
                "type": "string",
                "description": "Message text content."
              },
              "finishReason": {
                "type": "string",
                "description": "Why the generation finished."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "apiUrl": {
                "type": "string",
                "description": "API URL for the message."
              },
              "modelConfiguration": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "Model configuration returned by v0."
              },
              "attachments": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "Attachment URL."
                    },
                    "name": {
                      "type": "string",
                      "description": "Attachment file name."
                    },
                    "contentType": {
                      "type": "string",
                      "description": "Attachment MIME type."
                    },
                    "size": {
                      "type": "integer",
                      "description": "Attachment size in bytes."
                    },
                    "content": {
                      "type": "string",
                      "description": "Inline attachment content when v0 returns it."
                    },
                    "type": {
                      "type": "string",
                      "description": "Attachment type reported by v0."
                    }
                  },
                  "additionalProperties": false,
                  "description": "Attachment payload returned by v0."
                },
                "description": "Attachments associated with the message."
              },
              "experimentalContent": {
                "description": "Experimental rich content payload returned by v0."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The requested message."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.get_plan",
      "service": "v0",
      "name": "get_plan",
      "description": "Get the current subscription plan for the connected v0 user.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "plan": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "plan": {
                "type": "string",
                "description": "Subscription plan name."
              },
              "billingCycle": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "number",
                    "description": "Billing cycle start timestamp."
                  },
                  "end": {
                    "type": "number",
                    "description": "Billing cycle end timestamp."
                  }
                },
                "additionalProperties": false,
                "description": "Billing cycle returned by v0."
              },
              "balance": {
                "type": "object",
                "properties": {
                  "remaining": {
                    "type": "number",
                    "description": "Remaining billing balance."
                  },
                  "total": {
                    "type": "number",
                    "description": "Total billing balance."
                  }
                },
                "additionalProperties": false,
                "description": "Billing balance returned by v0."
              }
            },
            "additionalProperties": false,
            "required": [
              "plan"
            ],
            "description": "Subscription plan returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.get_project",
      "service": "v0",
      "name": "get_project",
      "description": "Get a single v0 project by project ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "project": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "Project name."
              },
              "description": {
                "type": "string",
                "description": "Project description."
              },
              "instructions": {
                "type": "string",
                "description": "Project-level instructions for v0."
              },
              "icon": {
                "type": "string",
                "description": "Project icon or emoji."
              },
              "privacy": {
                "type": "string",
                "description": "Project visibility setting."
              },
              "vercelProjectId": {
                "type": "string",
                "description": "Linked Vercel project ID."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "apiUrl": {
                "type": "string",
                "description": "API URL for the project."
              },
              "webUrl": {
                "type": "string",
                "description": "Web URL for the project."
              },
              "chats": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier returned by v0."
                    },
                    "object": {
                      "type": "string",
                      "description": "Object type returned by v0."
                    },
                    "name": {
                      "type": "string",
                      "description": "Chat title or display name."
                    },
                    "privacy": {
                      "type": "string",
                      "description": "Chat visibility setting."
                    },
                    "favorite": {
                      "type": "boolean",
                      "description": "Whether the chat is marked as favorite."
                    },
                    "authorId": {
                      "type": "string",
                      "description": "Author user ID."
                    },
                    "projectId": {
                      "type": "string",
                      "description": "Linked project ID."
                    },
                    "vercelProjectId": {
                      "type": "string",
                      "description": "Linked Vercel project ID."
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "updatedAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "apiUrl": {
                      "type": "string",
                      "description": "API URL for the chat."
                    },
                    "webUrl": {
                      "type": "string",
                      "description": "Web URL for the chat."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "id"
                  ],
                  "description": "Chat summary payload returned by v0."
                },
                "description": "Chats currently linked to the project."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The requested project."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.get_project_by_chat",
      "service": "v0",
      "name": "get_project_by_chat",
      "description": "Get the v0 project currently linked to a chat.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "project": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "Project name."
              },
              "description": {
                "type": "string",
                "description": "Project description."
              },
              "instructions": {
                "type": "string",
                "description": "Project-level instructions for v0."
              },
              "icon": {
                "type": "string",
                "description": "Project icon or emoji."
              },
              "privacy": {
                "type": "string",
                "description": "Project visibility setting."
              },
              "vercelProjectId": {
                "type": "string",
                "description": "Linked Vercel project ID."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "apiUrl": {
                "type": "string",
                "description": "API URL for the project."
              },
              "webUrl": {
                "type": "string",
                "description": "Web URL for the project."
              },
              "chats": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier returned by v0."
                    },
                    "object": {
                      "type": "string",
                      "description": "Object type returned by v0."
                    },
                    "name": {
                      "type": "string",
                      "description": "Chat title or display name."
                    },
                    "privacy": {
                      "type": "string",
                      "description": "Chat visibility setting."
                    },
                    "favorite": {
                      "type": "boolean",
                      "description": "Whether the chat is marked as favorite."
                    },
                    "authorId": {
                      "type": "string",
                      "description": "Author user ID."
                    },
                    "projectId": {
                      "type": "string",
                      "description": "Linked project ID."
                    },
                    "vercelProjectId": {
                      "type": "string",
                      "description": "Linked Vercel project ID."
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "updatedAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "apiUrl": {
                      "type": "string",
                      "description": "API URL for the chat."
                    },
                    "webUrl": {
                      "type": "string",
                      "description": "Web URL for the chat."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "id"
                  ],
                  "description": "Chat summary payload returned by v0."
                },
                "description": "Chats currently linked to the project."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The project linked to the chat."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.get_usage_report",
      "service": "v0",
      "name": "get_usage_report",
      "description": "Get usage events and pagination information from the v0 usage report API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Maximum number of results to return."
          },
          "cursor": {
            "type": "string",
            "description": "Cursor returned by a previous v0 list response."
          },
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          },
          "userId": {
            "type": "string",
            "description": "Filter usage events by user ID."
          },
          "messageId": {
            "type": "string",
            "description": "v0 message ID."
          },
          "startDate": {
            "type": "string",
            "description": "Only include events on or after this ISO timestamp."
          },
          "endDate": {
            "type": "string",
            "description": "Only include events on or before this ISO timestamp."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "usageEvents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier returned by v0."
                },
                "object": {
                  "type": "string",
                  "description": "Object type returned by v0."
                },
                "type": {
                  "type": "string",
                  "description": "Usage event type reported by v0."
                },
                "promptCost": {
                  "type": "string",
                  "description": "Prompt-side cost for the usage event."
                },
                "completionCost": {
                  "type": "string",
                  "description": "Completion-side cost for the usage event."
                },
                "totalCost": {
                  "type": "string",
                  "description": "Total cost for the usage event."
                },
                "chatId": {
                  "type": "string",
                  "description": "Chat ID associated with the usage event."
                },
                "messageId": {
                  "type": "string",
                  "description": "Message ID associated with the usage event."
                },
                "userId": {
                  "type": "string",
                  "description": "User ID associated with the usage event."
                },
                "user": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "User ID associated with the usage event."
                    },
                    "object": {
                      "type": "string",
                      "description": "Object type returned by v0."
                    },
                    "name": {
                      "type": "string",
                      "description": "User display name associated with the usage event."
                    },
                    "email": {
                      "type": "string",
                      "description": "User email associated with the usage event."
                    }
                  },
                  "additionalProperties": false,
                  "description": "User information associated with the usage event."
                },
                "createdAt": {
                  "type": "string",
                  "description": "ISO 8601 timestamp returned by v0."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Usage event returned by v0."
            },
            "description": "Usage events returned by v0."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "hasMore": {
                "type": "boolean",
                "description": "Whether more results are available."
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Cursor for the next page, or null when there are no more results."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "nextUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "Full URL for the next page when v0 returns one."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "offset": {
                "type": "integer",
                "description": "Offset for the next page."
              },
              "total": {
                "type": "integer",
                "description": "Total number of items reported by v0."
              },
              "count": {
                "type": "integer",
                "description": "Number of items in the current page."
              }
            },
            "additionalProperties": true,
            "description": "Pagination metadata returned by v0."
          },
          "meta": {
            "type": "object",
            "properties": {
              "totalCount": {
                "type": "integer",
                "description": "Total number of usage events in the current response."
              }
            },
            "additionalProperties": false,
            "description": "Usage report metadata returned by v0."
          }
        },
        "additionalProperties": false,
        "required": [
          "usageEvents"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.get_user",
      "service": "v0",
      "name": "get_user",
      "description": "Get the authenticated v0 user profile for the connected API key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "user": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "User display name."
              },
              "email": {
                "type": "string",
                "description": "User email address."
              },
              "avatar": {
                "type": "string",
                "description": "Avatar URL."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The authenticated v0 user."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.get_user_scopes",
      "service": "v0",
      "name": "get_user_scopes",
      "description": "List workspaces and scopes accessible to the connected v0 user.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "scopes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier returned by v0."
                },
                "object": {
                  "type": "string",
                  "description": "Object type returned by v0."
                },
                "name": {
                  "type": "string",
                  "description": "Scope display name."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Scope returned by v0."
            },
            "description": "Scopes returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.get_version",
      "service": "v0",
      "name": "get_version",
      "description": "Get a single v0 chat version, optionally including default deployment files.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          },
          "versionId": {
            "type": "string",
            "description": "v0 version ID."
          },
          "includeDefaultFiles": {
            "type": "boolean",
            "description": "Whether to include default deployment files."
          }
        },
        "additionalProperties": false,
        "required": [
          "chatId",
          "versionId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "version": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "status": {
                "type": "string",
                "description": "Version generation status."
              },
              "demoUrl": {
                "type": "string",
                "description": "Preview URL for the version."
              },
              "screenshotUrl": {
                "type": "string",
                "description": "Screenshot URL for the version."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "type": "string",
                      "description": "Object type returned by v0."
                    },
                    "name": {
                      "type": "string",
                      "description": "File path."
                    },
                    "content": {
                      "type": "string",
                      "description": "File content."
                    },
                    "locked": {
                      "type": "boolean",
                      "description": "Whether the file is locked in v0."
                    },
                    "origin": {
                      "type": "string",
                      "description": "Origin of the file."
                    },
                    "language": {
                      "type": "string",
                      "description": "Programming language detected by v0."
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "description": "A metadata value returned by v0."
                      },
                      "description": "Additional file metadata returned by v0."
                    }
                  },
                  "additionalProperties": false,
                  "description": "File payload returned by v0."
                },
                "description": "Files included in the version."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The requested version."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.init_chat",
      "service": "v0",
      "name": "init_chat",
      "description": "Initialize a new v0 chat from files, a repository, a registry, a zip archive, or a template.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Chat name shown in v0."
          },
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          },
          "type": {
            "type": "string",
            "enum": [
              "files",
              "repo",
              "registry",
              "zip",
              "template"
            ],
            "description": "Initialization source type."
          },
          "files": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "File path."
                },
                "content": {
                  "type": "string",
                  "description": "File content."
                },
                "locked": {
                  "type": "boolean",
                  "description": "Whether the file should be locked in v0."
                }
              },
              "additionalProperties": false,
              "required": [
                "name",
                "content"
              ],
              "description": "File input payload."
            },
            "description": "Inline files used when `type` is `files`."
          },
          "repo": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "description": "Git repository URL."
              },
              "branch": {
                "type": "string",
                "description": "Git branch to clone."
              }
            },
            "additionalProperties": false,
            "required": [
              "url"
            ],
            "description": "Repository source used when `type` is `repo`."
          },
          "registry": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "description": "Component registry URL."
              }
            },
            "additionalProperties": false,
            "description": "Registry source used when `type` is `registry`."
          },
          "zip": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "description": "Zip archive URL."
              },
              "lockAllFiles": {
                "type": "boolean",
                "description": "Whether all imported files should be locked."
              }
            },
            "additionalProperties": false,
            "required": [
              "url"
            ],
            "description": "Zip source used when `type` is `zip`."
          },
          "templateId": {
            "type": "string",
            "description": "Template ID used when `type` is `template`."
          },
          "chatPrivacy": {
            "type": "string",
            "enum": [
              "public",
              "private",
              "team",
              "team-edit",
              "unlisted"
            ],
            "description": "Chat visibility setting."
          },
          "metadata": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Chat metadata to attach."
          }
        },
        "additionalProperties": false,
        "required": [
          "type"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "chat": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "Chat title or display name."
              },
              "privacy": {
                "type": "string",
                "description": "Chat visibility setting."
              },
              "favorite": {
                "type": "boolean",
                "description": "Whether the chat is marked as favorite."
              },
              "authorId": {
                "type": "string",
                "description": "Author user ID."
              },
              "projectId": {
                "type": "string",
                "description": "Linked project ID."
              },
              "vercelProjectId": {
                "type": "string",
                "description": "Linked Vercel project ID."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "apiUrl": {
                "type": "string",
                "description": "API URL for the chat."
              },
              "webUrl": {
                "type": "string",
                "description": "Web URL for the chat."
              },
              "metadata": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "Chat metadata payload returned by v0."
              },
              "latestVersion": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Unique identifier returned by v0."
                  },
                  "object": {
                    "type": "string",
                    "description": "Object type returned by v0."
                  },
                  "status": {
                    "type": "string",
                    "description": "Version generation status."
                  },
                  "demoUrl": {
                    "type": "string",
                    "description": "Preview URL for the version."
                  },
                  "screenshotUrl": {
                    "type": "string",
                    "description": "Screenshot URL for the version."
                  },
                  "createdAt": {
                    "type": "string",
                    "description": "ISO 8601 timestamp returned by v0."
                  },
                  "updatedAt": {
                    "type": "string",
                    "description": "ISO 8601 timestamp returned by v0."
                  },
                  "files": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "object": {
                          "type": "string",
                          "description": "Object type returned by v0."
                        },
                        "name": {
                          "type": "string",
                          "description": "File path."
                        },
                        "content": {
                          "type": "string",
                          "description": "File content."
                        },
                        "locked": {
                          "type": "boolean",
                          "description": "Whether the file is locked in v0."
                        },
                        "origin": {
                          "type": "string",
                          "description": "Origin of the file."
                        },
                        "language": {
                          "type": "string",
                          "description": "Programming language detected by v0."
                        },
                        "metadata": {
                          "type": "object",
                          "additionalProperties": {
                            "description": "A metadata value returned by v0."
                          },
                          "description": "Additional file metadata returned by v0."
                        }
                      },
                      "additionalProperties": false,
                      "description": "File payload returned by v0."
                    },
                    "description": "Files included in the version."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "id"
                ],
                "description": "Latest version attached to the chat."
              },
              "messages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier returned by v0."
                    },
                    "object": {
                      "type": "string",
                      "description": "Object type returned by v0."
                    },
                    "chatId": {
                      "type": "string",
                      "description": "Owning chat ID."
                    },
                    "role": {
                      "type": "string",
                      "description": "Message role such as `user` or `assistant`."
                    },
                    "type": {
                      "type": "string",
                      "description": "Message type reported by v0."
                    },
                    "content": {
                      "type": "string",
                      "description": "Message text content."
                    },
                    "finishReason": {
                      "type": "string",
                      "description": "Why the generation finished."
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "updatedAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "apiUrl": {
                      "type": "string",
                      "description": "API URL for the message."
                    },
                    "modelConfiguration": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "Model configuration returned by v0."
                    },
                    "attachments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "description": "Attachment URL."
                          },
                          "name": {
                            "type": "string",
                            "description": "Attachment file name."
                          },
                          "contentType": {
                            "type": "string",
                            "description": "Attachment MIME type."
                          },
                          "size": {
                            "type": "integer",
                            "description": "Attachment size in bytes."
                          },
                          "content": {
                            "type": "string",
                            "description": "Inline attachment content when v0 returns it."
                          },
                          "type": {
                            "type": "string",
                            "description": "Attachment type reported by v0."
                          }
                        },
                        "additionalProperties": false,
                        "description": "Attachment payload returned by v0."
                      },
                      "description": "Attachments associated with the message."
                    },
                    "experimentalContent": {
                      "description": "Experimental rich content payload returned by v0."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "id"
                  ],
                  "description": "Message payload returned by v0."
                },
                "description": "Messages currently returned with the chat."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The initialized chat."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.resume_message",
      "service": "v0",
      "name": "resume_message",
      "description": "Resume a previously asynchronous v0 message generation.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          },
          "messageId": {
            "type": "string",
            "description": "v0 message ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "message": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "chatId": {
                "type": "string",
                "description": "Owning chat ID."
              },
              "role": {
                "type": "string",
                "description": "Message role such as `user` or `assistant`."
              },
              "type": {
                "type": "string",
                "description": "Message type reported by v0."
              },
              "content": {
                "type": "string",
                "description": "Message text content."
              },
              "finishReason": {
                "type": "string",
                "description": "Why the generation finished."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "apiUrl": {
                "type": "string",
                "description": "API URL for the message."
              },
              "modelConfiguration": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "Model configuration returned by v0."
              },
              "attachments": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "Attachment URL."
                    },
                    "name": {
                      "type": "string",
                      "description": "Attachment file name."
                    },
                    "contentType": {
                      "type": "string",
                      "description": "Attachment MIME type."
                    },
                    "size": {
                      "type": "integer",
                      "description": "Attachment size in bytes."
                    },
                    "content": {
                      "type": "string",
                      "description": "Inline attachment content when v0 returns it."
                    },
                    "type": {
                      "type": "string",
                      "description": "Attachment type reported by v0."
                    }
                  },
                  "additionalProperties": false,
                  "description": "Attachment payload returned by v0."
                },
                "description": "Attachments associated with the message."
              },
              "experimentalContent": {
                "description": "Experimental rich content payload returned by v0."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The resumed message state returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.send_message",
      "service": "v0",
      "name": "send_message",
      "description": "Send a follow-up message to an existing v0 chat.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          },
          "message": {
            "type": "string",
            "description": "Message text to send to v0."
          },
          "responseMode": {
            "type": "string",
            "enum": [
              "sync",
              "async"
            ],
            "description": "How v0 should return the result. `sync` waits for the full response, `async` returns the accepted task state."
          },
          "system": {
            "type": "string",
            "description": "System instruction appended to the message."
          },
          "attachments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "description": "Attachment URL."
                },
                "name": {
                  "type": "string",
                  "description": "Attachment file name."
                },
                "contentType": {
                  "type": "string",
                  "description": "Attachment MIME type."
                },
                "size": {
                  "type": "integer",
                  "description": "Attachment size in bytes."
                },
                "content": {
                  "type": "string",
                  "description": "Inline attachment content when v0 returns it."
                },
                "type": {
                  "type": "string",
                  "description": "Attachment type reported by v0."
                }
              },
              "additionalProperties": false,
              "description": "Attachment payload returned by v0."
            },
            "description": "Attachments sent with the message."
          },
          "modelId": {
            "type": "string",
            "description": "Model ID to use when supported by v0."
          },
          "modelConfiguration": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Model configuration overrides."
          },
          "mcpServerIds": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "One MCP server ID to attach."
            },
            "description": "MCP server IDs to attach."
          },
          "attachedSkillIds": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "One skill ID to attach."
            },
            "description": "Attached skill IDs."
          },
          "action": {
            "type": "object",
            "properties": {
              "type": {
                "const": "fix-with-v0",
                "type": "string",
                "description": "Follow-up action type."
              }
            },
            "additionalProperties": false,
            "description": "Optional follow-up action."
          }
        },
        "additionalProperties": false,
        "required": [
          "chatId",
          "message"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "chat": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "Chat title or display name."
              },
              "privacy": {
                "type": "string",
                "description": "Chat visibility setting."
              },
              "favorite": {
                "type": "boolean",
                "description": "Whether the chat is marked as favorite."
              },
              "authorId": {
                "type": "string",
                "description": "Author user ID."
              },
              "projectId": {
                "type": "string",
                "description": "Linked project ID."
              },
              "vercelProjectId": {
                "type": "string",
                "description": "Linked Vercel project ID."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "apiUrl": {
                "type": "string",
                "description": "API URL for the chat."
              },
              "webUrl": {
                "type": "string",
                "description": "Web URL for the chat."
              },
              "metadata": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "Chat metadata payload returned by v0."
              },
              "latestVersion": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Unique identifier returned by v0."
                  },
                  "object": {
                    "type": "string",
                    "description": "Object type returned by v0."
                  },
                  "status": {
                    "type": "string",
                    "description": "Version generation status."
                  },
                  "demoUrl": {
                    "type": "string",
                    "description": "Preview URL for the version."
                  },
                  "screenshotUrl": {
                    "type": "string",
                    "description": "Screenshot URL for the version."
                  },
                  "createdAt": {
                    "type": "string",
                    "description": "ISO 8601 timestamp returned by v0."
                  },
                  "updatedAt": {
                    "type": "string",
                    "description": "ISO 8601 timestamp returned by v0."
                  },
                  "files": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "object": {
                          "type": "string",
                          "description": "Object type returned by v0."
                        },
                        "name": {
                          "type": "string",
                          "description": "File path."
                        },
                        "content": {
                          "type": "string",
                          "description": "File content."
                        },
                        "locked": {
                          "type": "boolean",
                          "description": "Whether the file is locked in v0."
                        },
                        "origin": {
                          "type": "string",
                          "description": "Origin of the file."
                        },
                        "language": {
                          "type": "string",
                          "description": "Programming language detected by v0."
                        },
                        "metadata": {
                          "type": "object",
                          "additionalProperties": {
                            "description": "A metadata value returned by v0."
                          },
                          "description": "Additional file metadata returned by v0."
                        }
                      },
                      "additionalProperties": false,
                      "description": "File payload returned by v0."
                    },
                    "description": "Files included in the version."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "id"
                ],
                "description": "Latest version attached to the chat."
              },
              "messages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier returned by v0."
                    },
                    "object": {
                      "type": "string",
                      "description": "Object type returned by v0."
                    },
                    "chatId": {
                      "type": "string",
                      "description": "Owning chat ID."
                    },
                    "role": {
                      "type": "string",
                      "description": "Message role such as `user` or `assistant`."
                    },
                    "type": {
                      "type": "string",
                      "description": "Message type reported by v0."
                    },
                    "content": {
                      "type": "string",
                      "description": "Message text content."
                    },
                    "finishReason": {
                      "type": "string",
                      "description": "Why the generation finished."
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "updatedAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "apiUrl": {
                      "type": "string",
                      "description": "API URL for the message."
                    },
                    "modelConfiguration": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "Model configuration returned by v0."
                    },
                    "attachments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "description": "Attachment URL."
                          },
                          "name": {
                            "type": "string",
                            "description": "Attachment file name."
                          },
                          "contentType": {
                            "type": "string",
                            "description": "Attachment MIME type."
                          },
                          "size": {
                            "type": "integer",
                            "description": "Attachment size in bytes."
                          },
                          "content": {
                            "type": "string",
                            "description": "Inline attachment content when v0 returns it."
                          },
                          "type": {
                            "type": "string",
                            "description": "Attachment type reported by v0."
                          }
                        },
                        "additionalProperties": false,
                        "description": "Attachment payload returned by v0."
                      },
                      "description": "Attachments associated with the message."
                    },
                    "experimentalContent": {
                      "description": "Experimental rich content payload returned by v0."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "id"
                  ],
                  "description": "Message payload returned by v0."
                },
                "description": "Messages currently returned with the chat."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The updated chat state returned by v0."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.update_chat",
      "service": "v0",
      "name": "update_chat",
      "description": "Update a v0 chat's metadata such as its name or privacy.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          },
          "name": {
            "type": "string",
            "description": "Updated chat name."
          },
          "privacy": {
            "type": "string",
            "enum": [
              "public",
              "private",
              "team",
              "team-edit",
              "unlisted"
            ],
            "description": "Updated chat privacy."
          }
        },
        "additionalProperties": false,
        "required": [
          "chatId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "chat": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "Chat title or display name."
              },
              "privacy": {
                "type": "string",
                "description": "Chat visibility setting."
              },
              "favorite": {
                "type": "boolean",
                "description": "Whether the chat is marked as favorite."
              },
              "authorId": {
                "type": "string",
                "description": "Author user ID."
              },
              "projectId": {
                "type": "string",
                "description": "Linked project ID."
              },
              "vercelProjectId": {
                "type": "string",
                "description": "Linked Vercel project ID."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "apiUrl": {
                "type": "string",
                "description": "API URL for the chat."
              },
              "webUrl": {
                "type": "string",
                "description": "Web URL for the chat."
              },
              "metadata": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "Chat metadata payload returned by v0."
              },
              "latestVersion": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Unique identifier returned by v0."
                  },
                  "object": {
                    "type": "string",
                    "description": "Object type returned by v0."
                  },
                  "status": {
                    "type": "string",
                    "description": "Version generation status."
                  },
                  "demoUrl": {
                    "type": "string",
                    "description": "Preview URL for the version."
                  },
                  "screenshotUrl": {
                    "type": "string",
                    "description": "Screenshot URL for the version."
                  },
                  "createdAt": {
                    "type": "string",
                    "description": "ISO 8601 timestamp returned by v0."
                  },
                  "updatedAt": {
                    "type": "string",
                    "description": "ISO 8601 timestamp returned by v0."
                  },
                  "files": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "object": {
                          "type": "string",
                          "description": "Object type returned by v0."
                        },
                        "name": {
                          "type": "string",
                          "description": "File path."
                        },
                        "content": {
                          "type": "string",
                          "description": "File content."
                        },
                        "locked": {
                          "type": "boolean",
                          "description": "Whether the file is locked in v0."
                        },
                        "origin": {
                          "type": "string",
                          "description": "Origin of the file."
                        },
                        "language": {
                          "type": "string",
                          "description": "Programming language detected by v0."
                        },
                        "metadata": {
                          "type": "object",
                          "additionalProperties": {
                            "description": "A metadata value returned by v0."
                          },
                          "description": "Additional file metadata returned by v0."
                        }
                      },
                      "additionalProperties": false,
                      "description": "File payload returned by v0."
                    },
                    "description": "Files included in the version."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "id"
                ],
                "description": "Latest version attached to the chat."
              },
              "messages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier returned by v0."
                    },
                    "object": {
                      "type": "string",
                      "description": "Object type returned by v0."
                    },
                    "chatId": {
                      "type": "string",
                      "description": "Owning chat ID."
                    },
                    "role": {
                      "type": "string",
                      "description": "Message role such as `user` or `assistant`."
                    },
                    "type": {
                      "type": "string",
                      "description": "Message type reported by v0."
                    },
                    "content": {
                      "type": "string",
                      "description": "Message text content."
                    },
                    "finishReason": {
                      "type": "string",
                      "description": "Why the generation finished."
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "updatedAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "apiUrl": {
                      "type": "string",
                      "description": "API URL for the message."
                    },
                    "modelConfiguration": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "Model configuration returned by v0."
                    },
                    "attachments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "description": "Attachment URL."
                          },
                          "name": {
                            "type": "string",
                            "description": "Attachment file name."
                          },
                          "contentType": {
                            "type": "string",
                            "description": "Attachment MIME type."
                          },
                          "size": {
                            "type": "integer",
                            "description": "Attachment size in bytes."
                          },
                          "content": {
                            "type": "string",
                            "description": "Inline attachment content when v0 returns it."
                          },
                          "type": {
                            "type": "string",
                            "description": "Attachment type reported by v0."
                          }
                        },
                        "additionalProperties": false,
                        "description": "Attachment payload returned by v0."
                      },
                      "description": "Attachments associated with the message."
                    },
                    "experimentalContent": {
                      "description": "Experimental rich content payload returned by v0."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "id"
                  ],
                  "description": "Message payload returned by v0."
                },
                "description": "Messages currently returned with the chat."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The updated chat."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.update_env_vars",
      "service": "v0",
      "name": "update_env_vars",
      "description": "Update existing environment variables on a v0 project.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          },
          "decrypted": {
            "type": "boolean",
            "description": "When true, request decrypted environment variable values."
          },
          "environmentVariables": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "v0 environment variable ID."
                },
                "key": {
                  "type": "string",
                  "description": "Updated environment variable key."
                },
                "value": {
                  "type": "string",
                  "description": "Updated environment variable value."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Environment variable update input."
            },
            "description": "Environment variables to update.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId",
          "environmentVariables"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "envVars": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier returned by v0."
                },
                "object": {
                  "type": "string",
                  "description": "Object type returned by v0."
                },
                "key": {
                  "type": "string",
                  "description": "Environment variable key."
                },
                "value": {
                  "type": "string",
                  "description": "Environment variable value."
                },
                "decrypted": {
                  "type": "boolean",
                  "description": "Whether the returned value is decrypted."
                },
                "createdAt": {
                  "type": "integer",
                  "description": "Creation timestamp in milliseconds."
                },
                "updatedAt": {
                  "type": "integer",
                  "description": "Last update timestamp in milliseconds."
                },
                "deleted": {
                  "type": "boolean",
                  "description": "Whether the environment variable was deleted."
                }
              },
              "additionalProperties": false,
              "required": [
                "id"
              ],
              "description": "Environment variable payload returned by v0."
            },
            "description": "The updated environment variables."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.update_hook",
      "service": "v0",
      "name": "update_hook",
      "description": "Update an existing webhook hook in v0.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "hookId": {
            "type": "string",
            "description": "v0 hook ID."
          },
          "name": {
            "type": "string",
            "description": "Updated webhook display name."
          },
          "url": {
            "type": "string",
            "description": "Updated target URL."
          },
          "events": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "chat.created",
                "chat.updated",
                "chat.deleted",
                "message.created",
                "message.updated",
                "message.deleted",
                "message.finished"
              ],
              "description": "One v0 webhook event type."
            },
            "description": "Updated event subscriptions."
          }
        },
        "additionalProperties": false,
        "required": [
          "hookId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "hook": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "Webhook display name."
              },
              "events": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "One subscribed webhook event."
                },
                "description": "Webhook events subscribed in v0."
              },
              "chatId": {
                "type": "string",
                "description": "Optional chat ID scoped to the hook."
              },
              "projectId": {
                "type": "string",
                "description": "Optional project ID scoped to the hook."
              },
              "url": {
                "type": "string",
                "description": "Target URL that receives webhook payloads."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "description": {
                "type": "string",
                "description": "Optional description returned by v0."
              },
              "active": {
                "type": "boolean",
                "description": "Whether the hook is currently active."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The updated hook."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.update_project",
      "service": "v0",
      "name": "update_project",
      "description": "Update a v0 project's metadata, instructions, visibility, or linked Vercel project.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "v0 project ID."
          },
          "name": {
            "type": "string",
            "description": "Updated project name."
          },
          "description": {
            "type": "string",
            "description": "Updated project description."
          },
          "icon": {
            "type": "string",
            "description": "Updated project icon or emoji."
          },
          "instructions": {
            "type": "string",
            "description": "Updated project instructions."
          },
          "privacy": {
            "type": "string",
            "enum": [
              "private",
              "team"
            ],
            "description": "Updated project visibility."
          },
          "vercelProjectId": {
            "type": "string",
            "description": "Updated linked Vercel project ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "projectId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "project": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "name": {
                "type": "string",
                "description": "Project name."
              },
              "description": {
                "type": "string",
                "description": "Project description."
              },
              "instructions": {
                "type": "string",
                "description": "Project-level instructions for v0."
              },
              "icon": {
                "type": "string",
                "description": "Project icon or emoji."
              },
              "privacy": {
                "type": "string",
                "description": "Project visibility setting."
              },
              "vercelProjectId": {
                "type": "string",
                "description": "Linked Vercel project ID."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "apiUrl": {
                "type": "string",
                "description": "API URL for the project."
              },
              "webUrl": {
                "type": "string",
                "description": "Web URL for the project."
              },
              "chats": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier returned by v0."
                    },
                    "object": {
                      "type": "string",
                      "description": "Object type returned by v0."
                    },
                    "name": {
                      "type": "string",
                      "description": "Chat title or display name."
                    },
                    "privacy": {
                      "type": "string",
                      "description": "Chat visibility setting."
                    },
                    "favorite": {
                      "type": "boolean",
                      "description": "Whether the chat is marked as favorite."
                    },
                    "authorId": {
                      "type": "string",
                      "description": "Author user ID."
                    },
                    "projectId": {
                      "type": "string",
                      "description": "Linked project ID."
                    },
                    "vercelProjectId": {
                      "type": "string",
                      "description": "Linked Vercel project ID."
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "updatedAt": {
                      "type": "string",
                      "description": "ISO 8601 timestamp returned by v0."
                    },
                    "apiUrl": {
                      "type": "string",
                      "description": "API URL for the chat."
                    },
                    "webUrl": {
                      "type": "string",
                      "description": "Web URL for the chat."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "id"
                  ],
                  "description": "Chat summary payload returned by v0."
                },
                "description": "Chats currently linked to the project."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The updated project."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    },
    {
      "id": "v0.update_version",
      "service": "v0",
      "name": "update_version",
      "description": "Update the files of an existing v0 chat version.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string",
            "description": "v0 chat ID."
          },
          "versionId": {
            "type": "string",
            "description": "v0 version ID."
          },
          "files": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "File path."
                },
                "content": {
                  "type": "string",
                  "description": "File content."
                },
                "locked": {
                  "type": "boolean",
                  "description": "Whether the file should be locked in v0."
                }
              },
              "additionalProperties": false,
              "required": [
                "name",
                "content"
              ],
              "description": "File input payload."
            },
            "description": "Files to update on the version.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "version": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier returned by v0."
              },
              "object": {
                "type": "string",
                "description": "Object type returned by v0."
              },
              "status": {
                "type": "string",
                "description": "Version generation status."
              },
              "demoUrl": {
                "type": "string",
                "description": "Preview URL for the version."
              },
              "screenshotUrl": {
                "type": "string",
                "description": "Screenshot URL for the version."
              },
              "createdAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "updatedAt": {
                "type": "string",
                "description": "ISO 8601 timestamp returned by v0."
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "type": "string",
                      "description": "Object type returned by v0."
                    },
                    "name": {
                      "type": "string",
                      "description": "File path."
                    },
                    "content": {
                      "type": "string",
                      "description": "File content."
                    },
                    "locked": {
                      "type": "boolean",
                      "description": "Whether the file is locked in v0."
                    },
                    "origin": {
                      "type": "string",
                      "description": "Origin of the file."
                    },
                    "language": {
                      "type": "string",
                      "description": "Programming language detected by v0."
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "description": "A metadata value returned by v0."
                      },
                      "description": "Additional file metadata returned by v0."
                    }
                  },
                  "additionalProperties": false,
                  "description": "File payload returned by v0."
                },
                "description": "Files included in the version."
              }
            },
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "description": "The updated version."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    }
  ]
}
