Permanently removes a ScriptButton from a module by Id.
AI agents call delete_script_button to permanently remove resources in PyNet Bridge — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
This tool performs an irreversible delete operation on a ScriptButton resource identified by Id. Permanent removal of application components/configurations cannot be undone and represents a destructive action. While the blast radius is limited to UI button configuration (not system-critical), the permanent nature and lack of recovery mechanism elevates this above Write category to Destructive.
From the tool's definition Tool description states 'Permanently removes a ScriptButton' – the use of 'Permanently removes' indicates irreversible deletion of data/configuration.
Attacks that exploit this kind of access
Permanently removes a ScriptButton from a module by Id. It is categorised as a Destructive tool in the PyNet Bridge MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
Register the PyNet Bridge MCP server in PolicyLayer and add a rule for delete_script_button: 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 PyNet Bridge. Nothing to install.
delete_script_button is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the delete_script_button 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.
Set action: deny in the PolicyLayer policy for delete_script_button. 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.
delete_script_button is provided by the PyNet Bridge MCP server (rafael-nunezdearenas/pynetbridge). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
delete_script_button is one line of PyNet Bridge's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →