Validate and quote a task without submitting it
prepare_generationValidate and normalize model inputs before creating a paid generation task; returns normalized settings and the maximum USD reservation required.
Instructions
Check actual model inputs and return normalized settings and the current maximum USD reservation. This tool does not upload files, create tasks or reserve funds. Pass the returned expectedRevision and an approved cap to create_task.
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": {
"modelId": "<modelId>",
"inputs": "<inputs>"
},
"name": "prepare_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| modelId | Yes | ||
| maxCostUsd | No |