estimate_cost
Estimate Anthropic API token costs for a development plan before execution, enabling cost-aware planning for LLM agent workflows.
Instructions
Estimate Anthropic API token costs for a development plan before execution
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": {
"size": "<size>",
"files": "<files>",
"complexity": "<complexity>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | ||
| files | Yes | ||
| steps | No | ||
| language | No | ||
| complexity | Yes | ||
| file_paths | No | ||
| project_type | No | ||
| review_cycles | No | ||
| avg_file_lines | No | ||
| parallel_groups | No |