Almost all AnyLogic questions, even if they do not have any programming stated in the question itself, have a potential programming answer using either Java or the AnyLogic API. AnyLogic is 99% programming and questions about how to use the interface are extremely rare and not even worth addressing...
Now, your point might seem valid when you talk about visual interface... You might see screenshots that look very foreign to any non-AnyLogic user, and these screenshots look like an IDE that is not related to programming... but this is an argument from ignorance fallacy. If you don't understand AnyLogic and if AnyLogic doesn't look like any programming experience you have had before, it's probably not programming at all? That's nonsense, and it is proven by the fact that the very questions you showed as "problematic" are questions that actually require at least one line of Java programming:
Example 1 makes use of the AnyLogic API as roadNetworkDescriptor.size()
if this is not programming, what is it?
Example 2 has explicit Java, so I don't even know why you put it as an example to support your case... for instance agent.timeEnterExamRoom=time();
Example 3 could be answered by using enter.take(agent);
which is also programming and part of the AnyLogic API.
Now, is your problem having Java code placed in a screenshot, which is often done for AnyLogic questions? Or is there another problem? In AnyLogic it's sometimes annoying to write the code instead of showing screenshots, since there are so many sections in which Java code can be placed, and in a screenshot it looks more organized and easier to understand. Is there a rule in Stack Overflow that forbid us to do that? If there is, you should address that, and not the integrity of the tag.
I think you have a misconception on how AnyLogic works and what it represents and how things can be answered because you have a classical IDE/command line mindset. AnyLogic has visual aids, which is why you see screenshots with what might seem very strange for the typical programmer. But it's freaking programming.
The idea of using a different tag such as anylogic-api is an absolute tragedy, because beginner AnyLogic users, who are generally also beginners in java (and even advanced ones), have no idea about the difference between the AnyLogic API, and plain Java code, so you will just create unnecessary confusion. How can someone know if the solution requires the AnyLogic API or just plain Java? Also it has been RARELY the case, when the Java tag is used, that a non-AnyLogic user Java expert answers the question... probably less than 0.1% of the cases so using the Java tag along with the AnyLogic tag seems to be useless, even when the question is almost purely Java-based.
Now, if you really want to improve the tags then you can do what has been done with Excel, and then we can add to the AnyLogic tag something similar to the following information:
Only for questions on Java programming with AnyLogic or questions that you think would require programming to be solved. You may combine the AnyLogic tag with Java, Python, and other programming related tags and questions if applicable.
then you can leave the tag alone, and reassess next year
anylogic-api
.