MCPAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

set_history_limit

Sets a bounded integer scrollback limit for future panes in a session. Change tmux state; no client-supplied executable input.

All Java tools · JSON · Source

Arguments

lines required · integer
The nonnegative retained line count.
session_id required · string
The session ID, such as $1.

Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

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"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Set history limit"
}
Esc

Type to search.