MCPPrompts

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.

promptMCPlatest

build_dev_workspace

build_dev_workspace( session_name, log_command?, )
prompt

Construct a simple 3-pane development session.

Produces editor (top), terminal (bottom-left), logs (bottom-right) layout — the most common shape for a working session.

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.

    Provide a value matching the following JSON schema: {“type”:“string”}. Encode non-string values as JSON.

    Binding
    Prompt argument
    Required
    Yes
  • log_command#

    Command to run in the logs pane. Defaults to an OS-neutral watch -n 1 date so the recipe does not assume Linux log paths. Pass e.g. "tail -f /var/log/syslog" on Linux or "log stream --level info" on macOS.

    Provide a value matching the following JSON schema: {“type”:“string”}. Encode non-string values as JSON.

    Binding
    Prompt argument
    Required
    No

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": {
"fastmcp": {
"tags": []
}
},
"arguments": [
{
"description": "Name for the new session.\n\nProvide a value matching the following JSON schema: {\"type\":\"string\"}. Encode non-string values as JSON.",
"name": "session_name",
"required": true
},
{
"description": "Command to run in the logs pane. Defaults to an OS-neutral\n``watch -n 1 date`` so the recipe does not assume Linux log\npaths. Pass e.g. ``\"tail -f /var/log/syslog\"`` on Linux or\n``\"log stream --level info\"`` on macOS.\n\nProvide a value matching the following JSON schema: {\"type\":\"string\"}. Encode non-string values as JSON.",
"name": "log_command",
"required": false
}
],
"description": "Construct a simple 3-pane development session.\n\nProduces editor (top), terminal (bottom-left), logs (bottom-right)\nlayout — the most common shape for a working session.",
"name": "build_dev_workspace"
}
Esc

Type to search.

Reference preview Open reference