safari_get_selection
Retrieve the highlighted text from a Safari tab so an AI agent can read the user's current selection and act on it.
Instructions
Get the selected text from Safari.
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": "safari_get_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_index | No | ||
| window_index | No |