MCP tools
The built-in tools are configurable: enable or disable each one, edit its description, and edit the lookup facts. Your edits apply to the assistant. Below them, your own tools (three examples are preloaded) and how to connect over MCP.
The tools the assistant calls, plus a builder for your own. Three examples are preloaded so you can run one immediately.
- Run the built-in lookup with topic GST: the deterministic fact appears, including the SGD 1,000,000 threshold.
- Under Your tools, run the example gst_calculator with amount 100: it executes in the server-side QuickJS sandbox and returns the GST and total.
- Edit a built-in tool (toggle it, change the description, edit the lookup facts): the config rides along with every chat request, so the assistant honours it.
- Build your own with New tool. The Code (sandboxed) kind runs run(input) under a 1 second deadline and 32MB cap with no network or filesystem; paste while(true){} to watch the deadline stop it safely.
- Ask the assistant to use your tool by name, then expand the reply's step trace to watch the call.
- Connect any MCP client with the config in Connect via MCP at the bottom; the endpoint is /api/mcp.