tileset_set_tile_collision
Add a collision polygon to a tile on a TileSet physics layer and re-save. DESTRUCTIVE (writes a file) — gated by confirmation. Physics layers are created as needed. polygon is an array of [x, y] points (>= 3), tile-local pixels.
This record as markdown: /tools/godot-breakpoint-mcp/tileset-set-tile-collision.md
What tileset_set_tile_collision does on Godot Breakpoint
AI agents use tileset_set_tile_collision to create or update resources in Godot Breakpoint, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Godot Breakpoint environment.
Why tileset_set_tile_collision is rated Medium
While the description includes 'DESTRUCTIVE' in caps, the actual operation adds/modifies collision data on a tileset rather than irreversibly deleting or overwriting data. The file re-save is a side effect of modification, not deletion. The confirmation gate and reversible nature of adding collision polygons (which can be edited or removed) classify this as Write rather than Destructive.
From the tool's definition Tool description explicitly states it 'writes a file' and 'Add[s] a collision polygon to a tile on a TileSet physics layer and re-save.' The description also notes it is 'gated by confirmation,' indicating reversibility through normal Godot workflows.
Attacks that exploit this kind of access
The rule that runs tileset_set_tile_collision safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Godot Breakpoint, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For tileset_set_tile_collision, this is the rule to start with:
tileset_set_tile_collision stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Godot Breakpoint, apply this rule, and every tileset_set_tile_collision call is checked against it from then on.
Questions about tileset_set_tile_collision
Add a collision polygon to a tile on a TileSet physics layer and re-save. DESTRUCTIVE (writes a file) — gated by confirmation. Physics layers are created as needed. polygon is an array of [x, y] points (>= 3), tile-local pixels. It is categorised as a Write tool in the Godot Breakpoint MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Godot Breakpoint MCP server in PolicyLayer and add a rule for tileset_set_tile_collision: 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 Godot Breakpoint. Nothing to install.
tileset_set_tile_collision is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the tileset_set_tile_collision 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 tileset_set_tile_collision. 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.
tileset_set_tile_collision is provided by the Godot Breakpoint MCP server (jlivingston-Cipher/godot-breakpoint-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Godot Breakpoint, and thousands of servers like it.
This server
Across the catalogue