Skip to content

five-on-it / apps/creator/src/tools

apps/creator/src/tools ​

The tools a creation's model calls: the five-on-it MCP server (@foi/mcp) run in this process over the SDK's in-memory transport, acting as the job's own session, so the model has exactly the rights of that session (apps/api's JOB_ROUTES) and nothing more. Of its tools, those a creation's session may call (CREATION_TOOLS: all but the owner's own, publishing, rooms of published games, remixes and the list of drafts) are offered as functions in the chat-completions shape, and one more, read_resource, reads the guides (whole, or one section: foi://guide/<name>/<heading>), the bundled examples and one template's level spec schema (never the game document's 140 KB schema or the whole catalogue; a long text is cut at RESOURCE_CHARS).

Interfaces ​

Functions ​