Update agent label

Update agent label. Requires project.agents.write.

Arguments

  • agent_idstring · min length 1required

    Provide the agent id.

  • source_target_kindstring | null

    Source target: project, main_branch, or preview_branch. Null and omission select project.

  • target_branch_idstring · uuid | null

    Provide the target branch id.

  • label_idstring · uuidrequired

    Provide the label id.

  • keystring · min length 1 · max length 64required

    Required label key. Trimmed and lowercased; starts with a letter or number and allows letters, numbers, dot, underscore and dash.

  • valuestring · max length 128 | null

    Label value. Trimmed; a supplied blank value is invalid. Omit or use null for a key-only label, including on replacement.

  • colorstring · max length 32 | null

    Display color. Omit, use null or supply a blank string to clear it, including on replacement.

  • project_referencestring · min length 1

    Project identifier or slug that scopes the tool call.

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__update_agent_label",    "arguments": {      "agent_id": "string",      "label_id": "00000000-0000-0000-0000-000000000000",      "key": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"id\":\"00000000-0000-0000-0000-000000000000\",\"resource_kind\":\"project\",\"project_id\":\"00000000-0000-0000-0000-000000000000\",\"source_target_kind\":\"string\",\"source_agent_id\":\"string\",\"namespace\":\"string\",\"key\":\"string\",\"value\":\"string\",\"color\":\"string\",\"created_at\":\"string\",\"updated_at\":\"string\"}"      }    ],    "structuredContent": {      "id": "00000000-0000-0000-0000-000000000000",      "resource_kind": "project",      "project_id": "00000000-0000-0000-0000-000000000000",      "source_target_kind": "string",      "source_agent_id": "string",      "namespace": "string",      "key": "string",      "value": "string",      "color": "string",      "created_at": "string",      "updated_at": "string"    }  }}

The tool ran; its output is result.structuredContent.