Estimate workflow cost
estimate_workflowCredits a workflow run would cost with these inputs, without running it. Validates the inputs against
the workflow's form. Media inputs take one asset id from upload_asset or an earlier job, a public https URL
or a data: URI. Also returns
available_credits, the organization's spendable balance.
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": {
"slug": "<slug>"
},
"name": "estimate_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| inputs | No | ||
| project | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||