Designing how instructions, retrieved information, conversation history, tool definitions, and relevant memory are asse…