protocol reference: fix code examples for variable_step input type