MCPpre-alphaPrompts

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

In development Server behavior and tool contracts may change. Tool availability depends on the server configuration.

prompt MCP

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
  • 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

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
Search in

Type to search.

Reference previewOpen reference