approve_validation
Approve a previewed job to initiate full validation, ensuring the approved cost matches the estimated cost from the preview response to prevent accidental billing.
Instructions
Approve a preview and start full validation processing.
job_id: the session_id value — "job_id" and "session_id" are the same string.
approved_cost_usd MUST be provided and must match the estimated cost from the preview_complete response. This prevents accidental billing without first reviewing preview results and the cost estimate.
Workflow:
Call wait_for_job to reach preview_complete — read the inline preview_table (3-row sample) and cost_estimate.estimated_total_cost_usd from the response
Call approve_validation(job_id=<session_id>, approved_cost_usd=)
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": {
"job_id": "<job_id>"
},
"name": "approve_validation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Session ID / job ID in preview_complete state to approve for full validation. | |
| approved_cost_usd | No | The estimated cost from the preview_complete response — must match exactly to confirm you reviewed the cost before billing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |