estimate_cost
Estimate the number of Claude CLI calls required to ingest a code repository. Reports file counts per language and total subprocess calls to help assess scope before running the full ingestion.
Instructions
Estimate how many Claude CLI calls ingesting a repo will require.
Use this BEFORE running ingest_repo on a large codebase to understand the scope. Reports file counts by language and the total number of 'claude --print' subprocess calls that will be made.
Does not call Claude or modify anything — safe to run at any time.
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": {
"repo_path": "<repo_path>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |