# Protocol commands

The protocol is how a program talks to a running game: step it, press its keys, read and change its world, take a picture. The editor, the command line and AI agents all use these same commands, so anything you can do by hand a program can do too. Send them as JSON-RPC over standard streams or a local port (`frost serve`), or as MCP tools (`frost mcp`, where dots become underscores). This list is written by the engine: `frost protocol NAME` prints one command, and [the protocol](../concepts/protocol.md) explains the ideas.

| Group | Commands |
| --- | --- |
| reference | [`reference.read`](protocol/reference.md#referenceread), [`reference.search`](protocol/reference.md#referencesearch) |
| game | [`game.info`](protocol/game.md#gameinfo), [`game.check`](protocol/game.md#gamecheck), [`game.step`](protocol/game.md#gamestep), [`game.seek`](protocol/game.md#gameseek), [`game.time`](protocol/game.md#gametime), [`game.reset`](protocol/game.md#gamereset), [`game.snapshot`](protocol/game.md#gamesnapshot), [`game.restore`](protocol/game.md#gamerestore), [`game.forget`](protocol/game.md#gameforget), [`game.try`](protocol/game-2.md#gametry) |
| tuning | [`tuning.set`](protocol/tuning.md#tuningset) |
| input | [`input.set`](protocol/input.md#inputset), [`input.keys`](protocol/input.md#inputkeys), [`input.history`](protocol/input.md#inputhistory) |
| stream | [`stream.read`](protocol/stream.md#streamread) |
| world | [`world.entities`](protocol/world.md#worldentities), [`world.get`](protocol/world.md#worldget), [`world.bone`](protocol/world.md#worldbone), [`world.series`](protocol/world.md#worldseries), [`world.query`](protocol/world.md#worldquery), [`world.set`](protocol/world.md#worldset), [`world.spawn`](protocol/world.md#worldspawn), [`world.move`](protocol/world.md#worldmove), [`world.despawn`](protocol/world.md#worlddespawn), [`world.insert`](protocol/world.md#worldinsert), [`world.remove`](protocol/world.md#worldremove), [`world.apply`](protocol/world.md#worldapply), [`world.components`](protocol/world.md#worldcomponents), [`world.checksum`](protocol/world-2.md#worldchecksum) |
| change | [`change.test`](protocol/change.md#changetest) |
| copy | [`copy.make`](protocol/copy.md#copymake), [`copy.list`](protocol/copy.md#copylist), [`copy.drop`](protocol/copy.md#copydrop), [`copy.land`](protocol/copy.md#copyland), [`copy.rebase`](protocol/copy.md#copyrebase), [`copy.landed`](protocol/copy.md#copylanded), [`copy.queue`](protocol/copy.md#copyqueue), [`copy.flush`](protocol/copy-2.md#copyflush), [`copy.events`](protocol/copy-2.md#copyevents), [`copy.claim`](protocol/copy-2.md#copyclaim), [`copy.diff`](protocol/copy-2.md#copydiff), [`copy.park`](protocol/copy-2.md#copypark), [`copy.give`](protocol/copy-2.md#copygive) |
| scene | [`scene.load`](protocol/scene.md#sceneload) |
| script | [`script.reload`](protocol/script.md#scriptreload), [`script.state`](protocol/script.md#scriptstate), [`script.reloads`](protocol/script.md#scriptreloads), [`script.complete`](protocol/script.md#scriptcomplete) |
| save | [`save.list`](protocol/save.md#savelist), [`save.set`](protocol/save.md#saveset) |
| project | [`project.add`](protocol/project.md#projectadd), [`project.remove`](protocol/project.md#projectremove), [`project.refs`](protocol/project.md#projectrefs), [`project.rename`](protocol/project.md#projectrename), [`project.undo`](protocol/project.md#projectundo), [`project.redo`](protocol/project.md#projectredo) |
| frame | [`frame.capture`](protocol/frame.md#framecapture), [`frame.at`](protocol/frame.md#frameat), [`frame.in`](protocol/frame-2.md#framein), [`frame.view`](protocol/frame-2.md#frameview) |
| render | [`render.passes`](protocol/render.md#renderpasses) |
| events | [`events.read`](protocol/events.md#eventsread), [`events.since`](protocol/events.md#eventssince) |
| physics | [`physics.read`](protocol/physics.md#physicsread) |
| ground | [`ground.at`](protocol/ground.md#groundat) |
| ui | [`ui.tree`](protocol/ui.md#uitree), [`ui.focus`](protocol/ui.md#uifocus) |
| blame | [`blame.on`](protocol/blame.md#blameon), [`blame.value`](protocol/blame.md#blamevalue), [`blame.entity`](protocol/blame.md#blameentity), [`blame.gone`](protocol/blame.md#blamegone), [`blame.pixel`](protocol/blame.md#blamepixel) |
| audio | [`audio.requests`](protocol/audio.md#audiorequests) |
| assets | [`assets.from`](protocol/assets.md#assetsfrom), [`assets.sources`](protocol/assets.md#assetssources), [`assets.cooked`](protocol/assets.md#assetscooked), [`assets.picture`](protocol/assets.md#assetspicture) |
| debug | [`debug.attach`](protocol/debug.md#debugattach), [`debug.detach`](protocol/debug.md#debugdetach), [`debug.breakpoints`](protocol/debug.md#debugbreakpoints), [`debug.pause`](protocol/debug.md#debugpause), [`debug.continue`](protocol/debug.md#debugcontinue), [`debug.step`](protocol/debug.md#debugstep), [`debug.state`](protocol/debug-2.md#debugstate), [`debug.stack`](protocol/debug-2.md#debugstack), [`debug.scope`](protocol/debug-2.md#debugscope), [`debug.expand`](protocol/debug-2.md#debugexpand), [`debug.evaluate`](protocol/debug-2.md#debugevaluate) |
| log | [`log.since`](protocol/log.md#logsince) |
| graph | [`graph.uses`](protocol/graph.md#graphuses) |
| profile | [`profile.frame`](protocol/profile.md#profileframe), [`profile.frames`](protocol/profile.md#profileframes), [`profile.steps`](protocol/profile.md#profilesteps) |
| session | [`session.hello`](protocol/session.md#sessionhello), [`session.hands`](protocol/session.md#sessionhands), [`session.writes`](protocol/session.md#sessionwrites), [`session.mode`](protocol/session.md#sessionmode), [`session.token`](protocol/session.md#sessiontoken) |
| net | [`net.host`](protocol/net.md#nethost), [`net.join`](protocol/net.md#netjoin), [`net.run`](protocol/net.md#netrun), [`net.condition`](protocol/net-2.md#netcondition), [`net.status`](protocol/net-2.md#netstatus), [`net.desync`](protocol/net-2.md#netdesync), [`net.leave`](protocol/net-2.md#netleave) |
