Overview
Once you know which actions are available, you can submit them to the environment using thestep() method on the EnvironmentWrapper. This method also supports including reasoning logs with each action.
Submitting a simple action
Use thestep() method to submit an action:
Submitting a complex action
Complex actions require additional data, such as x,y coordinates:Including reasoning logs
Thestep() method accepts an optional reasoning parameter that allows you to include reasoning metadata with each action. This is useful for tracking your agent’s thought process in recordings.
thought: A description of why the action was chosenconfidence: A confidence score for the actionalternatives_considered: Other actions that were consideredreasoning_tokens: Token count from reasoning models
Checking the result
After submitting an action, check the returnedFrameDataRaw object:

