Map Delete
map_deleteRemove a campaign map, including its tokens and state, after switching to a different map. Deletion is permanent and DM-only.
Instructions
Delete a campaign map and its stored tokens and map state (DM only). Use map_list to inspect maps first; use map_switch to select another current map before deletion. Upstream rejects deletion of the current map with HTTP 400. Use token_delete to remove only one token instead of the entire map. Deletion is destructive and has no undo tool. Repeating leaves the map absent but may return a not-found error. Returns upstream {message} in data without a broadcast receipt; REST permission and resource errors retain upstream diagnostics. Returns {ok:true,data} on success; tool-body failures return {ok:false,error} with optional diagnostic data. Argument-schema errors are MCP errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_id | Yes | Map ID in the configured campaign to delete; must not be the current map. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||