diagnose_failing_pane
-
Gather pane context and propose a root-cause hypothesis.
Uses
snapshot_pane(content + cursor + mode + scroll state in one call) instead ofcapture_pane+get_pane_infoso the agent sees everything in a single protocol call. When the diagnosis needs another read after waiting or observing, the rendered recipe points agents atcapture_sinceinstead of a repeated full capture.- MCP request method
prompts/getSenddiagnose_failing_paneas 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
- Required
- Yes
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"}