
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Given the function $f(x)=\lambda \sin \omega x+\cos \omega x(\omega > 0)$, the distance between the adjacent symmetry axes of its graph is $\frac{\pi }{2}$, and the line $x=\frac{\pi }{6}$ is one of its symmetry axes.

(1) Find the value of the real number $\lambda$;

(2) Let the function $g(x)=f(x)+\cos (2x-\frac{2\pi }{3})$, find the range of $g(x)$ in the interval $-\frac{\pi }{3}\leq x\leq \frac{\pi }{6}$.

Present the answer in LaTex format: \boxed{Your answer}
user