Remove a single Drawing object by id
draw-removeRemoves a single Roblox Drawing overlay by integer id and clears its registry entry, so list-drawings stops reporting it while other overlays stay intact.
Instructions
Destroys one Drawing overlay created by draw-create: looks the handle up by its integer id in getgenv().__mcp_drawings, calls handle:Remove(), and clears the registry slot so list-drawings no longer reports it. Use it to clean up a single ESP element while leaving the rest of the overlay intact. Requires the Drawing table (type-guarded); the :Remove() call is pcall-guarded. If the id is unknown it returns { removed = false, error }; on an executor without it, it returns { error = "Drawing is not available in this executor." }. Returns { id, removed } or { error }. Signature: { id: number, threadContext: number?, timeoutMs: number? }. Phase: act; cost=medium; idempotency=contextual-write. Requires: active-client, explicit-mutation-approval. Capabilities: Drawing. Produces: structured-result. Verify with: list-drawings. Safety: MUTATING; changes executor drawing overlay state. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Integer id of the Drawing object to remove (as returned by draw-create / list-drawings). | |
| timeoutMs | No | Optional per-call deadline in milliseconds; omit it to use the tool or server default. | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |