clear_pane_scrollback
-
Deletes retained scrollback from one pane. Delete tmux state; accepts no command payload.
- MCP request method
tools/callSendclear_pane_scrollbackas the tool name, with the arguments below.- Wraps
io.github.libtmux.Pane.Pane.clearHistoryThe library call this tool makes:libtmux-mcp/src/main/java/io/github/libtmux/mcp/Operations.java:422.
Arguments
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Clear pane scrollback"
Capability
- Toolset
- Teardown Delete tmux objects or retained scrollback. Not reversible.
- Process reach
none- tmux effects
delete
Every Java tool advertises the same annotations, so a host that approves by annotation cannot tell tools apart. The capability row is what tells them apart.
Protocol data
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"pane_id": {"description": "The pane to act on, such as %1. Every listing tool returns these.","type": "string"}},"required": ["pane_id"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"cleared": {"type": "boolean"},"pane_id": {"type": "string"}},"required": ["pane_id","cleared"],"type": "object"}