Diagnose a Berrys agent run
playground_run_diagnoseOne report for a run: verdict (succeeded, failed, waiting_approval, running, cancelled), the failed step, the last good step, failed media jobs with errors, and the suggested next action. Read-only.
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": {
"projectId": "<projectId>",
"runId": "<runId>"
},
"name": "playground_run_diagnose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Run ID returned by preparation or execution for this project. | |
| projectId | Yes | ID of the Playground project chosen for this task; obtain it from project creation, an explicit project link or current context. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| runId | Yes | ||
| status | Yes | ||
| missing | Yes | ||
| verdict | Yes | ||
| canvasUrl | Yes | ||
| failedStep | Yes | ||
| agentCredits | Yes | ||
| lastGoodStep | Yes | ||
| mediaCredits | Yes | ||
| spentCredits | Yes | ||
| conversationId | Yes | ||
| deliveryVerified | Yes | ||
| failedDispatches | Yes |