List agents a runtime target can use

veryfront__list_channel_agents

Requires project.channels.read.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Read-only.

Arguments

FieldTypeRequiredDescription and constraints
project_referencestringNoProject ID or slug
runtime_target_kindstringNoRuntime target: main_branch, environment or preview_branch Values: "main_branch", "environment", "preview_branch".
target_environment_idstring or nullNoEnvironment ID; required when runtime_target_kind is environment
target_branch_idstring or nullNoBranch ID; required when runtime_target_kind is preview_branch

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
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__list_channel_agents",    "arguments": {}  }}

Result

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

FieldTypeRequiredDescription and constraints
dataobject[]YesAll agents available for the selected runtime target, sorted by name then ID. This complete list is not paginated.

Full schemas

input-schema.json
{  "type": "object",  "properties": {    "project_reference": {      "type": "string",      "description": "Project ID or slug"    },    "runtime_target_kind": {      "type": "string",      "enum": [        "main_branch",        "environment",        "preview_branch"      ],      "description": "Runtime target: main_branch, environment or preview_branch"    },    "target_environment_id": {      "anyOf": [        {          "type": "string",          "format": "uuid",          "description": "Provide the target environment id."        },        {          "type": "null",          "description": "Provide the target environment id."        }      ],      "description": "Environment ID; required when runtime_target_kind is environment"    },    "target_branch_id": {      "anyOf": [        {          "type": "string",          "format": "uuid",          "description": "Provide the target branch id."        },        {          "type": "null",          "description": "Provide the target branch id."        }      ],      "description": "Branch ID; required when runtime_target_kind is preview_branch"    }  },  "additionalProperties": false,  "$schema": "http://json-schema.org/draft-07/schema#",  "description": "Arguments for the list_channel_agents tool."}
output-schema.json
{  "type": "object",  "properties": {    "data": {      "type": "array",      "items": {        "type": "object",        "properties": {          "id": {            "type": "string",            "description": "Unique identifier for the returned record."          },          "name": {            "type": "string",            "description": "Human-readable name for the returned record."          },          "description": {            "type": [              "string",              "null"            ],            "description": "Human-readable description returned by the tool."          },          "model": {            "type": [              "string",              "null"            ],            "description": "AI model id associated with this tool result."          }        },        "required": [          "id",          "name",          "description",          "model"        ],        "additionalProperties": false,        "description": "One data item returned by the tool."      },      "description": "All agents available for the selected runtime target, sorted by name then ID. This complete list is not paginated."    }  },  "required": [    "data"  ],  "additionalProperties": false,  "$schema": "http://json-schema.org/draft-07/schema#",  "description": "Structured result returned by the list_channel_agents tool."}