BUILD · /builder/javascript

registerTool() code generator

Generates the JavaScript that registers every tool through document.modelContext.registerTool(), with its input schema, annotations and exposedTo list, plus one AbortController that unregisters the whole set on logout or a route change. Nothing here is sent to a server: state lives in your browser and in the share link you generate.

Tools