[ALIEN-464] update custom command triggering to handle functions inputs params