martin_estimate
Estimate the cost, recommended route, and pre-work burn for a coding task before execution, using optional file scope and budget ceilings to avoid unplanned spend.
Instructions
Estimate the cost, recommended route, and Pre Work Burn for an objective without spending anything. Use before martin_run to understand what a task will cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | Which agent CLI would be used. Defaults to claude. | |
| budgetUsd | No | Budget ceiling for estimation. Defaults to 5. | |
| fileScope | No | Optional file paths to scope the estimate. | |
| objective | Yes | The coding task to estimate. | |
| workingDirectory | No | Optional workspace path for recording the estimate receipt against the same task root you plan to run. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | Yes | ||
| reason | Yes | ||
| budgetUsd | Yes | ||
| objective | Yes | ||
| compressed | No | ||
| confidence | Yes | ||
| blockedSteps | No | ||
| selectedMode | Yes | ||
| expectedCostUsd | Yes | ||
| compressionSummary | No | ||
| recommendedBudgetUsd | No | ||
| expectedPreworkBurnPct | Yes |