MCPconceptPrompts

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

prompt MCP

build_dev_workspace

build_dev_workspace( session_name, log_command?, )
prompt

Create a three-pane session: editor on top, shell bottom-left, logs bottom-right.

MCP request method
prompts/get Send build_dev_workspace as the prompt name, with the arguments below.

Arguments

  • session_name

    name for the new session

    Binding
    Prompt argument
  • log_command?

    command for the logs pane; defaults to watch -n 1 date

    Binding
    Prompt argument

Result

Returns the prompt’s messages. The client supplies the advertised arguments as strings.

Protocol data

Use the complete advertised contract for validation and client integration.

Registration
{
"_meta": {
"com.git-pull.libtmux-mcp/prompt": {
"arguments": [
{
"description": "name for the new session",
"name": "session_name",
"required": true
},
{
"description": "command for the logs pane; defaults to watch -n 1 date",
"name": "log_command",
"required": false
}
],
"description": "Create a three-pane session: editor on top, shell bottom-left, logs bottom-right.",
"name": "build_dev_workspace",
"requiresTools": [
"create_session",
"list_panes",
"split_window",
"send_keys"
],
"title": "Build a development workspace"
}
},
"arguments": [
{
"description": "name for the new session",
"name": "session_name",
"required": true
},
{
"description": "command for the logs pane; defaults to watch -n 1 date",
"name": "log_command"
}
],
"description": "Create a three-pane session: editor on top, shell bottom-left, logs bottom-right.",
"name": "build_dev_workspace",
"title": "Build a development workspace"
}
Esc
Search in

Type to search.

Reference previewOpen reference