set_breakpoint_on_text

Sets a breakpoint on specific code (function name, statement, etc.) by searching loaded scripts and automatically determining a position. Optionally pass condition to reduce noisy hits after the code location is already precise; prefer text/urlFilter/occurrence for locating the breakpoint, and us...

Server JS Reverse MCP zhizhuodemao/js-reverse-mcp
Category Execute
Risk class High
Parameters 00 required

What set_breakpoint_on_text does on JS Reverse MCP

AI agents invoke set_breakpoint_on_text to trigger actions in JS Reverse MCP. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.

Why set_breakpoint_on_text needs a policy

Setting breakpoints is a debugging/execution control action that modifies the runtime behavior of JavaScript execution in a browser. It triggers pauses in code execution when conditions are met, affecting the execution flow of web page scripts. This is an Execute-category action as it controls/modifies runtime execution behavior rather than simply reading data or writing persistent data.

From the tool's definition Sets a breakpoint on specific code (function name, statement, etc.) by searching loaded scripts and automatically determining a position... Breakpoints persist across page navigations

Questions about set_breakpoint_on_text

What does the set_breakpoint_on_text tool do? +

Sets a breakpoint on specific code (function name, statement, etc.) by searching loaded scripts and automatically determining a position. Optionally pass condition to reduce noisy hits after the code location is already precise; prefer text/urlFilter/occurrence for locating the breakpoint, and use condition only as a simple synchronous guard. Works with both normal and minified URL-backed scripts. Inline/eval scripts without a URL can be found but cannot receive this persistent URL breakpoint. Breakpoints persist across page navigations when the URL can be matched again. It is categorised as a Execute tool in the JS Reverse MCP MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

How do I enforce a policy on set_breakpoint_on_text? +

Register the JS Reverse MCP server in PolicyLayer and add a rule for set_breakpoint_on_text: 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 JS Reverse MCP. Nothing to install.

What risk level is set_breakpoint_on_text? +

set_breakpoint_on_text is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit set_breakpoint_on_text? +

Yes. Add a rate_limit block to the set_breakpoint_on_text 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 set_breakpoint_on_text completely? +

Set action: deny in the PolicyLayer policy for set_breakpoint_on_text. 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 set_breakpoint_on_text? +

set_breakpoint_on_text is provided by the JS Reverse MCP server (zhizhuodemao/js-reverse-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// GET IN TOUCH

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

Message sent.

We'll get back to you soon.