query_command_history
Query past commands using pattern, REPL session, failure status, or time range. Returns matching entries sorted newest first.
Instructions
Search the command execution log.
Args:
pattern: SQL LIKE pattern against the command text (case-insensitive).
Use % as wildcard, e.g. '%ripgrep%' or 'git commit%'.
repl_id: Filter to commands run in a specific REPL.
only_failures: Return only non-zero exit codes.
only_timeouts: Return only commands that hit the timeout.
since: ISO timestamp, or relative like '1h', '30m', '2d'.
limit: Max rows to return (capped at 200).
Returns:
List of CommandLogEntry dicts, newest first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| since | No | ||
| pattern | No | ||
| repl_id | No | ||
| only_failures | No | ||
| only_timeouts | No |