Delete agent label

veryfront__delete_agent_label

Requires project.agents.write; API keys also need delete scope.

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 identifier or slug that scopes the tool call. Minimum length: 1.
agent_idstringYesProvide the agent id. Minimum length: 1.
source_target_kindstring or nullNoSource target: project, main_branch, or preview_branch. Null and omission select project.
target_branch_idstring or nullNoProvide the target branch id.
label_idstringYesProvide the label id. Format: uuid.
confirmbooleanNoSend true to confirm the deletion. A call that sends false is refused and deletes nothing.

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_agent_label",
    "arguments": {
      "agent_id": "example",
      "label_id": "00000000-0000-4000-8000-000000000000",
      "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
okbooleanYesThe ok returned by the tool. Value: true.

Full schemas

json
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "minLength": 1,
      "description": "Project identifier or slug that scopes the tool call."
    },
    "agent_id": {
      "type": "string",
      "minLength": 1,
      "description": "Provide the agent id."
    },
    "source_target_kind": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "project",
            "main_branch",
            "preview_branch"
          ],
          "description": "Provide the source target kind."
        },
        {
          "type": "null",
          "description": "Provide the source target kind."
        }
      ],
      "description": "Source target: project, main_branch, or preview_branch. Null and omission select project."
    },
    "target_branch_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid",
          "description": "Provide the target branch id."
        },
        {
          "type": "null",
          "description": "Provide the target branch id."
        }
      ],
      "description": "Provide the target branch id."
    },
    "label_id": {
      "type": "string",
      "format": "uuid",
      "description": "Provide the label id."
    },
    "confirm": {
      "type": "boolean",
      "description": "Send true to confirm the deletion. A call that sends false is refused and deletes nothing."
    }
  },
  "required": [
    "agent_id",
    "label_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Arguments for the delete_agent_label tool."
}
json
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true,
      "description": "The ok returned by the tool."
    }
  },
  "required": [
    "ok"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Structured result returned by the delete_agent_label tool."
}