Skip to main content
Delete a structured project agent source file

Tool details

FieldValue
Namedelete_agent
GroupAgents

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project identifier or slug associated with the record."
    },
    "agent_id": {
      "type": "string",
      "minLength": 1,
      "description": "The agent 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",
    "agent_id"
  ],
  "additionalProperties": false,
  "description": "Structured delete agent 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 agent output schema for MCP tools.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}