How do you build stateful tools that read/write to a database across multiple agent turns? | Tools | langchain Interview Questions | NextRound.in