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