hookmark_frontmost
Create Hookmark bookmarks for active macOS app content. Specify an app to generate hook:// URLs linking documents, emails, notes, or tasks for bidirectional connections.
Instructions
Get the hook:// URL for the active document or window in the frontmost macOS application. Brings the specified application to the foreground and creates a Hookmark bookmark for whatever is currently active in that app (document, email, note, task, etc.). Returns the hook:// URL that can be used with hookmark_connect to link it to other items. Specify the app name without the '.app' suffix, e.g. 'Finder', 'Mail', 'Obsidian', 'Bear'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app": "<app>"
},
"name": "hookmark_frontmost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | Application name without '.app' suffix (e.g. 'Finder', 'Mail', 'Obsidian', 'Bear', 'Xcode') | |
| markdown | No | When true, return the result as a Markdown link instead of a bare hook:// URL |