Delete connection

veryfront__delete_connection

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
project_referencestringNoProject ID or slug. A missing or inaccessible project, including a denied scope-dependent project access check, returns not_found. Minimum length: 1.
namestringYesIntegration name, for example github or slack. Minimum length: 1.
connection_idstringYesConnection ID from get_connection_status. Format: uuid.
scopestringYesConnection owner. Project scope needs the editor role for project.integrations.connect; user scope needs viewer access to the project. API keys also need the integrations write scope. Verified user-session or API-key credentials are required; MCP OAuth grants and runtime credentials are refused. Values: "user", "project".
confirmbooleanYesMust be true to delete the connection.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__delete_connection",
    "arguments": {
      "name": "example",
      "connection_id": "00000000-0000-4000-8000-000000000000",
      "scope": "user",
      "confirm": true
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
okbooleanYesValue: true.

Full schemas

json
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "minLength": 1,
      "description": "Project ID or slug. A missing or inaccessible project, including a denied scope-dependent project access check, returns not_found."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "description": "Integration name, for example github or slack."
    },
    "connection_id": {
      "type": "string",
      "format": "uuid",
      "description": "Connection ID from get_connection_status."
    },
    "scope": {
      "type": "string",
      "enum": [
        "user",
        "project"
      ],
      "description": "Connection owner. Project scope needs the editor role for project.integrations.connect; user scope needs viewer access to the project. API keys also need the integrations write scope. Verified user-session or API-key credentials are required; MCP OAuth grants and runtime credentials are refused."
    },
    "confirm": {
      "type": "boolean",
      "description": "Must be true to delete the connection."
    }
  },
  "required": [
    "name",
    "connection_id",
    "scope",
    "confirm"
  ],
  "additionalProperties": false,
  "description": "Arguments for the delete_connection tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "ok"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the delete_connection tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}