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.

create_window

Start a pane’s configured process; accepts no command payload. Create a window in a tmux session and return its ids.

All C# tools · JSON · Source

Arguments

name optional · string | null
The window name. Omit and tmux names it after the program it runs.

Default: null.

session optional · string | null
A session id or name. Omit for the first session.

Default: null.

startDirectory optional · string | null
The literal starting directory. Omit for the MCP server's own working directory.

Default: null.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"name": {
"default": null,
"description": "The window name. Omit and tmux names it after the program it runs.",
"type": [
"string",
"null"
]
},
"session": {
"default": null,
"description": "A session id or name. Omit for the first session.",
"type": [
"string",
"null"
]
},
"startDirectory": {
"default": null,
"description": "The literal starting directory. Omit for the MCP server's own working directory.",
"type": [
"string",
"null"
]
}
},
"type": "object"
}
Output schema
{
"properties": {
"changed": {
"type": "string"
},
"paneId": {
"default": null,
"type": [
"string",
"null"
]
},
"sessionId": {
"default": null,
"type": [
"string",
"null"
]
},
"windowId": {
"default": null,
"type": [
"string",
"null"
]
}
},
"required": [
"changed"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Create window"
}
Esc

Type to search.