{
  "service": "convex",
  "displayName": "Convex",
  "categories": [
    "Developer Tools"
  ],
  "authTypes": [
    "oauth2",
    "api_key"
  ],
  "auth": [
    {
      "type": "oauth2",
      "authorizationUrl": "https://dashboard.convex.dev/oauth/authorize/team",
      "tokenUrl": "https://api.convex.dev/oauth/token",
      "scopes": [],
      "tokenEndpointAuthMethod": "client_secret_post",
      "authorizationParams": {}
    },
    {
      "type": "api_key",
      "label": "Deploy Key",
      "placeholder": "convex_deploy_key",
      "description": "Convex deploy key used with the Authorization Bearer header. Create it from Deployment Settings in the Convex dashboard as documented at https://docs.convex.dev/production/access-tokens."
    }
  ],
  "homepageUrl": "https://www.convex.dev",
  "actions": [
    {
      "id": "convex.create_deploy_key",
      "service": "convex",
      "name": "create_deploy_key",
      "description": "Create a deploy key for a Convex deployment.",
      "requiredScopes": [
        "convex.deploy_keys.write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "deployment_name": {
            "type": "string",
            "minLength": 1,
            "description": "The deployment name."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The deploy key name."
          }
        },
        "additionalProperties": false,
        "required": [
          "deployment_name",
          "name"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deployKey": {
            "type": "string",
            "minLength": 1,
            "description": "The created deploy key."
          }
        },
        "additionalProperties": false,
        "required": [
          "deployKey"
        ]
      }
    },
    {
      "id": "convex.create_deployment",
      "service": "convex",
      "name": "create_deployment",
      "description": "Create a new deployment in a Convex project.",
      "requiredScopes": [
        "convex.deployments.write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "project_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The Convex project ID."
          },
          "type": {
            "type": "string",
            "enum": [
              "dev",
              "prod",
              "preview"
            ],
            "description": "Deployment type."
          },
          "class": {
            "type": "string",
            "minLength": 1,
            "description": "The deployment class."
          },
          "region": {
            "type": "string",
            "minLength": 1,
            "description": "The deployment region."
          },
          "reference": {
            "type": "string",
            "minLength": 1,
            "description": "The deployment reference."
          },
          "isDefault": {
            "type": "boolean",
            "description": "Whether this deployment should be default."
          },
          "expiresAt": {
            "anyOf": [
              {
                "type": "integer",
                "description": "Optional expiration timestamp."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "project_id",
          "type"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deployment": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "description": "The deployment kind."
              },
              "name": {
                "type": "string",
                "description": "The deployment name."
              },
              "deploymentType": {
                "type": "string",
                "description": "The deployment type."
              },
              "projectId": {
                "type": "integer",
                "description": "The owning project ID."
              },
              "createTime": {
                "type": "integer",
                "description": "The deployment creation timestamp."
              },
              "deploymentUrl": {
                "type": "string",
                "description": "The deployment URL."
              },
              "reference": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The deployment reference."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "region": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The deployment region."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isDefault": {
                "type": "boolean",
                "description": "Whether this is the default deployment."
              },
              "previewIdentifier": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The preview identifier."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "dashboardEditConfirmation": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether dashboard edits are confirmed."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "lastDeployTime": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The last deploy timestamp."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": true,
            "description": "A Convex deployment."
          }
        },
        "additionalProperties": false,
        "required": [
          "deployment"
        ]
      }
    },
    {
      "id": "convex.create_project",
      "service": "convex",
      "name": "create_project",
      "description": "Create a Convex project on a team, optionally provisioning an initial dev or prod deployment.",
      "requiredScopes": [
        "convex.projects.write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "team_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The Convex team ID."
          },
          "projectName": {
            "type": "string",
            "minLength": 1,
            "description": "The project name."
          },
          "deploymentType": {
            "type": "string",
            "enum": [
              "dev",
              "prod"
            ],
            "description": "The initial deployment type."
          },
          "deploymentClass": {
            "type": "string",
            "minLength": 1,
            "description": "The deployment class."
          },
          "deploymentRegion": {
            "type": "string",
            "minLength": 1,
            "description": "The deployment region."
          }
        },
        "additionalProperties": false,
        "required": [
          "team_id",
          "projectName"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "integer",
            "description": "The created project ID."
          },
          "deploymentName": {
            "anyOf": [
              {
                "type": "string",
                "description": "The created deployment name."
              },
              {
                "type": "null"
              }
            ]
          },
          "deploymentUrl": {
            "anyOf": [
              {
                "type": "string",
                "description": "The created deployment URL."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": true,
        "description": "The Convex create project response."
      }
    },
    {
      "id": "convex.delete_custom_domain",
      "service": "convex",
      "name": "delete_custom_domain",
      "description": "Remove a custom domain from a Convex deployment.",
      "requiredScopes": [
        "convex.custom_domains.write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "deployment_name": {
            "type": "string",
            "minLength": 1,
            "description": "The deployment name."
          },
          "domain": {
            "type": "string",
            "minLength": 1,
            "description": "The custom domain."
          }
        },
        "additionalProperties": false,
        "required": [
          "deployment_name",
          "domain"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether the delete request succeeded."
          }
        },
        "additionalProperties": false,
        "required": [
          "success"
        ]
      }
    },
    {
      "id": "convex.delete_deploy_key",
      "service": "convex",
      "name": "delete_deploy_key",
      "description": "Delete a deploy key for a Convex deployment.",
      "requiredScopes": [
        "convex.deploy_keys.write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "deployment_name": {
            "type": "string",
            "minLength": 1,
            "description": "The deployment name."
          },
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The deploy key ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "deployment_name",
          "id"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether the delete request succeeded."
          }
        },
        "additionalProperties": false,
        "required": [
          "success"
        ]
      }
    },
    {
      "id": "convex.delete_deployment",
      "service": "convex",
      "name": "delete_deployment",
      "description": "Delete a Convex deployment and all of its data.",
      "requiredScopes": [
        "convex.deployments.write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "deployment_name": {
            "type": "string",
            "minLength": 1,
            "description": "The deployment name."
          }
        },
        "additionalProperties": false,
        "required": [
          "deployment_name"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether the delete request succeeded."
          }
        },
        "additionalProperties": false,
        "required": [
          "success"
        ]
      }
    },
    {
      "id": "convex.delete_project",
      "service": "convex",
      "name": "delete_project",
      "description": "Delete a Convex project and all of its deployments.",
      "requiredScopes": [
        "convex.projects.write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "project_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The Convex project ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "project_id"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether the delete request succeeded."
          }
        },
        "additionalProperties": false,
        "required": [
          "success"
        ]
      }
    },
    {
      "id": "convex.execute_query_batch",
      "service": "convex",
      "name": "execute_query_batch",
      "description": "Execute multiple Convex queries against a deployment and return results in the same order.",
      "requiredScopes": [
        "convex.http.query"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "queries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The Convex function path."
                },
                "args": {
                  "type": "object",
                  "additionalProperties": {
                    "description": "One Convex argument value."
                  },
                  "description": "Convex function arguments."
                },
                "format": {
                  "const": "json",
                  "type": "string",
                  "description": "Request JSON result format."
                }
              },
              "additionalProperties": false,
              "required": [
                "path"
              ]
            },
            "description": "Convex query calls.",
            "minItems": 1
          },
          "deployment_url": {
            "type": "string",
            "minLength": 1,
            "description": "The hosted *.convex.cloud deployment URL or deployment name prefix."
          }
        },
        "additionalProperties": false,
        "required": [
          "queries"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "enum": [
                    "success",
                    "error"
                  ],
                  "description": "The function execution status."
                },
                "value": {
                  "description": "The returned function value."
                },
                "logLines": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  },
                  "description": "Log lines produced by the function."
                },
                "errorMessage": {
                  "type": "string",
                  "description": "The function error message."
                },
                "errorData": {
                  "description": "Structured function error data."
                }
              },
              "additionalProperties": false,
              "required": [
                "status"
              ]
            },
            "description": "Convex query results."
          }
        },
        "additionalProperties": false,
        "required": [
          "results"
        ]
      }
    },
    {
      "id": "convex.get_deployment",
      "service": "convex",
      "name": "get_deployment",
      "description": "Get a cloud deployment by deployment name.",
      "requiredScopes": [
        "convex.deployments.read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "deployment_name": {
            "type": "string",
            "minLength": 1,
            "description": "The deployment name."
          }
        },
        "additionalProperties": false,
        "required": [
          "deployment_name"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deployment": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "description": "The deployment kind."
              },
              "name": {
                "type": "string",
                "description": "The deployment name."
              },
              "deploymentType": {
                "type": "string",
                "description": "The deployment type."
              },
              "projectId": {
                "type": "integer",
                "description": "The owning project ID."
              },
              "createTime": {
                "type": "integer",
                "description": "The deployment creation timestamp."
              },
              "deploymentUrl": {
                "type": "string",
                "description": "The deployment URL."
              },
              "reference": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The deployment reference."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "region": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The deployment region."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isDefault": {
                "type": "boolean",
                "description": "Whether this is the default deployment."
              },
              "previewIdentifier": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The preview identifier."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "dashboardEditConfirmation": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether dashboard edits are confirmed."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "lastDeployTime": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The last deploy timestamp."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": true,
            "description": "A Convex deployment."
          }
        },
        "additionalProperties": false,
        "required": [
          "deployment"
        ]
      }
    },
    {
      "id": "convex.get_project_by_id",
      "service": "convex",
      "name": "get_project_by_id",
      "description": "Get a Convex project by numeric project ID.",
      "requiredScopes": [
        "convex.projects.read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "project_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The Convex project ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "project_id"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "project": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "description": "The Convex project ID."
              },
              "name": {
                "type": "string",
                "description": "The project name."
              },
              "slug": {
                "type": "string",
                "description": "The project slug."
              },
              "teamId": {
                "type": "integer",
                "description": "The owning team ID."
              },
              "teamSlug": {
                "type": "string",
                "description": "The owning team slug."
              },
              "createTime": {
                "type": "integer",
                "description": "The project creation timestamp."
              }
            },
            "additionalProperties": true,
            "description": "A Convex project."
          }
        },
        "additionalProperties": false,
        "required": [
          "project"
        ]
      }
    },
    {
      "id": "convex.get_project_by_slug",
      "service": "convex",
      "name": "get_project_by_slug",
      "description": "Get a Convex project by team identifier or slug plus project slug.",
      "requiredScopes": [
        "convex.projects.read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "team_id_or_slug": {
            "type": "string",
            "minLength": 1,
            "description": "The Convex team ID or slug."
          },
          "project_slug": {
            "type": "string",
            "minLength": 1,
            "description": "The project slug."
          }
        },
        "additionalProperties": false,
        "required": [
          "team_id_or_slug",
          "project_slug"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "project": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "description": "The Convex project ID."
              },
              "name": {
                "type": "string",
                "description": "The project name."
              },
              "slug": {
                "type": "string",
                "description": "The project slug."
              },
              "teamId": {
                "type": "integer",
                "description": "The owning team ID."
              },
              "teamSlug": {
                "type": "string",
                "description": "The owning team slug."
              },
              "createTime": {
                "type": "integer",
                "description": "The project creation timestamp."
              }
            },
            "additionalProperties": true,
            "description": "A Convex project."
          }
        },
        "additionalProperties": false,
        "required": [
          "project"
        ]
      }
    },
    {
      "id": "convex.get_token_details",
      "service": "convex",
      "name": "get_token_details",
      "description": "Return the current Convex token details so you can discover the authorized team or project context.",
      "requiredScopes": [
        "convex.token.read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "token": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "teamToken",
                  "projectToken"
                ],
                "description": "The Convex token type."
              },
              "name": {
                "type": "string",
                "description": "The token display name."
              },
              "createTime": {
                "type": "integer",
                "description": "The token creation timestamp."
              },
              "teamId": {
                "type": "integer",
                "description": "The team ID for a team token."
              },
              "projectId": {
                "type": "integer",
                "description": "The project ID for a project token."
              }
            },
            "additionalProperties": false,
            "required": [
              "type",
              "name",
              "createTime"
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "token"
        ]
      }
    },
    {
      "id": "convex.list_custom_domains",
      "service": "convex",
      "name": "list_custom_domains",
      "description": "List custom domains configured for a Convex deployment.",
      "requiredScopes": [
        "convex.custom_domains.read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "deployment_name": {
            "type": "string",
            "minLength": 1,
            "description": "The deployment name."
          }
        },
        "additionalProperties": false,
        "required": [
          "deployment_name"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "customDomains": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "domain": {
                  "type": "string"
                },
                "deploymentName": {
                  "type": "string"
                },
                "requestDestination": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            },
            "description": "Custom domains."
          }
        },
        "additionalProperties": false,
        "required": [
          "customDomains"
        ]
      }
    },
    {
      "id": "convex.list_deploy_keys",
      "service": "convex",
      "name": "list_deploy_keys",
      "description": "List deploy keys for a Convex deployment.",
      "requiredScopes": [
        "convex.deploy_keys.read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "deployment_name": {
            "type": "string",
            "minLength": 1,
            "description": "The deployment name."
          }
        },
        "additionalProperties": false,
        "required": [
          "deployment_name"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deployKeys": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "The deploy key name."
                },
                "creationTime": {
                  "type": "integer",
                  "description": "The key creation timestamp."
                },
                "creator": {
                  "type": "integer",
                  "description": "The creator user ID."
                },
                "lastUsedTime": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The last-used timestamp."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": true,
              "description": "A Convex deploy key summary."
            },
            "description": "Deploy keys."
          }
        },
        "additionalProperties": false,
        "required": [
          "deployKeys"
        ]
      }
    },
    {
      "id": "convex.list_deployment_classes",
      "service": "convex",
      "name": "list_deployment_classes",
      "description": "List available deployment classes for a Convex team.",
      "requiredScopes": [
        "convex.projects.read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "team_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The Convex team ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "team_id"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "available": {
                  "type": "boolean"
                }
              },
              "additionalProperties": true
            },
            "description": "Available deployment classes."
          }
        },
        "additionalProperties": false,
        "required": [
          "items"
        ]
      }
    },
    {
      "id": "convex.list_deployment_regions",
      "service": "convex",
      "name": "list_deployment_regions",
      "description": "List available deployment regions for a Convex team.",
      "requiredScopes": [
        "convex.projects.read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "team_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The Convex team ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "team_id"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "displayName": {
                  "type": "string"
                },
                "available": {
                  "type": "boolean"
                }
              },
              "additionalProperties": true
            },
            "description": "Available deployment regions."
          }
        },
        "additionalProperties": false,
        "required": [
          "items"
        ]
      }
    },
    {
      "id": "convex.list_deployments",
      "service": "convex",
      "name": "list_deployments",
      "description": "List deployments for a Convex project.",
      "requiredScopes": [
        "convex.deployments.read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "project_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The Convex project ID."
          },
          "includeLocal": {
            "type": "boolean",
            "description": "Whether to include local deployments."
          },
          "isDefault": {
            "type": "boolean",
            "description": "Whether to filter to default deployments."
          },
          "deploymentType": {
            "type": "string",
            "enum": [
              "dev",
              "prod",
              "preview"
            ],
            "description": "Deployment type filter."
          }
        },
        "additionalProperties": false,
        "required": [
          "project_id"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deployments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "description": "The deployment kind."
                },
                "name": {
                  "type": "string",
                  "description": "The deployment name."
                },
                "deploymentType": {
                  "type": "string",
                  "description": "The deployment type."
                },
                "projectId": {
                  "type": "integer",
                  "description": "The owning project ID."
                },
                "createTime": {
                  "type": "integer",
                  "description": "The deployment creation timestamp."
                },
                "deploymentUrl": {
                  "type": "string",
                  "description": "The deployment URL."
                },
                "reference": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The deployment reference."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "region": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The deployment region."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "isDefault": {
                  "type": "boolean",
                  "description": "Whether this is the default deployment."
                },
                "previewIdentifier": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The preview identifier."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "dashboardEditConfirmation": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether dashboard edits are confirmed."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "lastDeployTime": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The last deploy timestamp."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": true,
              "description": "A Convex deployment."
            },
            "description": "The Convex deployments."
          }
        },
        "additionalProperties": false,
        "required": [
          "deployments"
        ]
      }
    },
    {
      "id": "convex.list_projects",
      "service": "convex",
      "name": "list_projects",
      "description": "List all Convex projects for a team.",
      "requiredScopes": [
        "convex.projects.read"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "team_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The Convex team ID."
          }
        },
        "additionalProperties": false,
        "required": [
          "team_id"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "projects": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "The Convex project ID."
                },
                "name": {
                  "type": "string",
                  "description": "The project name."
                },
                "slug": {
                  "type": "string",
                  "description": "The project slug."
                },
                "teamId": {
                  "type": "integer",
                  "description": "The owning team ID."
                },
                "teamSlug": {
                  "type": "string",
                  "description": "The owning team slug."
                },
                "createTime": {
                  "type": "integer",
                  "description": "The project creation timestamp."
                }
              },
              "additionalProperties": true,
              "description": "A Convex project."
            },
            "description": "The Convex projects."
          }
        },
        "additionalProperties": false,
        "required": [
          "projects"
        ]
      }
    },
    {
      "id": "convex.run_action",
      "service": "convex",
      "name": "run_action",
      "description": "Execute a Convex action through the deployment HTTP API.",
      "requiredScopes": [
        "convex.http.action"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "description": "The Convex function path."
          },
          "args": {
            "type": "object",
            "additionalProperties": {
              "description": "One Convex argument value."
            },
            "description": "Convex function arguments."
          },
          "format": {
            "const": "json",
            "type": "string",
            "description": "Request JSON result format."
          },
          "deployment_url": {
            "type": "string",
            "minLength": 1,
            "description": "The hosted *.convex.cloud deployment URL or deployment name prefix for the action."
          }
        },
        "additionalProperties": false,
        "required": [
          "path"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "result": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "success",
                  "error"
                ],
                "description": "The function execution status."
              },
              "value": {
                "description": "The returned function value."
              },
              "logLines": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Log lines produced by the function."
              },
              "errorMessage": {
                "type": "string",
                "description": "The function error message."
              },
              "errorData": {
                "description": "Structured function error data."
              }
            },
            "additionalProperties": false,
            "required": [
              "status"
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "result"
        ]
      }
    },
    {
      "id": "convex.run_function",
      "service": "convex",
      "name": "run_function",
      "description": "Execute an arbitrary Convex function through `/api/run/{functionIdentifier}`.",
      "requiredScopes": [
        "convex.http.run"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "functionIdentifier": {
            "type": "string",
            "minLength": 1,
            "description": "The slash or colon separated function identifier."
          },
          "args": {
            "type": "object",
            "additionalProperties": {
              "description": "One Convex argument value."
            },
            "description": "Convex function arguments."
          },
          "format": {
            "const": "json",
            "type": "string"
          },
          "deployment_url": {
            "type": "string",
            "minLength": 1,
            "description": "The hosted *.convex.cloud deployment URL or deployment name prefix."
          }
        },
        "additionalProperties": false,
        "required": [
          "functionIdentifier"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "result": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "success",
                  "error"
                ],
                "description": "The function execution status."
              },
              "value": {
                "description": "The returned function value."
              },
              "logLines": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Log lines produced by the function."
              },
              "errorMessage": {
                "type": "string",
                "description": "The function error message."
              },
              "errorData": {
                "description": "Structured function error data."
              }
            },
            "additionalProperties": false,
            "required": [
              "status"
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "result"
        ]
      }
    },
    {
      "id": "convex.run_mutation",
      "service": "convex",
      "name": "run_mutation",
      "description": "Execute a Convex mutation through the deployment HTTP API.",
      "requiredScopes": [
        "convex.http.mutation"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "description": "The Convex function path."
          },
          "args": {
            "type": "object",
            "additionalProperties": {
              "description": "One Convex argument value."
            },
            "description": "Convex function arguments."
          },
          "format": {
            "const": "json",
            "type": "string",
            "description": "Request JSON result format."
          },
          "deployment_url": {
            "type": "string",
            "minLength": 1,
            "description": "The hosted *.convex.cloud deployment URL or deployment name prefix for the mutation."
          }
        },
        "additionalProperties": false,
        "required": [
          "path"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "result": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "success",
                  "error"
                ],
                "description": "The function execution status."
              },
              "value": {
                "description": "The returned function value."
              },
              "logLines": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Log lines produced by the function."
              },
              "errorMessage": {
                "type": "string",
                "description": "The function error message."
              },
              "errorData": {
                "description": "Structured function error data."
              }
            },
            "additionalProperties": false,
            "required": [
              "status"
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "result"
        ]
      }
    },
    {
      "id": "convex.run_query",
      "service": "convex",
      "name": "run_query",
      "description": "Execute a Convex query through the deployment HTTP API.",
      "requiredScopes": [
        "convex.http.query"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "description": "The Convex function path."
          },
          "args": {
            "type": "object",
            "additionalProperties": {
              "description": "One Convex argument value."
            },
            "description": "Convex function arguments."
          },
          "format": {
            "const": "json",
            "type": "string",
            "description": "Request JSON result format."
          },
          "deployment_url": {
            "type": "string",
            "minLength": 1,
            "description": "The hosted *.convex.cloud deployment URL or deployment name prefix for the query."
          }
        },
        "additionalProperties": false,
        "required": [
          "path"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "result": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "success",
                  "error"
                ],
                "description": "The function execution status."
              },
              "value": {
                "description": "The returned function value."
              },
              "logLines": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Log lines produced by the function."
              },
              "errorMessage": {
                "type": "string",
                "description": "The function error message."
              },
              "errorData": {
                "description": "Structured function error data."
              }
            },
            "additionalProperties": false,
            "required": [
              "status"
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "result"
        ]
      }
    },
    {
      "id": "convex.update_deployment",
      "service": "convex",
      "name": "update_deployment",
      "description": "Update mutable Convex deployment properties.",
      "requiredScopes": [
        "convex.deployments.write"
      ],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "deployment_name": {
            "type": "string",
            "minLength": 1,
            "description": "The deployment name."
          },
          "reference": {
            "anyOf": [
              {
                "type": "string",
                "description": "The deployment reference."
              },
              {
                "type": "null"
              }
            ]
          },
          "dashboard_edit_confirmation": {
            "anyOf": [
              {
                "type": "boolean",
                "description": "Whether dashboard edits are confirmed."
              },
              {
                "type": "null"
              }
            ]
          },
          "expiresAt": {
            "anyOf": [
              {
                "type": "integer",
                "description": "Optional expiration timestamp."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "deployment_name"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether the update request succeeded."
          }
        },
        "additionalProperties": false,
        "required": [
          "success"
        ]
      }
    }
  ]
}
