Actually documentation from Toolbox’s documentation page will help AI to write the appropriate scripts for Toolbox.
Toolbox just runs our custom code as a literal so the parameters properties, instance and context are just values Bubble plugins use.
Properties stores user values (from plugin element values? properties.param1 etc
Plugins use instanceto store data across a plugin’s element while containing methods to call Bubble functions.
context contains data about the plugin element like current width, height etc.
So once your AI has some context of the different native plugin parameters and how to return values to bubble_fn_someJ2Belement it’ll be able to write scripts with no issues.