clear_pane_scrollback
-
Delete tmux state; accepts no command payload. Discard the retained scrollback history for one pane.
- MCP request method
tools/callSendclear_pane_scrollbackas the tool name, with the arguments below.- Wraps
pane.Pane.clearHistoryThe library call this tool makes:packages/mcp/src/tools/target.ts:587.
Arguments
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalse
Capability
- Toolset
- Teardown Delete tmux objects or retained scrollback. Not reversible.
- Process reach
none- tmux effects
delete
Every TypeScript 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
{"$schema": "http://json-schema.org/draft-07/schema#","properties": {"paneId": {"description": "Stable pane id, e.g. %1.","pattern": "^%\\d+$","type": "string"}},"required": ["paneId"],"type": "object"}Output schema
{"$schema": "http://json-schema.org/draft-07/schema#","additionalProperties": false,"properties": {"cleared": {"description": "Stable pane id, e.g. %1.","pattern": "^%\\d+$","type": "string"}},"required": ["cleared"],"type": "object"}