Evaluate an agent change and explore cost options
review_agent_workflowUse Evaluate and Optimise to compare synthetic examples or supplied labeled old/new outputs with the Forge accountability engine. For samples use payload={"sample_mode":"improved"}, or regression/changed_path. For a user-supplied comparison, translate only their supplied actions into this exact format: payload={"workflow":"User test","cases":[{"id":"case-1","expected":{"action":"hold"},"baseline":{"output":{"action":"allow"},"trajectory":[]},"candidate":{"output":{"action":"hold"},"trajectory":[]}}]}. Replace example actions with the user actions; never invent labels or steps. If the user has not said what should happen, ask them in plain English before scoring. The user never needs to write JSON or know these field names. Cases need id, expected.action, baseline.output.action, baseline.trajectory, candidate.output.action and candidate.trajectory. Use empty trajectory arrays when no action steps were supplied. Do not use plain strings for expected/baseline/candidate. Omit usage entirely unless token usage was supplied. If a format error occurs, repair the structure without changing the evidence and retry. A description alone returns a standard preparation checklist, not a measured evaluation. No code runs, external agent calls, changes or deployment. Synthetic prices are unsigned estimates, never approved savings.
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": {
"payload": "<payload>"
},
"name": "review_agent_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Evaluation input object. For a synthetic sample use sample_mode improved, regression or changed_path. For supplied tests, include workflow and cases; each case needs id, expected.action, baseline.output.action, baseline.trajectory, candidate.output.action and candidate.trajectory. Use [] for steps not supplied. Never invent expected labels or usage. A description without labeled cases yields preparation guidance, not a measured score. No external agent or code is executed. |