safari_read_tab

Reads the rendered text content of a Safari tab. Identify the tab either by url_match (substring match against URL; first hit wins) or by window_index + tab_index (from safari_list_tabs). Text is capped at max_bytes (default 100 KB). Pass include_html: true to also get the raw HTML source. Pass i...

SERVERLocal SOURCElocal-mcp
Low RISK CLASS
Category Read
Parameters 60 required
Recommended Allowedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/com-local-mcp-local-mcp/safari-read-tab.md

What safari_read_tab does on Local

AI agents call safari_read_tab to retrieve information from Local without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
max_bytes integer Max bytes of text (and html) to return (default 102400)
tab_index integer Tab index from safari_list_tabs (default current tab of that window)
url_match string Substring to match against the tab URL. Takes precedence over indices.
include_html boolean Also return the HTML source (default false)
window_index integer Window index from safari_list_tabs (default 0)
include_links boolean Extract all links with href + visible text (default false). Great for navigating SPAs.

Parameters from the server's own tool schema.

Why safari_read_tab is rated Low

This tool only retrieves and reads data from a browser tab. It performs passive information gathering (text content, HTML source, links) without modifying state, executing code, or triggering side effects. The `include_html` and `include_links` parameters are read-only operations. Risk is low because misuse would only expose whatever content is already visible on the user's screen.

From the tool's definition Tool description states it 'Reads the rendered text content of a Safari tab' and 'extract all links' — purely retrieval operations with no modification or execution capabilities.

Questions about safari_read_tab

What does the safari_read_tab tool do? +

Reads the rendered text content of a Safari tab. Identify the tab either by url_match (substring match against URL; first hit wins) or by window_index + tab_index (from safari_list_tabs). Text is capped at max_bytes (default 100 KB). Pass include_html: true to also get the raw HTML source. Pass include_links: true to extract all links with their href and text (useful for following navigation in SPAs like dashboards). It is categorised as a Read tool in the Local MCP Server, which means it retrieves data without modifying state.

What parameters does safari_read_tab accept? +

safari_read_tab accepts 6 parameters: max_bytes, tab_index, url_match, include_html, window_index, include_links. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on safari_read_tab? +

Register the Local MCP server in PolicyLayer and add a rule for safari_read_tab: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Local. Nothing to install.

What risk level is safari_read_tab? +

safari_read_tab is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit safari_read_tab? +

Yes. Add a rate_limit block to the safari_read_tab rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block safari_read_tab completely? +

Set action: deny in the PolicyLayer policy for safari_read_tab. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides safari_read_tab? +

safari_read_tab is provided by the Local MCP server (local-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Local, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Local's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.