Action Contextualization: Adaptive Task Planning and Action Tuning using Large Language Models