hook/list
Reads the session’s installed hook rows — one per installed handler per event, config-file handlers plus plugin-contributed hooks; a query, not a command.
Parameters
Section titled “Parameters”Type: HookListParams
hook/list params. Per-session because hook scope
follows the session’s workspace and plugin state.
| Field | Type | Stability | Presence | Description |
|---|---|---|---|---|
sessionId |
string |
required | The target session. |
Source
schema/msp/experimental/msp.schema.json#/methods/hook~2Flist
{ "description": "Reads the session's installed hook rows — one per installed handler per event, config-file handlers plus plugin-contributed hooks; a query, not a command.", "params": { "$ref": "#/$defs/HookListParams" }, "result": { "$ref": "#/$defs/HookListResult" }}