set_history_limit
-
Replace retained-history bounds with a non-negative integer. Change tmux state; no client-supplied executable input.
- MCP request method
tools/callSendset_history_limitas the tool name, with the arguments below.- Wraps
libtmux::Session::set_optionThe library call this tool makes:apps/mcp/src/tool_catalog.cpp:2535.
Arguments
-
Retained history line limit.
- minimum
0- maximum
10000000
-
Stable session ID or name.
- maxLength
512
No other arguments are accepted.
Result
Returns object
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Set tmux history limit"
Capability
- Toolset
- Manage Change tmux structure or presentation.
- Process reach
none- tmux effects
change
Every C++ 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": {"limit": {"description": "Retained history line limit.","maximum": 10000000,"minimum": 0,"type": "integer"},"session": {"description": "Stable session ID or name.","maxLength": 512,"type": "string"}},"required": ["session","limit"],"type": "object"}Output schema
{"additionalProperties": true,"type": "object"}