estimate_from_context
Classify a free-text task, issue, or PR description into task type and complexity, then generate a reference-class time estimate with provenance signals so you can judge how far to trust it.
Instructions
Classify a free-text task description and delegate to reference-class estimation.
Classifies task_type and complexity from free text (issue body, PR/diff description, or task summary) using a LOCAL, deterministic keyword/signal heuristic — no LLM call (see src/lib/context-estimate.ts). Caller-supplied task_type/complexity hints always override the classification. Delegates the resolved inputs to the same reference-class-forecasting path used by reference_class_estimate, and returns classification provenance (classified_task_type, classified_complexity, confidence, signals) alongside the estimate so callers can judge how much to trust 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": {
"context": "<context>"
},
"name": "estimate_from_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | Free-text context describing the task to estimate — issue body, PR/diff description, or task summary. Will be used to classify task_type and complexity and delegate to reference_class_estimate / PERT correction once classification logic ships (Phase 5). | |
| team_id | No | Optional team identifier to scope historical data once classification logic ships. | |
| task_type | No | Optional pre-classified task type hint; used once classification logic ships. | |
| complexity | No | Optional pre-assessed complexity hint (1-5); used once classification logic ships. |