apple_safari_get_tab
Read one Safari tab's title and URL by window ID and tab index, optionally including bounded page text; page JavaScript is not executed.
Instructions
Read-only: read one Safari tab title and URL, with optional bounded page text using Safari scripting. Does not execute page JavaScript.
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>"
},
"name": "apple_safari_get_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxChars | No | ||
| tabIndex | Yes | ||
| windowId | Yes | ||
| includeText | No |