protocol#
Part of the scripting reference, written by the engine so it matches your frost. Start with your first game if you are new.
Use when inspecting or driving a running game through MCP or JSON-RPC, debugging a dark pixel, profiling, or testing agent edits.
Read, drive and inspect#
frost dev game.toml plays and exposes a local protocol port. frost serve game.toml serves JSON-RPC, one object per line on standard input/output; frost mcp game.toml serves the same catalogue as MCP tools. Join an editor's session with frost mcp --join-file PATH. A planning hand can read documentation without changing its game. Use the join file the editor supplies; tokens belong to that session.
frost protocol lists commands; frost protocol world.get describes one. frost reference protocol.world.get fetches the same declaration. Inside the editor: reference.read {name: "protocol.world.get"}. Script names and protocol names can differ: get is a script call, protocol.world.get is the protocol declaration.
Start with game.info, world.entities, world.components, world.get and script.state. input.set holds actions and game.step advances; game.seek replays the project's recording. frame.capture takes a picture; frame.at picks what is there. game.check checks files. game.snapshot and game.restore support trials. blame.on, blame.value and profile.steps explain writes and time. Fetch each declaration before using it: required fields, trust and limits are there.
Command names#
protocol.reference.readprotocol.reference.searchprotocol.game.infoprotocol.game.checkprotocol.game.stepprotocol.game.seekprotocol.game.timeprotocol.game.resetprotocol.game.snapshotprotocol.game.restoreprotocol.game.forgetprotocol.game.tryprotocol.tuning.setprotocol.input.setprotocol.input.keysprotocol.input.historyprotocol.stream.readprotocol.world.entitiesprotocol.world.getprotocol.world.boneprotocol.world.seriesprotocol.world.queryprotocol.world.setprotocol.world.spawnprotocol.world.moveprotocol.world.despawnprotocol.world.insertprotocol.world.removeprotocol.world.applyprotocol.world.componentsprotocol.world.checksumprotocol.change.testprotocol.copy.makeprotocol.copy.listprotocol.copy.dropprotocol.copy.landprotocol.copy.rebaseprotocol.copy.landedprotocol.copy.queueprotocol.copy.flushprotocol.copy.eventsprotocol.copy.claimprotocol.copy.diffprotocol.copy.parkprotocol.copy.giveprotocol.scene.loadprotocol.script.reloadprotocol.script.stateprotocol.save.listprotocol.save.setprotocol.project.addprotocol.project.removeprotocol.project.refsprotocol.project.renameprotocol.project.undoprotocol.project.redoprotocol.frame.captureprotocol.frame.atprotocol.frame.inprotocol.frame.viewprotocol.render.passesprotocol.events.readprotocol.events.sinceprotocol.physics.readprotocol.ground.atprotocol.ui.treeprotocol.ui.focusprotocol.blame.onprotocol.blame.valueprotocol.blame.entityprotocol.blame.goneprotocol.blame.pixelprotocol.audio.requestsprotocol.assets.fromprotocol.assets.sourcesprotocol.assets.cookedprotocol.assets.pictureprotocol.script.reloadsprotocol.debug.attachprotocol.debug.detachprotocol.debug.breakpointsprotocol.debug.pauseprotocol.debug.continueprotocol.debug.stepprotocol.debug.stateprotocol.debug.stackprotocol.debug.scopeprotocol.debug.expandprotocol.debug.evaluateprotocol.log.sinceprotocol.graph.usesprotocol.script.completeprotocol.profile.frameprotocol.profile.framesprotocol.profile.stepsprotocol.session.helloprotocol.session.handsprotocol.session.writesprotocol.session.modeprotocol.session.tokenprotocol.net.hostprotocol.net.joinprotocol.net.runprotocol.net.conditionprotocol.net.statusprotocol.net.desyncprotocol.net.leave
Generated from Coldwave 0.0.1 r289, 2026-11-30 by the binary itself: do not edit by hand.