Close Safari Tab
close-safari-tabClose a Safari tab by providing its index. Optionally specify the window index to close a tab in a different window.
Instructions
Closes a Safari tab
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": "close-safari-tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabIndex | No | Tab index to close (0-based). If omitted, closes the current tab. | |
| windowIndex | No | Window index (0-based, default: 0 for front window) |