close_safari_tab
Close a Safari tab by specifying its index (1-based) or use -1 to close the current tab.
Instructions
Close a Safari tab. Use -1 for current tab or specify tab index (1-based)
Args: tab_index: Tab index to close (-1 for current tab, or 1-based index)
Returns: Success or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |