Hey Jeroham!
With Patch 25.2.07, we are rolling out MCP Code Mode, which will enable Ed or any other LLM (see Connecting Claude to Nextworld’s MCP) to create and run scripts like this from inside the platform, which will be more efficient than needing to do an API request for each iteration. Keep an eye out for that and see if it helps you!
Otherwise, you’re right, that is not a supported feature today. If you are a Nextworld customer or partner, you can work with your system administrator to submit an official enhancement request with customer support. Include a link to this post in the support ticket. If you’re not a Nextworld customer, keep an eye on release notes. We’re always making improvements.