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.

find_pane_by_position

Inspect tmux metadata; accepts no client-supplied executable input. Finds a pane at one of a window’s four corners.

All Go tools · JSON · Source

Arguments

position required · string
top-left, top-right, bottom-left, or bottom-right
window_id required · string
the window id, such as @1

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"position": {
"description": "top-left, top-right, bottom-left, or bottom-right",
"enum": [
"top-left",
"top-right",
"bottom-left",
"bottom-right"
],
"type": "string"
},
"window_id": {
"description": "the window id, such as @1",
"type": "string"
}
},
"required": [
"window_id",
"position"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"found": {
"type": "boolean"
},
"geometry": {
"additionalProperties": false,
"properties": {
"height": {
"type": "integer"
},
"left": {
"type": "integer"
},
"top": {
"type": "integer"
},
"width": {
"type": "integer"
}
},
"required": [
"left",
"top",
"width",
"height"
],
"type": "object"
},
"paneId": {
"type": "string"
}
},
"required": [
"paneId",
"found",
"geometry"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"openWorldHint": true,
"title": "Find pane by position"
}
Esc

Type to search.