veryfront__create_eval
Requires project.evals.write.
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 identifier or slug that scopes the tool call. Minimum length: 1. |
name | string | Yes | Human-readable eval name; the eval id is derived from it. Minimum length: 1. |
description | string | No | Optional short description of what the eval checks. |
target | string | Yes | Identifier of the agent the eval runs against. Minimum length: 1. |
dataset | object | Yes | The examples the eval runs: inline examples or a dataset file. |
metrics | object[] | No | The metrics that score each example. Defaults to none. Default: []. |
repetitions | integer | No | How often each example runs. Defaults to 1. Default: 1. |
tags | string[] | No | Labels for the eval. Defaults to none. Default: []. |
metadata | object | No | Free-form JSON object stored with the eval. Defaults to empty. Default: {}. |
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__create_eval",7 "arguments": {8 "name": "example",9 "target": "example",10 "dataset": {11 "kind": "inline",12 "editable": false,13 "dynamic": false14 }15 }16 }17}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 "name": {10 "type": "string",11 "minLength": 1,12 "description": "Human-readable eval name; the eval id is derived from it."13 },14 "description": {15 "type": "string",16 "description": "Optional short description of what the eval checks."17 },18 "target": {19 "type": "string",20 "minLength": 1,21 "description": "Identifier of the agent the eval runs against."22 },23 "dataset": {24 "type": "object",25 "properties": {26 "kind": {27 "type": "string",28 "enum": [29 "inline",30 "json",31 "jsonl",32 "dynamic"33 ],34 "description": "Provide the kind."35 },36 "path": {37 "type": "string",38 "description": "Provide the path."39 },40 "examples": {41 "type": "array",42 "items": {43 "type": "object",44 "properties": {45 "id": {46 "type": "string",47 "minLength": 1,48 "description": "Unique identifier for the target record."49 },50 "input": {51 "description": "Provide the input."52 },53 "reference": {54 "description": "Provide the reference."55 },56 "metadata": {57 "type": "object",58 "additionalProperties": {59 "description": "Additional structured values supplied to the tool."60 },61 "description": "Additional structured metadata for the request."62 }63 },64 "required": [65 "id"66 ],67 "additionalProperties": false,68 "description": "One example item supplied to the tool."69 },70 "description": "Provide one or more example values."71 },72 "editable": {73 "type": "boolean",74 "description": "Provide the editable."75 },76 "dynamic": {77 "type": "boolean",78 "description": "Provide the dynamic."79 }80 },81 "required": [82 "kind",83 "editable",84 "dynamic"85 ],86 "additionalProperties": false,87 "description": "The examples the eval runs: inline examples or a dataset file."88 },89 "metrics": {90 "type": "array",91 "items": {92 "type": "object",93 "properties": {94 "name": {95 "type": "string",96 "minLength": 1,97 "description": "Human-readable name for the target record."98 },99 "family": {100 "type": "string",101 "enum": [102 "answer",103 "agent",104 "ops",105 "judge",106 "knowledge",107 "check"108 ],109 "description": "Provide the family."110 },111 "severity": {112 "type": "string",113 "enum": [114 "gate",115 "soft",116 "budget"117 ],118 "description": "Provide the severity."119 },120 "threshold": {121 "type": "object",122 "properties": {123 "min": {124 "type": "number",125 "description": "Provide the min."126 },127 "max": {128 "type": "number",129 "description": "Provide the max."130 }131 },132 "additionalProperties": false,133 "description": "Structured threshold details used by the tool."134 },135 "config": {136 "type": "object",137 "additionalProperties": {138 "description": "Additional structured values supplied to the tool."139 },140 "description": "Structured config details used by the tool."141 },142 "editable": {143 "type": "boolean",144 "description": "Provide the editable."145 },146 "dynamic": {147 "type": "boolean",148 "description": "Provide the dynamic."149 }150 },151 "required": [152 "name",153 "family",154 "severity",155 "editable",156 "dynamic"157 ],158 "additionalProperties": false,159 "description": "One metric item supplied to the tool."160 },161 "default": [],162 "description": "The metrics that score each example. Defaults to none."163 },164 "repetitions": {165 "type": "integer",166 "exclusiveMinimum": 0,167 "default": 1,168 "description": "How often each example runs. Defaults to 1."169 },170 "tags": {171 "type": "array",172 "items": {173 "type": "string",174 "description": "One tag item supplied to the tool."175 },176 "default": [],177 "description": "Labels for the eval. Defaults to none."178 },179 "metadata": {180 "type": "object",181 "additionalProperties": {182 "description": "Additional structured values supplied to the tool."183 },184 "default": {},185 "description": "Free-form JSON object stored with the eval. Defaults to empty."186 },187 "source_target_kind": {188 "type": "string",189 "description": "Source to use: project or preview_branch. Defaults to project."190 },191 "target_branch_id": {192 "anyOf": [193 {194 "type": "string",195 "format": "uuid",196 "description": "Provide the target branch id."197 },198 {199 "type": "null",200 "description": "Provide the target branch id."201 }202 ],203 "description": "Preview branch to use when the target kind is preview_branch."204 }205 },206 "required": [207 "name",208 "target",209 "dataset"210 ],211 "additionalProperties": false,212 "$schema": "http://json-schema.org/draft-07/schema#",213 "description": "Arguments for the create_eval tool."214}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}