---
title: "Level Tools - s&box library"
description: "66 MCP tools for AI agents in the s&box editor: terrain, mesh, navmesh, prefabs, traces and collision rules, with undo."
canonical: "https://sbox.watch/libraries/arenula/leveltools/"
generated_at: "2026-11-27T13:31:25.180Z"
---

# Level Tools

66 MCP tools for AI agents in the s&box editor: terrain, mesh, navmesh, prefabs, traces and collision rules, with undo.

- Type: library
- Ident: arenula.leveltools
- Creator: arenula
- Canonical: https://sbox.watch/libraries/arenula/leveltools/
- Markdown: https://sbox.watch/libraries/arenula/leveltools/index.md
- sbox.game: https://sbox.game/arenula/leveltools/
- Generated: 2026-11-27T13:31:25.180Z

## Stats

- 24h momentum: +0
- Terry score: --
- Favorites: 0
- Upvotes: 0
- Downvotes: 0
- Updated: Nov 26, 2026
- Created: Nov 26, 2026
- Size: 170.6 KB
- Files: 17
- Tags: ai, editor, leveldesign, mcp, mesh, navmesh, prefab, terrain

## Description

Level Tools adds 66 tools to the s&box editor's built-in MCP server, so an AI agent connected to the editor can build levels with the engine's own systems.

- Terrain (18): create native Terrain, sculpt, stamp, noise, erosion, holes, material painting and blending, clutter, heightmap import and export.
- Mesh (26): editable MeshComponent geometry. Primitives, extrude, bevel, bridge, clip, split, thicken, dissolve, quad slice, face materials, texture alignment, vertex colour and blend.
- Navmesh (9): generate the whole navmesh or single tiles, agents, areas, links and path queries.
- Prefabs (6): create, list instances, per-property overrides, apply, revert and unlink.
- Traces (5): ray, sphere and box casts, batches and height grids, with tag filters.
- Collision rules (2): read and edit the project's collision matrix.

Why not run\_csharp?

Scene edits go through the editor's undo system, inputs are validated before anything changes (with errors that say what to do instead), and every tool has a typed, searchable schema.

Install

Add it with the Library Manager, then restart the editor. Agents find the tools with search\_tools and call them with call\_tool.

Tested engine build: 26.11.24a. If an engine update breaks the library's compile, the project stops hotloading until the library is updated or removed.

Source (MIT): github.com/Nyx000/level-tools
