get_command_history
Retrieve the list of previously executed commands along with their results. Optionally limit the number of records returned.
Instructions
Get the history of executed commands. Returns a list of previously executed commands with their results. / 获取命令执行历史记录。返回之前执行的命令及其结果列表。
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_command_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of history records to return. Default returns all records. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| history | Yes |