Skip to main content
Delete a structured project resource source file

Tool details

FieldValue
Namedelete_resource
GroupProject Primitives

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "resource_id": {
      "type": "string",
      "minLength": 1,
      "description": "The resource id associated with this record."
    },
    "source_target_kind": {
      "type": "string",
      "description": "The source target kind associated with this record."
    },
    "target_branch_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid",
          "description": "The target branch id associated with this record."
        },
        {
          "type": "null",
          "description": "Provide the target branch id."
        }
      ],
      "description": "The target branch id associated with this record."
    }
  },
  "required": [
    "project_reference",
    "resource_id"
  ],
  "additionalProperties": false,
  "description": "Structured delete resource input schema for MCP tools.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true,
      "description": "Whether the operation completed successfully."
    },
    "id": {
      "type": "string",
      "description": "Unique identifier for the record."
    }
  },
  "required": [
    "success",
    "id"
  ],
  "additionalProperties": false,
  "description": "Structured delete primitive output schema for MCP tools.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}