veryfront__read_eval_source
Requires project.evals.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 |
|---|---|---|---|
project_reference | string | No | Project identifier or slug that scopes the tool call. Minimum length: 1. |
eval_id | string | Yes | Provide the eval id. Minimum length: 1. |
source_target_kind | string | No | Source to use: project or preview_branch. Defaults to project. |
target_branch_id | string or null | No | Preview branch to use when the 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
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__read_eval_source",7 "arguments": {8 "eval_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 |
|---|---|---|---|
id | string | Yes | Eval identifier. |
name | string | Yes | Human-readable eval name. |
description | string or null | Yes | Short description of what the eval checks, or null. |
target_kind | string | Yes | What the eval runs against: always agent. Value: "agent". |
target | string | Yes | Identifier of the agent the eval runs against. |
source_path | string | Yes | Source file path where the eval definition lives. |
export_name | string | Yes | Name of the export that declares the eval in its source file. |
dataset | object | Yes | The examples the eval runs. |
metrics | object[] | Yes | The metrics that score each example. |
repetitions | integer | Yes | How often each example runs. |
tags | string[] | Yes | Labels of the eval. |
metadata | object | Yes | Free-form JSON object stored with the eval. |
editable_fields | string[] | Yes | Fields that update_eval can change. |
dynamic_fields | string[] | Yes | Fields computed in source, which update_eval cannot change. |
capabilities | string[] | Yes | Eval capabilities the caller holds on the project. |
source | string | Yes | Source text of the eval file. |
edit_mode | string | Yes | Editing mode of the eval: structured for field updates, source_only for source edits. Values: "structured", "source_only". |
source_only_reasons | string[] | Yes | Reasons why the eval can only be edited as source; empty for a structured eval. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "minLength": 1,7 "description": "Project identifier or slug that scopes the tool call."8 },9 "eval_id": {10 "type": "string",11 "minLength": 1,12 "description": "Provide the eval id."13 },14 "source_target_kind": {15 "type": "string",16 "description": "Source to use: project or preview_branch. Defaults to project."17 },18 "target_branch_id": {19 "anyOf": [20 {21 "type": "string",22 "format": "uuid",23 "description": "Provide the target branch id."24 },25 {26 "type": "null",27 "description": "Provide the target branch id."28 }29 ],30 "description": "Preview branch to use when the target kind is preview_branch."31 }32 },33 "required": [34 "eval_id"35 ],36 "additionalProperties": false,37 "$schema": "http://json-schema.org/draft-07/schema#",38 "description": "Arguments for the read_eval_source tool."39}output-schema.json
1{2 "type": "object",3 "properties": {4 "id": {5 "type": "string",6 "description": "Eval identifier."7 },8 "name": {9 "type": "string",10 "description": "Human-readable eval name."11 },12 "description": {13 "type": [14 "string",15 "null"16 ],17 "description": "Short description of what the eval checks, or null."18 },19 "target_kind": {20 "type": "string",21 "const": "agent",22 "description": "What the eval runs against: always agent."23 },24 "target": {25 "type": "string",26 "description": "Identifier of the agent the eval runs against."27 },28 "source_path": {29 "type": "string",30 "description": "Source file path where the eval definition lives."31 },32 "export_name": {33 "type": "string",34 "description": "Name of the export that declares the eval in its source file."35 },36 "dataset": {37 "type": "object",38 "properties": {39 "kind": {40 "type": "string",41 "enum": [42 "inline",43 "json",44 "jsonl",45 "dynamic"46 ],47 "description": "The kind returned by the tool."48 },49 "path": {50 "type": "string",51 "description": "The path returned by the tool."52 },53 "examples": {54 "type": "array",55 "items": {56 "type": "object",57 "properties": {58 "id": {59 "type": "string",60 "minLength": 1,61 "description": "Unique identifier for the returned record."62 },63 "input": {64 "description": "The input returned by the tool."65 },66 "reference": {67 "description": "The reference returned by the tool."68 },69 "metadata": {70 "type": "object",71 "additionalProperties": {72 "description": "Additional structured values returned by the tool."73 },74 "description": "Additional structured metadata returned by the tool."75 }76 },77 "required": [78 "id"79 ],80 "additionalProperties": false,81 "description": "One example item returned by the tool."82 },83 "description": "List of examples returned by the tool."84 },85 "editable": {86 "type": "boolean",87 "description": "The editable returned by the tool."88 },89 "dynamic": {90 "type": "boolean",91 "description": "The dynamic returned by the tool."92 }93 },94 "required": [95 "kind",96 "editable",97 "dynamic"98 ],99 "additionalProperties": false,100 "description": "The examples the eval runs."101 },102 "metrics": {103 "type": "array",104 "items": {105 "type": "object",106 "properties": {107 "name": {108 "type": "string",109 "minLength": 1,110 "description": "Human-readable name for the returned record."111 },112 "family": {113 "type": "string",114 "enum": [115 "answer",116 "agent",117 "ops",118 "judge",119 "knowledge",120 "check"121 ],122 "description": "The family returned by the tool."123 },124 "severity": {125 "type": "string",126 "enum": [127 "gate",128 "soft",129 "budget"130 ],131 "description": "The severity returned by the tool."132 },133 "threshold": {134 "type": "object",135 "properties": {136 "min": {137 "type": "number",138 "description": "The min returned by the tool."139 },140 "max": {141 "type": "number",142 "description": "The max returned by the tool."143 }144 },145 "additionalProperties": false,146 "description": "Structured threshold details returned by the tool."147 },148 "config": {149 "type": "object",150 "additionalProperties": {151 "description": "Additional structured values returned by the tool."152 },153 "description": "Structured config details returned by the tool."154 },155 "editable": {156 "type": "boolean",157 "description": "The editable returned by the tool."158 },159 "dynamic": {160 "type": "boolean",161 "description": "The dynamic returned by the tool."162 }163 },164 "required": [165 "name",166 "family",167 "severity",168 "editable",169 "dynamic"170 ],171 "additionalProperties": false,172 "description": "One metric item returned by the tool."173 },174 "description": "The metrics that score each example."175 },176 "repetitions": {177 "type": "integer",178 "exclusiveMinimum": 0,179 "description": "How often each example runs."180 },181 "tags": {182 "type": "array",183 "items": {184 "type": "string",185 "description": "One tag item returned by the tool."186 },187 "description": "Labels of the eval."188 },189 "metadata": {190 "type": "object",191 "additionalProperties": {192 "description": "Additional structured values returned by the tool."193 },194 "description": "Free-form JSON object stored with the eval."195 },196 "editable_fields": {197 "type": "array",198 "items": {199 "type": "string",200 "enum": [201 "name",202 "description",203 "target",204 "dataset",205 "repetitions",206 "tags",207 "metadata",208 "metrics",209 "check"210 ],211 "description": "One editable field item returned by the tool."212 },213 "description": "Fields that update_eval can change."214 },215 "dynamic_fields": {216 "type": "array",217 "items": {218 "$ref": "#/properties/editable_fields/items",219 "description": "One dynamic field item returned by the tool."220 },221 "description": "Fields computed in source, which update_eval cannot change."222 },223 "capabilities": {224 "type": "array",225 "items": {226 "type": "string",227 "description": "One capability item returned by the tool."228 },229 "description": "Eval capabilities the caller holds on the project."230 },231 "source": {232 "type": "string",233 "description": "Source text of the eval file."234 },235 "edit_mode": {236 "type": "string",237 "enum": [238 "structured",239 "source_only"240 ],241 "description": "Editing mode of the eval: structured for field updates, source_only for source edits."242 },243 "source_only_reasons": {244 "type": "array",245 "items": {246 "type": "string",247 "description": "One source only reason item returned by the tool."248 },249 "description": "Reasons why the eval can only be edited as source; empty for a structured eval."250 }251 },252 "required": [253 "id",254 "name",255 "description",256 "target_kind",257 "target",258 "source_path",259 "export_name",260 "dataset",261 "metrics",262 "repetitions",263 "tags",264 "metadata",265 "editable_fields",266 "dynamic_fields",267 "capabilities",268 "source",269 "edit_mode",270 "source_only_reasons"271 ],272 "additionalProperties": false,273 "description": "Eval definition including editable source content.",274 "$schema": "http://json-schema.org/draft-07/schema#"275}