veryfront__list_agent_labels
Requires project.agents.read.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Read-only.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
agent_id | string | Yes | Provide the agent id. Minimum length: 1. |
source_target_kind | string or null | No | Source target: project, main_branch, or preview_branch. Null and omission select project. |
target_branch_id | string or null | No | Provide the target branch id. |
project_reference | string | No | Project identifier or slug that scopes the tool call. Minimum length: 1. |
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__list_agent_labels",7 "arguments": {8 "agent_id": "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 |
|---|---|---|---|
labels | object[] | Yes | List of labels returned by the tool. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "agent_id": {5 "type": "string",6 "minLength": 1,7 "description": "Provide the agent id."8 },9 "source_target_kind": {10 "anyOf": [11 {12 "type": "string",13 "enum": [14 "project",15 "main_branch",16 "preview_branch"17 ],18 "description": "Provide the source target kind."19 },20 {21 "type": "null",22 "description": "Provide the source target kind."23 }24 ],25 "description": "Source target: project, main_branch, or preview_branch. Null and omission select project."26 },27 "target_branch_id": {28 "anyOf": [29 {30 "type": "string",31 "format": "uuid",32 "description": "Provide the target branch id."33 },34 {35 "type": "null",36 "description": "Provide the target branch id."37 }38 ],39 "description": "Provide the target branch id."40 },41 "project_reference": {42 "type": "string",43 "minLength": 1,44 "description": "Project identifier or slug that scopes the tool call."45 }46 },47 "required": [48 "agent_id"49 ],50 "additionalProperties": false,51 "$schema": "http://json-schema.org/draft-07/schema#",52 "description": "Arguments for the list_agent_labels tool."53}output-schema.json
1{2 "type": "object",3 "properties": {4 "labels": {5 "type": "array",6 "items": {7 "type": "object",8 "properties": {9 "id": {10 "type": "string",11 "format": "uuid",12 "description": "Label UUID."13 },14 "resource_kind": {15 "type": "string",16 "enum": [17 "project",18 "project_agent"19 ],20 "description": "Resource to which the label is assigned."21 },22 "project_id": {23 "type": "string",24 "format": "uuid",25 "description": "Project UUID containing the labeled resource."26 },27 "source_target_kind": {28 "type": [29 "string",30 "null"31 ],32 "description": "The source target kind returned by the tool."33 },34 "source_agent_id": {35 "type": [36 "string",37 "null"38 ],39 "description": "The source agent id returned by the tool."40 },41 "namespace": {42 "type": "string",43 "description": "Normalized label namespace. API-created labels use user."44 },45 "key": {46 "type": "string",47 "description": "Normalized lowercase label key."48 },49 "value": {50 "type": [51 "string",52 "null"53 ],54 "description": "Trimmed label value, or null for a key-only label."55 },56 "color": {57 "type": [58 "string",59 "null"60 ],61 "description": "Trimmed display color, or null when unset."62 },63 "created_at": {64 "type": "string",65 "description": "Creation time as an ISO 8601 timestamp."66 },67 "updated_at": {68 "type": "string",69 "description": "Last update time as an ISO 8601 timestamp."70 }71 },72 "required": [73 "id",74 "resource_kind",75 "project_id",76 "namespace",77 "key",78 "value",79 "created_at",80 "updated_at"81 ],82 "additionalProperties": false,83 "description": "One label item returned by the tool."84 },85 "description": "List of labels returned by the tool."86 }87 },88 "required": [89 "labels"90 ],91 "additionalProperties": false,92 "$schema": "http://json-schema.org/draft-07/schema#",93 "description": "Structured result returned by the list_agent_labels tool."94}