Read the Hammerspoon console
hs_console_tailFetch the latest lines from the Hammerspoon console to debug Lua errors and print output during configuration changes.
Instructions
Return the most recent lines from the Hammerspoon console. This is where Lua errors and print output from the user configuration appear, so it is the first place to look when a config change misbehaves.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hs_console_tail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | How many trailing lines to return. |