set_history_limit
-
Sets a bounded integer scrollback limit for future panes in a session. Change tmux state; no client-supplied executable input.
- MCP request method
tools/callSendset_history_limitas the tool name, with the arguments below.- Wraps
io.github.libtmux.Session.Session.setHistoryLimitThe library call this tool makes:libtmux-mcp/src/main/java/io/github/libtmux/mcp/Operations.java:298.
Arguments
-
The nonnegative retained line count.
-
The session ID, such as $1.
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Set history limit"
Capability
- Toolset
- Manage Change tmux structure or presentation.
- Process reach
none- tmux effects
change
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": {"lines": {"description": "The nonnegative retained line count.","type": "integer"},"session_id": {"description": "The session ID, such as $1.","type": "string"}},"required": ["session_id","lines"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"lines": {"type": "integer"},"session_id": {"type": "string"}},"required": ["session_id","lines"],"type": "object"}