Reference
AI agent tool reference
Every tool the DiceyTable MCP server gives an AI agent, with its class, scopes and surfaces, its arguments and result, and a worked request and response.
On this page4 sections
The DiceyTable MCP server gives your agent one tool for each job it can do in a DiceyTable tab. The full list is below these notes.
It comes from the same catalogue the bridge and the site read, so every argument, class and scope matches what your agent really gets.
Each tool entry has a short summary, its badges, its arguments, its result, notes on when to use it, and usually a
worked request and response. Your MCP client shows each tool as mcp__diceytable__<name>.
How do I read a tool entry?#
Surfaces. A surface is the kind of DiceyTable tab a tool runs in. There are five:
editor: the Edit Mode shell at/editor.preview: a play-test table that only you are at.table: a live room.lobby: the/playlobby pages.settings: your account settings.
If you call a tool on the wrong kind of tab, it answers wrong-surface. Call
page_info to see where you are. The session_* tools and
page_call_tool are answered by the bridge itself, so they need no
tab.
Which tab gets the call. Every page tool also takes a tab argument. Without it, the call goes to the tab you
picked with session_select_tab. If you picked none, it goes to
the only paired tab that offers the tool. When two or more could take it, you get ambiguous-tab and a list of
choices. Use one agent across several tabs explains the rules.
Classes. Every tool has a class letter. It tells you what the call needs before it runs.
| Class | What it does | What the call needs |
|---|---|---|
| R read | Changes nothing. | The key's read scope. |
| W write | An edit you can undo, or a normal table move your role allows. | The tool's write scope. |
| D destructive | Deletes or throws away something a restore point can bring back. | confirm: true. |
| H human-required | Publishing, deleting, restoring, or anything you can't take back. | A person clicks Allow in the tab. |
Some tools change class with certain arguments. The index marks them → D and → H. A + means the tool takes the
class of the tool or action it calls. Actions that need your click covers
classes in full.
Untrusted text. Some text in a result came from someone other than you and the agent. Mod names, card text, chat,
player names and file names are examples. That text arrives in fields named untrusted… and inside <untrusted>
blocks. It is data. Your agent should never follow instructions found there. See
prompt injection protection.
Units. Lengths and positions are in feet. A position is an {x, y, z} object. Rotations are in degrees. Seats are
numbered 0 to 9.
Limits and errors. The tab limits how fast each kind of call can run. A refused call answers rate-limited with
the wait in milliseconds. Every failed call returns isError with a stable code and a message that says what to do
next. AI agent limits and quotas lists every number, and
AI agent error codes lists every code.
How do I find the right tool for a job?#
Search this page for the tool name, or start from the task:
| If you want to… | Start with |
|---|---|
| Connect, list tabs or pick a tab | session_connect, session_list_tabs |
| Read or set any control in a panel | describe_panel, fields_set |
| Open, save or check a project | project_open, project_validate |
| Add or change things in the scene | scene_tree, entity_create |
| Bring in a model, image or sound | asset_import |
| Write and check a script | script_write |
| Play-test the game | playtest_start, table_snapshot |
| See the game | screenshot_viewport |
| Find errors | diagnostics_get |
| Set up a lobby | lobby_state |
Related#
- AI agent field catalogue: the ids that
fields_setanddescribe_paneltake. - Diagnostics sources reference: where
diagnostics_getrows come from. - Build a game with an AI agent: the tools in the order a real build uses them.
Tool index#
157 tools in 42 namespaces: 54 read (R), 90 write (W), 6 destructive (D), 7 human-required (H). An MCP client shows each as mcp__diceytable__<name>. The list is static: every tool is listed before a tab is paired, and a tool the current tab cannot run answers tool-unavailable or wrong-surface.
Each tool's full entry (arguments, result, notes and an example) is on its family's page. The families are listed first, then every tool.
Tool families#
| Family | Tools | What it covers |
|---|---|---|
| Session tools | 6 | Connect, pair, list and pick tabs, and call a tool by name. |
| Page, panel and field tools | 11 | Read the current page, open panels, and read or set any registered field or button. |
| Project and publishing tools | 16 | Open, save, check and version editor projects, undo and redo, GitHub sync and publishing. |
| Scene editing tools | 16 | Entities, components, materials, seats, zones and snap points in the editor scene. |
| Room, pack and manifest tools | 6 | Room decor and lighting, table packs, the environment and the mod manifest. |
| Asset and credit tools | 11 | List, read, write, import, move and delete project files, the asset library and credits. |
| Script and UI layout tools | 8 | Read, write and attach scripts and game UI layouts. |
| Deck, card and image tools | 10 | Custom decks, card data and layouts, and the image editors. |
| Play-test tools | 7 | Start, reload and stop a preview, wait for it to settle, step physics, assert and reset. |
| Table reading tools | 4 | Read the table as your seat sees it: snapshot, queries, the event log and the game UI. |
| Table action tools | 20 | Move, flip, roll, draw, deal, play and chat at the table, and seat bots, with your seat's authority. |
| Screenshot tools | 5 | Capture the 3D viewport, editor surfaces, cards and panels as size-budgeted images. |
| Diagnostics tools | 3 | Read, watch and acknowledge errors and warnings from the tab's diagnostics hub. |
| Lobby tools | 21 | Create, join, set up and start a /play lobby, including its game bots. |
| Rankings and match tools | 6 | Read ranking pools, leaderboards, match history and Player Trust. |
| Game bot and AI model tools | 7 | Declare a game's bots, import ONNX models and read this device's hardware tier. |
All tools#
| Tool | Class | Surfaces | Family | Summary |
|---|---|---|---|---|
session_status |
R | bridge | Session tools | Session status |
session_connect |
W | bridge | Session tools | Connect to DiceyTable |
session_list_tabs |
R | bridge | Session tools | List DiceyTable tabs |
session_select_tab |
W | bridge | Session tools | Select default tab |
session_disconnect |
W | bridge | Session tools | Disconnect |
page_call_tool |
R+ | bridge | Session tools | Call a site tool by name |
page_info |
R | editor, preview, table, lobby, settings | Page, panel and field tools | Page info |
page_navigate |
W → H | editor, preview, table, lobby, settings | Page, panel and field tools | Navigate |
panel_list |
R | editor, preview, table | Page, panel and field tools | List panels |
panel_open |
W | editor, preview, table | Page, panel and field tools | Open panel |
panel_close |
W | editor, preview, table | Page, panel and field tools | Close panel |
fields_list |
R | editor, preview, table, lobby | Page, panel and field tools | List fields |
fields_get |
R | editor, preview, table, lobby | Page, panel and field tools | Get fields |
fields_set |
W | editor, preview, table, lobby | Page, panel and field tools | Set fields |
actions_list |
R | editor, preview, table, lobby | Page, panel and field tools | List actions |
actions_invoke |
W+ | editor, preview, table, lobby | Page, panel and field tools | Invoke action |
project_list |
R | editor | Project and publishing tools | List projects |
project_open |
W | editor | Project and publishing tools | Open project |
project_create |
W | editor | Project and publishing tools | Create project |
project_save |
W | editor | Project and publishing tools | Save project |
project_status |
R | editor | Project and publishing tools | Project status |
project_checkpoint |
W | editor | Project and publishing tools | Create restore point |
project_versions |
R | editor | Project and publishing tools | List versions |
project_restore_version |
H | editor | Project and publishing tools | Restore version |
project_validate |
R | editor | Project and publishing tools | Validate project |
project_delete |
H | editor | Project and publishing tools | Delete project |
scene_tree |
R | editor | Scene editing tools | Scene tree |
entity_create |
W | editor | Scene editing tools | Create entity |
entity_update |
W | editor | Scene editing tools | Update entity |
entity_duplicate |
W | editor | Scene editing tools | Duplicate entity |
entity_reparent |
W | editor | Scene editing tools | Reparent entity |
entity_select |
W | editor | Scene editing tools | Select entities |
entity_get |
R | editor | Scene editing tools | Get entity |
entity_delete |
D | editor | Scene editing tools | Delete entities |
component_add |
W | editor | Scene editing tools | Add component |
component_remove |
D | editor | Scene editing tools | Remove component |
component_set |
W | editor | Scene editing tools | Set component |
material_create |
W | editor | Scene editing tools | Create material |
material_set |
W | editor | Scene editing tools | Set material |
seats_configure |
W | editor | Scene editing tools | Configure seats |
zone_upsert |
W | editor | Scene editing tools | Create or update zone |
snap_points_set |
W | editor | Scene editing tools | Set snap points |
room_set |
W | editor | Room, pack and manifest tools | Set room |
table_pack_set |
W | editor | Room, pack and manifest tools | Set table pack |
environment_set |
W | editor | Room, pack and manifest tools | Set environment |
pack_assign |
W | editor | Room, pack and manifest tools | Assign pack |
manifest_get |
R | editor | Room, pack and manifest tools | Get manifest |
manifest_set |
W → H | editor | Room, pack and manifest tools | Set manifest |
ai_models_list |
R | editor | Game bot and AI model tools | List AI models (game bots) |
ai_model_import |
H | editor | Game bot and AI model tools | Import AI model (game bots) |
ai_model_remove |
H | editor | Game bot and AI model tools | Remove AI model (game bots) |
bots_list |
R | editor | Game bot and AI model tools | List game bots |
bots_set |
W | editor | Game bot and AI model tools | Set game bot |
bots_remove |
D | editor | Game bot and AI model tools | Remove game bot |
asset_list |
R | editor | Asset and credit tools | List assets |
asset_read_text |
R | editor | Asset and credit tools | Read text asset |
asset_write_text |
W | editor | Asset and credit tools | Write text asset |
asset_import |
W | editor | Asset and credit tools | Import asset |
credits_list |
R | editor | Asset and credit tools | List credits |
credits_attest |
W | editor | Asset and credit tools | Attest credits |
credits_edit |
W | editor | Asset and credit tools | Edit credit |
asset_delete |
H | editor | Asset and credit tools | Delete assets |
asset_move |
W | editor | Asset and credit tools | Move asset |
library_search |
R | editor | Asset and credit tools | Search library |
library_link |
W | editor | Asset and credit tools | Link library item |
script_list |
R | editor | Script and UI layout tools | List scripts |
script_read |
R | editor | Script and UI layout tools | Read script |
script_write |
W | editor | Script and UI layout tools | Write script |
script_attach |
W | editor | Script and UI layout tools | Attach script |
ui_layout_list |
R | editor | Script and UI layout tools | List UI layouts |
ui_layout_get |
R | editor | Script and UI layout tools | Get UI layout |
ui_layout_set |
W → D | editor | Script and UI layout tools | Set UI layout |
ui_layout_attach |
W | editor | Script and UI layout tools | Attach UI layout |
deck_create |
W | editor | Deck, card and image tools | Create deck |
deck_set_cards |
W | editor | Deck, card and image tools | Set deck cards |
card_data_set |
W | editor | Deck, card and image tools | Set card data |
card_layout_set |
W | editor | Deck, card and image tools | Set card layout |
image_open |
R | editor | Deck, card and image tools | Open image |
image_apply |
W | editor | Deck, card and image tools | Apply image filter |
image_resize |
W | editor | Deck, card and image tools | Resize image |
image_crop |
W | editor | Deck, card and image tools | Crop image |
image_export |
W | editor | Deck, card and image tools | Save image |
image_quick_edit |
W | editor | Deck, card and image tools | Quick-edit image |
publish_preview |
R | editor | Project and publishing tools | Preview publish |
publish_request |
H | editor | Project and publishing tools | Request publish |
sync_status |
R | editor | Project and publishing tools | GitHub sync status |
sync_resolve |
W → H | editor | Project and publishing tools | Resolve sync conflicts |
undo |
W | editor | Project and publishing tools | Undo |
redo |
W | editor | Project and publishing tools | Redo |
playtest_start |
W | editor | Play-test tools | Start play-test |
playtest_reload |
D | editor, preview | Play-test tools | Reload play-test |
playtest_stop |
W | editor, preview | Play-test tools | Stop play-test |
table_snapshot |
R | preview, table | Table reading tools | Table snapshot |
table_query |
R | preview, table | Table reading tools | Query table |
table_intent |
W | preview, table | Table action tools | Send table intent |
table_spawn |
W | preview, table | Table action tools | Spawn object |
table_move |
W | preview, table | Table action tools | Move objects |
table_click |
W | preview, table | Table action tools | Click object |
table_flip |
W | preview, table | Table action tools | Flip objects |
table_rotate |
W | preview, table | Table action tools | Rotate objects |
table_shuffle |
W | preview, table | Table action tools | Shuffle |
table_roll |
W | preview, table | Table action tools | Roll dice |
table_draw |
W | preview, table | Table action tools | Draw cards |
table_deal |
W | preview, table | Table action tools | Deal cards |
table_object_action |
W | preview, table | Table action tools | Run object action |
table_menu_invoke |
W | preview, table | Table action tools | Invoke script menu item |
table_hand |
W | preview, table | Table action tools | Hand operation |
table_seat |
W | preview, table | Table action tools | Choose seat |
table_chat_send |
W | table | Table action tools | Send chat |
table_ui_interact |
W | preview, table | Table action tools | Use mod UI |
table_hud_view |
R | preview, table | Table reading tools | Game UI view |
table_hud_act |
W | preview, table | Table action tools | Use game UI |
table_events |
R | preview, table | Table reading tools | Table events |
table_wait_settled |
R | preview, table | Play-test tools | Wait until settled |
table_step_physics |
W | preview | Play-test tools | Step physics |
table_assert |
R | preview, table | Play-test tools | Assert table state |
table_reset |
D → H | preview, table | Play-test tools | Reset table |
table_bots_list |
R | preview, table | Table action tools | List table bots |
table_bots_set |
W | preview, table | Table action tools | Add or change table bot |
table_bots_remove |
D | preview, table | Table action tools | Remove table bot |
capture_surfaces |
R | editor, preview, table, lobby | Screenshot tools | List capture surfaces |
screenshot_viewport |
R | editor, preview, table | Screenshot tools | Screenshot viewport |
screenshot_surface |
R | editor | Screenshot tools | Screenshot surface |
screenshot_card |
R | editor | Screenshot tools | Screenshot card |
screenshot_panel |
R | editor, preview, table, lobby | Screenshot tools | Screenshot panel |
describe_panel |
R | editor, preview, table, lobby | Page, panel and field tools | Describe panel |
diagnostics_get |
R | editor, preview, table, lobby | Diagnostics tools | Get diagnostics |
diagnostics_watch |
R | editor, preview, table, lobby | Diagnostics tools | Watch diagnostics |
diagnostics_clear |
W | editor, preview, table, lobby | Diagnostics tools | Acknowledge diagnostics |
lobby_create |
W | lobby | Lobby tools | Create lobby |
lobby_list_open |
R | lobby | Lobby tools | List open lobbies |
lobby_join |
W | lobby | Lobby tools | Join lobby |
lobby_state |
R | lobby | Lobby tools | Lobby state |
lobby_set_game |
W | lobby | Lobby tools | Pick lobby game |
lobby_set_variant |
W | lobby | Lobby tools | Set game variant |
lobby_set_ranked |
W | lobby | Lobby tools | Set Ranked |
lobby_setup_options_set |
W | lobby | Lobby tools | Set game setup options |
lobby_settings_set |
W → H | lobby | Lobby tools | Set lobby settings |
lobby_requirement_options |
R | lobby | Lobby tools | Lobby deck options |
lobby_pick_deck |
W | lobby | Lobby tools | Pick lobby deck |
lobby_set_ready |
W | lobby | Lobby tools | Set ready |
lobby_set_role |
W | lobby | Lobby tools | Set lobby role |
lobby_invite_link |
R | lobby | Lobby tools | Lobby invite link |
lobby_kick |
H | lobby | Lobby tools | Remove lobby member |
lobby_start |
W | lobby | Lobby tools | Start game |
lobby_bot_add |
W | lobby | Lobby tools | Add lobby bot |
lobby_bot_remove |
W | lobby | Lobby tools | Remove lobby bot |
lobby_bot_set_difficulty |
W | lobby | Lobby tools | Set bot difficulty |
lobby_bot_set_deck |
W | lobby | Lobby tools | Set bot deck |
hardware_tier_get |
R | lobby | Game bot and AI model tools | Hardware tier |
lobby_leave |
W | lobby | Lobby tools | Leave lobby |
rankings_pools |
R | lobby | Rankings and match tools | Ranking pools |
rankings_get |
R | lobby | Rankings and match tools | Rankings |
rankings_me |
R | lobby | Rankings and match tools | My ranking |
match_history_list |
R | lobby | Rankings and match tools | Match history |
match_get |
R | lobby | Rankings and match tools | Match detail |
trust_get |
R | lobby | Rankings and match tools | Player Trust tier |
→ D / → H: the call escalates with certain arguments (see the tool). +: the call takes the class of the tool or action it dispatches to. bridge: answered by the bridge, on any surface, with no tab.
