Tool tree
gradeNot graded
editorGetStateAnswer
Get the level editor's current state: metadata, piece/object/steel counts, selection, undo/redo availability, and the current validation error (if any).
View tool JSON
{
"name": "editorGetState",
"kind": "answer",
"impl": "imperative",
"description": "Get the level editor's current state: metadata, piece/object/steel counts, selection, undo/redo availability, and the current validation error (if any).",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}editorListPlacedPiecesAction
List every placed terrain piece, object piece, and steel area in the current level, with their uids/positions — use these uids with editorSelect*/editorDeleteSelected* tools.
View tool JSON
{
"name": "editorListPlacedPieces",
"kind": "act",
"impl": "imperative",
"description": "List every placed terrain piece, object piece, and steel area in the current level, with their uids/positions — use these uids with editorSelect*/editorDeleteSelected* tools.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}editorListTerrainCatalogAction
List the terrain piece ids available to place for the current pack/style, with their pixel dimensions.
View tool JSON
{
"name": "editorListTerrainCatalog",
"kind": "act",
"impl": "imperative",
"description": "List the terrain piece ids available to place for the current pack/style, with their pixel dimensions.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}editorListObjectCatalogAction
List the object ids (exits, traps, hazards, decorations) available to place for the current pack/style, with their pixel dimensions.
View tool JSON
{
"name": "editorListObjectCatalog",
"kind": "act",
"impl": "imperative",
"description": "List the object ids (exits, traps, hazards, decorations) available to place for the current pack/style, with their pixel dimensions.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}editorListSavedLevelsAnswer
List custom levels saved in this browser (id, title, timestamps).
View tool JSON
{
"name": "editorListSavedLevels",
"kind": "answer",
"impl": "imperative",
"description": "List custom levels saved in this browser (id, title, timestamps).",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}editorNewLevelAction
Start a brand-new blank level in the editor, discarding the current one (does not delete anything already saved).
View tool JSON
{
"name": "editorNewLevel",
"kind": "act",
"impl": "imperative",
"description": "Start a brand-new blank level in the editor, discarding the current one (does not delete anything already saved).",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}editorLoadLevelAction
Load a previously-saved custom level into the editor, by id or by exact title.
View tool JSON
{
"name": "editorLoadLevel",
"kind": "act",
"impl": "imperative",
"description": "Load a previously-saved custom level into the editor, by id or by exact title.",
"inputSchema": {
"type": "object",
"properties": {
"idOrTitle": {
"type": "string"
}
},
"required": [
"idOrTitle"
]
},
"page": "/lemmings/"
}editorDeleteSavedLevelSensitive Action
Permanently delete a saved custom level, by id or by exact title.
View tool JSON
{
"name": "editorDeleteSavedLevel",
"kind": "transact",
"impl": "imperative",
"description": "Permanently delete a saved custom level, by id or by exact title.",
"inputSchema": {
"type": "object",
"properties": {
"idOrTitle": {
"type": "string"
}
},
"required": [
"idOrTitle"
]
},
"page": "/lemmings/"
}editorSetMetadataAction
Set any subset of the level's metadata fields: title, initLemmings, minReleaseRate, saveLemmings, playTimeSeconds, musicTrack (1-9), lemmingTypes (per-skill counts).
View tool JSON
{
"name": "editorSetMetadata",
"kind": "act",
"impl": "imperative",
"description": "Set any subset of the level's metadata fields: title, initLemmings, minReleaseRate, saveLemmings, playTimeSeconds, musicTrack (1-9), lemmingTypes (per-skill counts).",
"inputSchema": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"initLemmings": {
"type": "number"
},
"minReleaseRate": {
"type": "number"
},
"saveLemmings": {
"type": "number"
},
"playTimeSeconds": {
"type": "number"
},
"musicTrack": {
"type": "number"
},
"lemmingTypes": {
"type": "object",
"properties": {
"climb": {
"type": "number"
},
"float": {
"type": "number"
},
"explode": {
"type": "number"
},
"block": {
"type": "number"
},
"build": {
"type": "number"
},
"bash": {
"type": "number"
},
"mine": {
"type": "number"
},
"dig": {
"type": "number"
}
}
}
}
},
"page": "/lemmings/"
}editorSetPackAndStyleAction
Switch the level's graphics pack and/or style. Clears every placed terrain/object piece if either changes (a level uses one pack+style, like the original game) — undoable via editorUndo.
View tool JSON
{
"name": "editorSetPackAndStyle",
"kind": "act",
"impl": "imperative",
"description": "Switch the level's graphics pack and/or style. Clears every placed terrain/object piece if either changes (a level uses one pack+style, like the original game) — undoable via editorUndo.",
"inputSchema": {
"type": "object",
"properties": {
"pack": {
"type": "string",
"description": "A gamedataPacks.js pack key, or \"custom\" for an authored graphics pack."
},
"style": {
"description": "Numeric DOS style index, or (for pack:\"custom\") a saved graphics-pack record id."
}
}
},
"page": "/lemmings/"
}editorResizeGridWidthAction
Resize the level's grid width (160-2000 cells). Shrinking discards painted terrain past the new width, with no confirmation prompt.
View tool JSON
{
"name": "editorResizeGridWidth",
"kind": "act",
"impl": "imperative",
"description": "Resize the level's grid width (160-2000 cells). Shrinking discards painted terrain past the new width, with no confirmation prompt.",
"inputSchema": {
"type": "object",
"properties": {
"newWidth": {
"type": "number"
}
},
"required": [
"newWidth"
]
},
"page": "/lemmings/"
}editorPlaceTerrainPieceAction
Place a terrain piece (from editorListTerrainCatalog) centered at world pixel x,y.
View tool JSON
{
"name": "editorPlaceTerrainPiece",
"kind": "act",
"impl": "imperative",
"description": "Place a terrain piece (from editorListTerrainCatalog) centered at world pixel x,y.",
"inputSchema": {
"type": "object",
"properties": {
"pieceId": {},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"flipY": {
"type": "boolean"
},
"noOverwrite": {
"type": "boolean"
},
"erase": {
"type": "boolean"
}
},
"required": [
"pieceId",
"x",
"y"
]
},
"page": "/lemmings/"
}editorSelectTerrainPieceAction
Select (or, with uid omitted/null, deselect) a placed terrain piece by uid.
View tool JSON
{
"name": "editorSelectTerrainPiece",
"kind": "act",
"impl": "imperative",
"description": "Select (or, with uid omitted/null, deselect) a placed terrain piece by uid.",
"inputSchema": {
"type": "object",
"properties": {
"uid": {}
}
},
"page": "/lemmings/"
}editorDeleteSelectedTerrainPieceSensitive Action
Delete the currently-selected placed terrain piece.
View tool JSON
{
"name": "editorDeleteSelectedTerrainPiece",
"kind": "transact",
"impl": "imperative",
"description": "Delete the currently-selected placed terrain piece.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}editorPlaceObjectPieceAction
Place an object (from editorListObjectCatalog — exits, traps, hazards, decorations) centered at world pixel x,y.
View tool JSON
{
"name": "editorPlaceObjectPiece",
"kind": "act",
"impl": "imperative",
"description": "Place an object (from editorListObjectCatalog — exits, traps, hazards, decorations) centered at world pixel x,y.",
"inputSchema": {
"type": "object",
"properties": {
"objectId": {},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"flipY": {
"type": "boolean"
}
},
"required": [
"objectId",
"x",
"y"
]
},
"page": "/lemmings/"
}editorSelectObjectPieceAction
Select (or, with uid omitted/null, deselect) a placed object piece by uid.
View tool JSON
{
"name": "editorSelectObjectPiece",
"kind": "act",
"impl": "imperative",
"description": "Select (or, with uid omitted/null, deselect) a placed object piece by uid.",
"inputSchema": {
"type": "object",
"properties": {
"uid": {}
}
},
"page": "/lemmings/"
}editorDeleteSelectedObjectPieceSensitive Action
Delete the currently-selected placed object piece.
View tool JSON
{
"name": "editorDeleteSelectedObjectPiece",
"kind": "transact",
"impl": "imperative",
"description": "Delete the currently-selected placed object piece.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}editorPlaceSteelAreaAction
Place a rectangular indestructible steel area at world pixel x,y with the given width/height.
View tool JSON
{
"name": "editorPlaceSteelArea",
"kind": "act",
"impl": "imperative",
"description": "Place a rectangular indestructible steel area at world pixel x,y with the given width/height.",
"inputSchema": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
},
"required": [
"x",
"y",
"width",
"height"
]
},
"page": "/lemmings/"
}editorSelectSteelAreaAction
Select (or, with uid omitted/null, deselect) a placed steel area by uid.
View tool JSON
{
"name": "editorSelectSteelArea",
"kind": "act",
"impl": "imperative",
"description": "Select (or, with uid omitted/null, deselect) a placed steel area by uid.",
"inputSchema": {
"type": "object",
"properties": {
"uid": {}
}
},
"page": "/lemmings/"
}editorDeleteSelectedSteelAreaSensitive Action
Delete the currently-selected placed steel area.
View tool JSON
{
"name": "editorDeleteSelectedSteelArea",
"kind": "transact",
"impl": "imperative",
"description": "Delete the currently-selected placed steel area.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}editorNudgeSelectionAction
Move whichever of the currently-selected terrain piece/object/steel area by dx,dy pixels.
View tool JSON
{
"name": "editorNudgeSelection",
"kind": "act",
"impl": "imperative",
"description": "Move whichever of the currently-selected terrain piece/object/steel area by dx,dy pixels.",
"inputSchema": {
"type": "object",
"properties": {
"dx": {
"type": "number"
},
"dy": {
"type": "number"
}
},
"required": [
"dx",
"dy"
]
},
"page": "/lemmings/"
}editorDeleteSelectionSensitive Action
Delete whichever of the terrain piece/object/steel area is currently selected.
View tool JSON
{
"name": "editorDeleteSelection",
"kind": "transact",
"impl": "imperative",
"description": "Delete whichever of the terrain piece/object/steel area is currently selected.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}editorToggleEntranceAction
Add a manual entrance marker at world pixel x,y, or remove one already there (within a small hit radius).
View tool JSON
{
"name": "editorToggleEntrance",
"kind": "act",
"impl": "imperative",
"description": "Add a manual entrance marker at world pixel x,y, or remove one already there (within a small hit radius).",
"inputSchema": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"x",
"y"
]
},
"page": "/lemmings/"
}editorUndoAction
Undo the last placement/move/delete/resize/pack-or-style-switch action.
View tool JSON
{
"name": "editorUndo",
"kind": "act",
"impl": "imperative",
"description": "Undo the last placement/move/delete/resize/pack-or-style-switch action.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}editorRedoAction
Redo the last undone action.
View tool JSON
{
"name": "editorRedo",
"kind": "act",
"impl": "imperative",
"description": "Redo the last undone action.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}editorSaveLevelAction
Save the current level to this browser's custom-level storage (updates it in place if it was loaded from a saved level, otherwise creates a new one). Fails if the level has no entrance yet.
View tool JSON
{
"name": "editorSaveLevel",
"kind": "act",
"impl": "imperative",
"description": "Save the current level to this browser's custom-level storage (updates it in place if it was loaded from a saved level, otherwise creates a new one). Fails if the level has no entrance yet.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}editorPlaytestAction
Validate and playtest the current level — navigates to game.html?mode=playtest, ending the editor page. Fails without navigating if the level has no entrance yet.
View tool JSON
{
"name": "editorPlaytest",
"kind": "act",
"impl": "imperative",
"description": "Validate and playtest the current level — navigates to game.html?mode=playtest, ending the editor page. Fails without navigating if the level has no entrance yet.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}editorBackToMenuAction
Exit the editor back to the main menu, discarding any unsaved changes with no confirmation prompt.
View tool JSON
{
"name": "editorBackToMenu",
"kind": "act",
"impl": "imperative",
"description": "Exit the editor back to the main menu, discarding any unsaved changes with no confirmation prompt.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/lemmings/"
}