get_session_history
Retrieve recent command history for the current session, including exit codes and timestamps. Control the number of entries returned via the limit parameter (max 500).
Instructions
Return recent command history for the current session.
History entries include the command, tool name, exit code, timestamp, and duration. History is capped at 500 entries.
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": "get_session_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of entries to return (1–500). Default: 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||