list_recent_commands
Retrieve recent shell commands with status, duration, and exit codes; search or filter by success or failure to diagnose terminal issues.
Instructions
List recent commands from history with status, duration, and exit codes
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": "list_recent_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of commands to return (1-50, default: 10) | |
| search | No | Search in command text | |
| status | No | Filter by status: 'all', 'success', 'failed' (default: all) |