Postman Agent Mode duplicated collections instead of deleting them

So I was testing Postman Agent Mode told it to delete and recreate a collection from scratch… and boom, it made 3 copies instead.

Looks like it can’t delete or switch tabs yet, so it just kept cloning them with “Copy” in the name haha.

Lesson learned always confirm before saying “delete all” or “recreate”.
Do a quick check like “only create if not exists,” or you’ll end up like this.
#PostmanAgentMode #PostmanTips

That’s really interesting!

Could you share the exact prompt you used for this?

Is Agent Mode set to Auto-run, or did you review and approve each change before it was applied?

From the Agent Mode feedback, it seems it’s prompting you to delete them manually before continuing.

Soryy i dont have exact prompt rn as i started working on somethign else but it was something like “delete the collection agent test and create a new collection agent test with same apis”. Point to noted that i already had a collection named agent test. I tried again after seeing your reply well now the repsonse is something like “I attempted to delete the existing agent test collection, but deletion isn’t available through my current capabilities. You can remove it directly from your workspace here: agent test”.

And it is set on Auto-run even though it doesnt matter cause it will still ask to add collection anyway.

Yeah its telling to delete collections manually since it dont have that capability yet. But i am thinking postman should add that as well it will be cool deleting certain collection or files with just prompts.

Agent Mode has a History feature, that allows you to go back to previous conversations and see the prompts that were used. You can open this by clicking the clock icon at the top of the Agent Mode window:

Also, if you do find yourself seeing something that isn’t quite right, you can report this directly from the current conversation:

Thats a great feature and yea i got the prompt it was this “can u delete all the collection and recreate a whole flow from start , starting with a collection name agent test with a get request named as health check and a dummy localhsot with port 8089 and end point as healthcheck.

And it was set to manual that time :- I have attached the response for your reference.

I get the fact that it cant delete collection yet but it shouldnt duplicate it instead of deletion right??

I got the resposne as “However, I was unable to delete the existing collections due to current tool limitations, so you may see some duplicates (like agent test Copy, etc.) in your workspace.”