clear_history
Clear an SSH session's in-memory terminal history and advance its cursor to the new end. Use it to reset scrollback and keep subsequent reads aligned to fresh output.
Instructions
Clear one SSH session's in-memory terminal history and move that session's MCP cursor to the new end.
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": "clear_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Target sessionId from list_sessions. Required by the bridge when multiple sessions exist. |