Open a production
open_productionOpen a production: one piece of work with one budget the user approves up front. Call it first without max_credits to get a confirmation; nothing is charged or set aside. After the user agrees to the budget, call it again with the same arguments plus max_credits (equal to budget_credits) and the confirmation. Then pass production_id to paid tools: they run without asking again while the budget lasts. A production ends after 24 hours without activity or 7 days.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "open_production"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional. A short name for this piece of work (up to 120 characters). | |
| project | No | Optional. Your own project label (up to 128 characters). | |
| max_credits | No | Set equal to budget_credits after the user agreed to the first call's confirmation. | |
| confirmation | No | The confirmation from the first call. Only set it after the user agreed. | |
| budget_credits | No | The most credits this production may spend in total. |