MCPAPI Reference

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.

show_hooks

Read configured tmux commands; accepts no client-supplied executable input. Returned values may contain executable configuration. Read configured hooks, optionally for one session.

All Swift tools · JSON · Source

Arguments

session optional · string
Caller-controlled session.

Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

Input schema
{
"additionalProperties": false,
"properties": {
"session": {
"description": "Caller-controlled session.",
"type": "string"
}
},
"required": [],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"hooks": {
"items": {
"additionalProperties": false,
"properties": {
"command": {
"type": "string"
},
"index": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"command",
"index",
"name"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"hooks"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Show hooks"
}
Esc

Type to search.