The problem was caused by wrong current directory. I should run idf.py command under project directory and not under C:\Espressif\frameworks\esp-idf-v5.4