i mean with database id real db i use mongodb
1) ask user about what he want (specific task ) schedule appoiment or remove one
2) create 3 tools (each tool for task [appoiment , cancel ,etc]
3 ) i found same problem so make another tool that get the name and return the info for (cancel tool)
4) the tool cancel work normal
but you put htis in assistant prompet
ask ai to use each one his correct place