run_plan
Start a plan from plan_template as extraction jobs after confirming its credit price; returns the plan with started job ids, and if credits fail, nothing is charged and it can be retried after topping up.
Instructions
Start a plan made by plan_template as extraction jobs. Uses credits: the template's flat price, less when results are thin and nothing when they are empty. Confirm the price with the user first. A plan that has started cannot run again (a second call returns plan_not_approvable); if it fails for lack of credits nothing is charged and it can be run again after topping up. Returns the plan with the job ids started; follow-up steps start as results come in, so poll get_plan.
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": {
"plan_id": "<plan_id>"
},
"name": "run_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | Plan id returned as id by plan_template. |