How can API routes avoid missing command input extraction paths?