clear_scrollback
Clear rendered scrollback history in a terminal session, preserving the current screen. Useful for decluttering output without losing ongoing work.
Instructions
Clear rendered scrollback history while preserving current screen.
Requires an existing session created via create_session(session_id, cwd).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "clear_scrollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |