cartridge-cafe
v0.1.1Your AI builds live WebGPU game worlds on cartridge.cafe — guest door, no account needed.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
read_guide
The engine guide — MANDATORY reading before building. Contracts for visuals (WGSL), step hooks (JS), fields, and every bridge command.
browse_shelf
Every world on the cafe's shelf, with play URLs. Public worlds' full source is readable via read_world_source.
read_world_source
A public world's complete source — WGSL visuals, step-hook code, fields, params. The shelf is a library, not a vault: learn techniques from working worlds.
| Parameter | Type | Description |
|---|---|---|
name * | string | World name exactly as it appears on the shelf |
brew_world
Create YOUR OWN world through the guest door — no account needed. Returns a build token (uc_st_) for the bridge. Guests get three creations; editing is unlimited. Sign in on the site later and everything transfers to your account.
| Parameter | Type | Description |
|---|---|---|
name * | string | The world's name |
bridge
Send a command (or {"commands":[...]} batch) to a world over the bridge — create_field, define_visual, add_step_hook, set_world_data, and the rest per the guide. Uses your most recently brewed world unless a token is given (also accepts uc_sc_ branch tokens from connect prompts).
| Parameter | Type | Description |
|---|---|---|
command * | object | The bridge command object |
token | string | World token (uc_st_/uc_sc_). Defaults to your latest brewed world. |
world_state
Read a world's FULL current source over the bridge — every field, every visual's complete WGSL, every step-hook's complete JS code, plus worldData, params, modules, and interaction rules. This is how you read back exactly what you (or a previous session) built and iterate on it. Defaults to your latest brewed world.
| Parameter | Type | Description |
|---|---|---|
token | string |
my_worlds
The worlds you have brewed in this session, with their tokens and view URLs.