maple.cmd.cli.env.step_env
- maple.cmd.cli.env.step_env(env_id: str = <typer.models.ArgumentInfo object>, action: str = <typer.models.OptionInfo object>, port: int = <typer.models.OptionInfo object>) None
Execute a single action step in the environment.
Sends an action to the environment and receives the resulting observation, reward, termination status, and truncation status. Used for manual stepping through episodes or testing environment responses.
- Parameters:
env_id – Identifier of the environment container.
action – JSON array string of action values to execute.
port – Daemon port number.