show_hooks
-
Read configured tmux commands; accepts no client-supplied executable input. Returned values may contain executable configuration. Reads configured tmux hooks.
- MCP request method
tools/callSendshow_hooksas the tool name, with the arguments below.
Arguments
-
one hook name; omit to read all hooks in the scope
-
scope? ("" | "global" | "server" | "session" | "window" | "pane")global, server, session, window, or pane
-
the target required by session, window, and pane scopes
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Show hooks"
Capability
- Toolset
- Inspect Request tmux state and terminal output.
- Process reach
none- tmux effects
observe
Every Go tool advertises the same annotations, so a host that approves by annotation cannot tell tools apart. The capability row is what tells them apart.
Protocol data
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"name": {"description": "one hook name; omit to read all hooks in the scope","type": "string"},"scope": {"description": "global, server, session, window, or pane","enum": ["","global","server","session","window","pane"],"type": "string"},"target": {"description": "the target required by session, window, and pane scopes","type": "string"}},"type": "object"}Output schema
{"additionalProperties": false,"properties": {"hooks": {"items": {"additionalProperties": false,"properties": {"command": {"type": "string"},"name": {"type": "string"}},"required": ["name","command"],"type": "object"},"type": ["array"]},"scope": {"type": "string"}},"required": ["scope","hooks"],"type": "object"}