system_get_frontmost_app
Get metadata for the frontmost macOS application to identify which app is active for automation, context, or script decisions.
Instructions
Read frontmost application metadata using NSWorkspace. [v1.0.0; permissions: none]
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": "system_get_frontmost_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| tool | Yes | tool name | |
| error | Yes | ||
| status | Yes | ||
| version | Yes | semantic version |