veryfront__create_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
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project UUID or slug. Minimum length: 1. |
key | string | Yes | Required key, trimmed and lowercased. Maximum 64 characters. Normalized duplicate labels are rejected. Minimum length: 1. Maximum length: 64. |
value | string or null | No | Label value. Trimmed; a supplied blank value is invalid. Omit or use null for a key-only label, including on replacement. |
color | string or null | No | Display 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.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__create_project_label",7 "arguments": {8 "key": "example"9 }10 }11}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
id | string | Yes | Label UUID. Format: uuid. |
resource_kind | string | Yes | Resource to which the label is assigned. Values: "project", "project_agent". |
project_id | string | Yes | Project UUID containing the labeled resource. Format: uuid. |
source_target_kind | string or null | No | The source target kind returned by the tool. |
source_agent_id | string or null | No | The source agent id returned by the tool. |
namespace | string | Yes | Normalized label namespace. API-created labels use user. |
key | string | Yes | Normalized lowercase label key. |
value | string or null | Yes | Trimmed label value, or null for a key-only label. |
color | string or null | No | Trimmed display color, or null when unset. |
created_at | string | Yes | Creation time as an ISO 8601 timestamp. |
updated_at | string | Yes | Last update time as an ISO 8601 timestamp. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "minLength": 1,7 "description": "Project UUID or slug."8 },9 "key": {10 "type": "string",11 "minLength": 1,12 "maxLength": 64,13 "description": "Required key, trimmed and lowercased. Maximum 64 characters. Normalized duplicate labels are rejected."14 },15 "value": {16 "anyOf": [17 {18 "type": "string",19 "maxLength": 128,20 "description": "Provide the value."21 },22 {23 "type": "null",24 "description": "Provide the value."25 }26 ],27 "description": "Label value. Trimmed; a supplied blank value is invalid. Omit or use null for a key-only label, including on replacement."28 },29 "color": {30 "anyOf": [31 {32 "type": "string",33 "maxLength": 32,34 "description": "Provide the color."35 },36 {37 "type": "null",38 "description": "Provide the color."39 }40 ],41 "description": "Display color. Omit, use null or supply a blank string to clear it, including on replacement."42 }43 },44 "required": [45 "key"46 ],47 "additionalProperties": false,48 "$schema": "http://json-schema.org/draft-07/schema#",49 "description": "Arguments for the create_project_label tool."50}output-schema.json
1{2 "type": "object",3 "properties": {4 "id": {5 "type": "string",6 "format": "uuid",7 "description": "Label UUID."8 },9 "resource_kind": {10 "type": "string",11 "enum": [12 "project",13 "project_agent"14 ],15 "description": "Resource to which the label is assigned."16 },17 "project_id": {18 "type": "string",19 "format": "uuid",20 "description": "Project UUID containing the labeled resource."21 },22 "source_target_kind": {23 "type": [24 "string",25 "null"26 ],27 "description": "The source target kind returned by the tool."28 },29 "source_agent_id": {30 "type": [31 "string",32 "null"33 ],34 "description": "The source agent id returned by the tool."35 },36 "namespace": {37 "type": "string",38 "description": "Normalized label namespace. API-created labels use user."39 },40 "key": {41 "type": "string",42 "description": "Normalized lowercase label key."43 },44 "value": {45 "type": [46 "string",47 "null"48 ],49 "description": "Trimmed label value, or null for a key-only label."50 },51 "color": {52 "type": [53 "string",54 "null"55 ],56 "description": "Trimmed display color, or null when unset."57 },58 "created_at": {59 "type": "string",60 "description": "Creation time as an ISO 8601 timestamp."61 },62 "updated_at": {63 "type": "string",64 "description": "Last update time as an ISO 8601 timestamp."65 }66 },67 "required": [68 "id",69 "resource_kind",70 "project_id",71 "namespace",72 "key",73 "value",74 "created_at",75 "updated_at"76 ],77 "additionalProperties": false,78 "$schema": "http://json-schema.org/draft-07/schema#",79 "description": "Structured result returned by the create_project_label tool."80}