Skip to content
Axiom/Docs
Reference / Capabilities

Capabilities

16 capabilities, 61 calls, 6 with a bulk form. A mod names the ones it needs in its manifest, and a call it did not declare does not exist for it: the import is absent from its instance. This page is generated from idl/axiom.idl, as last changed on 2026-10-21.

entity.query@15 calls, 3 bulk

Which entities are alive, by kind or near a point, as handles that go stale when their slot is reused.

entity.transform@16 calls, 2 bulk

Where an entity is: its position, rotation and scale, read one at a time or in bulk, and its position written where the game allows it.

requires entity.query@1
frame@13 calls

The current frame: its index, the time since the last one, and how stale the answers in it are.

camera@16 calls

The view, as the game has it this frame. Answered by a pack: which matrix is the camera is not a property of a runtime, so no backend can supply it.

project@11 call

A world point in screen pixels. The one most mods want, run host-side so a matrix convention never reaches a mod. Answered by a pack, because it is the camera that makes it answerable.

requires camera@1
memory.read@13 calls, 1 bulk

Reading bytes at an address in the game, for packs. A mod never sees it.

PACKS ONLY
ui.overlay@111 calls

The retained widget tree. A mod describes a panel, the host keeps it and renders it every frame without asking again, and what crosses the boundary is the diff rather than the draw calls.

input.observe@14 calls

Key and pointer state, and binding a hotkey the overlay lets the user rebind.

config@13 calls

A mod's own config values, declared in its manifest and drawn by the host.

symbols@14 calls

Resolving a name, a pattern, a field offset or a type size through the pack.

PACKS ONLY
hook@13 calls

Subscribing to a game function by name, with a priority. The core owns the detour.

NEEDS A GRANT
fs@13 calls

Files inside the mod's own directory.

fs.any@12 calls

Files anywhere the user has allowed.

NEEDS A GRANT
assets.redirect@12 calls

Pointing an asset load somewhere else.

net@12 calls

Outbound requests to hosts named in the manifest and shown on the install prompt.

NEEDS A GRANT
memory.write@13 calls

Writing, allocating and protecting memory in a named address space.

PACKS ONLYNEEDS A GRANT
Packs only, and needs a grant
A capability for packs takes an address, which a call a mod can see may never carry, so a mod importing one is refused before it runs. A capability that needs a grant is never granted automatically: the person has to allow it for that mod. The install prompt that asks is not built yet. See the guest ABI for how a call crosses.