public definitions() as ArrayList<Object>
Returns provider-ready tool definitions. Declarative registries return an independent validated copy; callers cannot mutate their retained schemas. The Object element type is explicit for declaration-only consumers and cold precompilation, as it is for the retained JSON definition storage.
wire = JSON.stringify(registry.definitions())