apple_safari_navigate_tab
Navigate a specific Safari tab to an HTTP(S) URL by verifying its expected URL first, preventing changes to the wrong tab when tab indices shift.
Instructions
Navigate one Safari tab to an HTTP(S) URL. Requires its previously observed URL to avoid modifying a different tab after indices shift.
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": {
"windowId": "<windowId>",
"tabIndex": "<tabIndex>",
"expectedUrl": "<expectedUrl>",
"url": "<url>"
},
"name": "apple_safari_navigate_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| tabIndex | Yes | ||
| windowId | Yes | ||
| expectedUrl | Yes |