Update project label

veryfront__update_project_label

Requires project.settings.manage.

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 UUID or slug. Minimum length: 1.
label_idstringYesActive label to soft-delete in the selected project. A missing or already deleted label returns not found. Format: uuid.
keystringYesRequired key, trimmed and lowercased. Maximum 64 characters. Normalized duplicate labels are rejected. Minimum length: 1. Maximum length: 64.
valuestring or nullNoLabel value. Trimmed; a supplied blank value is invalid. Omit or use null for a key-only label, including on replacement.
colorstring or nullNoDisplay color. Omit, use null or supply a blank string to clear it, including on replacement.

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__update_project_label",
    "arguments": {
      "label_id": "00000000-0000-4000-8000-000000000000",
      "key": "example"
    }
  }
}

Result

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

FieldTypeRequiredDescription and constraints
idstringYesLabel UUID. Format: uuid.
resource_kindstringYesResource to which the label is assigned. Values: "project", "project_agent".
project_idstringYesProject UUID containing the labeled resource. Format: uuid.
source_target_kindstring or nullNoThe source target kind returned by the tool.
source_agent_idstring or nullNoThe source agent id returned by the tool.
namespacestringYesNormalized label namespace. API-created labels use user.
keystringYesNormalized lowercase label key.
valuestring or nullYesTrimmed label value, or null for a key-only label.
colorstring or nullNoTrimmed display color, or null when unset.
created_atstringYesCreation time as an ISO 8601 timestamp.
updated_atstringYesLast update time as an ISO 8601 timestamp.

Full schemas

json
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "minLength": 1,
      "description": "Project UUID or slug."
    },
    "label_id": {
      "type": "string",
      "format": "uuid",
      "description": "Active label to soft-delete in the selected project. A missing or already deleted label returns not found."
    },
    "key": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Required key, trimmed and lowercased. Maximum 64 characters. Normalized duplicate labels are rejected."
    },
    "value": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128,
          "description": "Provide the value."
        },
        {
          "type": "null",
          "description": "Provide the value."
        }
      ],
      "description": "Label value. Trimmed; a supplied blank value is invalid. Omit or use null for a key-only label, including on replacement."
    },
    "color": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 32,
          "description": "Provide the color."
        },
        {
          "type": "null",
          "description": "Provide the color."
        }
      ],
      "description": "Display color. Omit, use null or supply a blank string to clear it, including on replacement."
    }
  },
  "required": [
    "label_id",
    "key"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Arguments for the update_project_label tool."
}
json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Label UUID."
    },
    "resource_kind": {
      "type": "string",
      "enum": [
        "project",
        "project_agent"
      ],
      "description": "Resource to which the label is assigned."
    },
    "project_id": {
      "type": "string",
      "format": "uuid",
      "description": "Project UUID containing the labeled resource."
    },
    "source_target_kind": {
      "type": [
        "string",
        "null"
      ],
      "description": "The source target kind returned by the tool."
    },
    "source_agent_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The source agent id returned by the tool."
    },
    "namespace": {
      "type": "string",
      "description": "Normalized label namespace. API-created labels use user."
    },
    "key": {
      "type": "string",
      "description": "Normalized lowercase label key."
    },
    "value": {
      "type": [
        "string",
        "null"
      ],
      "description": "Trimmed label value, or null for a key-only label."
    },
    "color": {
      "type": [
        "string",
        "null"
      ],
      "description": "Trimmed display color, or null when unset."
    },
    "created_at": {
      "type": "string",
      "description": "Creation time as an ISO 8601 timestamp."
    },
    "updated_at": {
      "type": "string",
      "description": "Last update time as an ISO 8601 timestamp."
    }
  },
  "required": [
    "id",
    "resource_kind",
    "project_id",
    "namespace",
    "key",
    "value",
    "created_at",
    "updated_at"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Structured result returned by the update_project_label tool."
}