suggest_next
Generate ranked guesses for shell commands likely to run next, based on frequency and recency in recent history. Use it to surface habit-based suggestions, not safety advice.
Instructions
Commands that are statistically likely next here, ranked by frecency (frequency plus recency) over recent history. A guess about habit, not a recommendation: it says nothing about whether running one now is correct or safe.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "suggest_next"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows in this page (default: 10) | |
| detail | No | Add directory, duration, executor and session to each row (default: false) | |
| offset | No | Rows to skip; pass the response's next_offset to page forward | |
| directory | No | Directory context (defaults to all) |