suggest_next
Predicts the next tool to call by analyzing historical usage patterns. Use it to streamline your workflow by suggesting the most likely next action, with optional second-order accuracy using previous tool context.
Instructions
Suggest the most useful next tool based on learned session patterns.
Analyzes historical usage events to predict what tool agents typically call next.
When prev_tool is provided, uses second-order Markov (prev→current→next) which is
significantly more accurate than first-order on repeated workflows.
Example: suggest_next(current_tool='focus', prev_tool='overview') returns
'hotspots (100%)' instead of the less certain 'hotspots (58%)' from first-order.
repo_path: absolute path to repository
current_tool: the tool you just called (e.g. 'focus', 'overview')
prev_tool: the tool called before current_tool (optional; enables second-order prediction)Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | ||
| current_tool | No | ||
| prev_tool | No | ||
| output_format | No | text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |