run_eval
Run a set of evaluation cases to test Dify app performance. Use offline mock mode by default, or switch to live mode with DIFY_BASE_URL and DIFY_API_KEY environment variables.
Instructions
跑一批评测用例。mock=True(默认)离线运行,不需要 Dify 实例;live 模式用 DIFY_BASE_URL/DIFY_API_KEY 环境变量
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"eval_set": "<eval_set>"
},
"name": "run_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mock | No | ||
| tags | No | ||
| eval_set | Yes | ||
| html_out | No | ||
| json_out | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||