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

diagnose_failing_pane

diagnose_failing_pane( pane_id, )
prompt

Gather pane context and propose a root-cause hypothesis.

Uses snapshot_pane (content + cursor + mode + scroll state in one call) instead of capture_pane + get_pane_info so the agent sees everything in a single protocol call. When the diagnosis needs another read after waiting or observing, the rendered recipe points agents at capture_since instead of a repeated full capture.

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

Arguments

  • pane_id

    The pane to diagnose.

    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": "The pane to diagnose.\n\nProvide a value matching the following JSON schema: {\"type\":\"string\"}. Encode non-string values as JSON.",
"name": "pane_id",
"required": true
}
],
"description": "Gather pane context and propose a root-cause hypothesis.\n\nUses ``snapshot_pane`` (content + cursor + mode + scroll state\nin one call) instead of ``capture_pane`` + ``get_pane_info`` so\nthe agent sees everything in a single protocol call. When the\ndiagnosis needs another read after waiting or observing, the\nrendered recipe points agents at ``capture_since`` instead of a\nrepeated full capture.",
"name": "diagnose_failing_pane"
}
Esc
Search in

Type to search.

Reference previewOpen reference