Estimate the cost of a script
estimate_costEstimate how many seconds of audio a script will produce with a given voice and what it will cost in USD at that voice's per-second price, the way Worder bills it.
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": {
"voiceId": "<voiceId>",
"script": "<script>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | The text to be spoken, direction tags included. | |
| voiceId | Yes |